Change the icon of open the nearest BUILD.gn

This commit is contained in:
Shuhei Takahashi 2025-12-22 15:47:23 +09:00
parent edf1db7826
commit efff330051
3 changed files with 140 additions and 1 deletions

View file

@ -0,0 +1,68 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="100%" viewBox="300 300 424 424" enable-background="new 0 0 1024 1024" xml:space="preserve">
<path fill="#cccccc" opacity="1.000000" stroke="none"
d="
M558.085571,471.006104
C558.120728,508.336090 558.218811,545.167847 558.180786,581.999512
C558.158875,603.240662 548.604431,618.582642 529.275513,627.672913
C523.895569,630.203064 518.159119,631.234375 512.292358,631.240173
C461.794464,631.289917 411.295959,631.397339 360.798767,631.202881
C337.284454,631.112366 317.070343,611.527039 316.878204,587.930115
C316.471100,537.935425 316.448517,487.932709 316.870972,437.938354
C317.072845,414.045166 337.558777,394.747284 361.339386,394.713348
C391.838135,394.669830 422.337097,394.672455 452.835846,394.726990
C479.051727,394.773865 498.214874,413.980347 498.391327,440.243317
C498.418213,444.240997 498.504608,448.239349 498.638519,452.234894
C498.742615,455.340607 497.331360,456.943665 494.217041,456.911560
C486.728180,456.834381 479.239899,456.685425 471.750946,456.635834
C468.887299,456.616852 467.999878,455.019379 468.001221,452.484253
C468.003479,448.318298 468.145325,444.143036 467.920410,439.988373
C467.454956,431.389496 461.359161,425.229736 452.732727,425.188904
C422.735046,425.046875 392.735931,425.044830 362.738190,425.177246
C353.378754,425.218567 347.269684,431.768402 347.154816,441.753967
C346.972748,457.584412 347.093323,473.418396 347.094879,489.250885
C347.097870,519.416138 347.106354,549.581421 347.116669,579.746704
C347.117126,581.079651 347.119843,582.414612 347.187042,583.745300
C347.726532,594.430969 353.990845,600.707825 364.714600,600.757751
C393.379303,600.891357 422.044830,600.857666 450.710052,600.868347
C469.542511,600.875366 488.375000,600.845398 507.207458,600.829102
C521.885742,600.816406 527.452026,594.557983 527.257568,579.914551
C526.983398,559.273132 527.495422,538.622681 527.473877,517.976257
C527.438416,484.003448 527.242981,450.030792 527.123901,416.058014
C527.118652,414.559601 527.129211,413.054626 527.256470,411.563263
C528.035278,402.441284 531.718811,397.325592 538.877991,395.349854
C547.670410,392.923431 556.634888,395.968201 561.441223,403.001251
C588.604614,442.749084 615.779236,482.489349 642.930969,522.245178
C653.736206,538.066223 664.489563,553.922791 675.278809,569.754822
C676.007324,570.823730 676.839661,571.821899 677.839783,573.137085
C679.365479,571.025757 678.789734,568.986145 678.791382,567.130371
C678.841797,511.966034 678.846497,456.801727 678.854309,401.637390
C678.855286,394.722321 678.884644,394.708588 685.826111,394.723022
C691.658997,394.735168 697.491943,394.670227 703.324890,394.653229
C709.413147,394.635498 709.903442,395.032593 709.915588,401.141998
C709.964783,425.974030 709.956177,450.806183 709.960815,475.638275
C709.969238,521.136108 709.982849,566.633911 709.969543,612.131714
C709.966370,623.080750 707.590088,627.858826 700.466858,629.834412
C691.808289,632.235901 680.079285,632.147949 673.912354,623.032410
C644.409180,579.422668 614.474182,536.105225 584.715881,492.667938
C577.088074,481.533905 569.555725,470.334473 561.946411,459.187653
C561.154907,458.028168 560.584351,456.549194 558.635254,455.997284
C557.541077,460.966248 558.401672,465.770416 558.085571,471.006104
z"/>
<path fill="#cccccc" opacity="1.000000" stroke="none"
d="
M469.861755,586.884094
C468.653320,585.984436 468.502380,585.025391 468.501862,583.996033
C468.493530,567.858032 468.383514,551.719299 468.511871,535.582397
C468.565002,528.902710 468.187897,528.261414 461.268860,528.253296
C445.112579,528.234314 428.954163,528.093933 412.801331,528.327942
C408.120544,528.395691 406.642334,526.770996 406.845673,522.242065
C407.136719,515.759949 406.992706,509.252014 406.848389,502.759216
C406.774841,499.451569 407.874451,497.886871 411.415619,497.895264
C434.899933,497.950897 458.386108,497.723450 481.868286,497.944794
C492.137787,498.041595 498.205353,504.353027 498.384888,514.758423
C498.775299,537.384399 499.386932,560.013245 498.455994,582.646484
C498.315338,586.066162 497.177521,587.409119 493.726196,587.313965
C485.905731,587.098267 478.078613,587.124695 469.861755,586.884094
z"/>
</svg>

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -0,0 +1,68 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="100%" viewBox="300 300 424 424" enable-background="new 0 0 1024 1024" xml:space="preserve">
<path fill="#333333" opacity="1.000000" stroke="none"
d="
M558.085571,471.006104
C558.120728,508.336090 558.218811,545.167847 558.180786,581.999512
C558.158875,603.240662 548.604431,618.582642 529.275513,627.672913
C523.895569,630.203064 518.159119,631.234375 512.292358,631.240173
C461.794464,631.289917 411.295959,631.397339 360.798767,631.202881
C337.284454,631.112366 317.070343,611.527039 316.878204,587.930115
C316.471100,537.935425 316.448517,487.932709 316.870972,437.938354
C317.072845,414.045166 337.558777,394.747284 361.339386,394.713348
C391.838135,394.669830 422.337097,394.672455 452.835846,394.726990
C479.051727,394.773865 498.214874,413.980347 498.391327,440.243317
C498.418213,444.240997 498.504608,448.239349 498.638519,452.234894
C498.742615,455.340607 497.331360,456.943665 494.217041,456.911560
C486.728180,456.834381 479.239899,456.685425 471.750946,456.635834
C468.887299,456.616852 467.999878,455.019379 468.001221,452.484253
C468.003479,448.318298 468.145325,444.143036 467.920410,439.988373
C467.454956,431.389496 461.359161,425.229736 452.732727,425.188904
C422.735046,425.046875 392.735931,425.044830 362.738190,425.177246
C353.378754,425.218567 347.269684,431.768402 347.154816,441.753967
C346.972748,457.584412 347.093323,473.418396 347.094879,489.250885
C347.097870,519.416138 347.106354,549.581421 347.116669,579.746704
C347.117126,581.079651 347.119843,582.414612 347.187042,583.745300
C347.726532,594.430969 353.990845,600.707825 364.714600,600.757751
C393.379303,600.891357 422.044830,600.857666 450.710052,600.868347
C469.542511,600.875366 488.375000,600.845398 507.207458,600.829102
C521.885742,600.816406 527.452026,594.557983 527.257568,579.914551
C526.983398,559.273132 527.495422,538.622681 527.473877,517.976257
C527.438416,484.003448 527.242981,450.030792 527.123901,416.058014
C527.118652,414.559601 527.129211,413.054626 527.256470,411.563263
C528.035278,402.441284 531.718811,397.325592 538.877991,395.349854
C547.670410,392.923431 556.634888,395.968201 561.441223,403.001251
C588.604614,442.749084 615.779236,482.489349 642.930969,522.245178
C653.736206,538.066223 664.489563,553.922791 675.278809,569.754822
C676.007324,570.823730 676.839661,571.821899 677.839783,573.137085
C679.365479,571.025757 678.789734,568.986145 678.791382,567.130371
C678.841797,511.966034 678.846497,456.801727 678.854309,401.637390
C678.855286,394.722321 678.884644,394.708588 685.826111,394.723022
C691.658997,394.735168 697.491943,394.670227 703.324890,394.653229
C709.413147,394.635498 709.903442,395.032593 709.915588,401.141998
C709.964783,425.974030 709.956177,450.806183 709.960815,475.638275
C709.969238,521.136108 709.982849,566.633911 709.969543,612.131714
C709.966370,623.080750 707.590088,627.858826 700.466858,629.834412
C691.808289,632.235901 680.079285,632.147949 673.912354,623.032410
C644.409180,579.422668 614.474182,536.105225 584.715881,492.667938
C577.088074,481.533905 569.555725,470.334473 561.946411,459.187653
C561.154907,458.028168 560.584351,456.549194 558.635254,455.997284
C557.541077,460.966248 558.401672,465.770416 558.085571,471.006104
z"/>
<path fill="#333333" opacity="1.000000" stroke="none"
d="
M469.861755,586.884094
C468.653320,585.984436 468.502380,585.025391 468.501862,583.996033
C468.493530,567.858032 468.383514,551.719299 468.511871,535.582397
C468.565002,528.902710 468.187897,528.261414 461.268860,528.253296
C445.112579,528.234314 428.954163,528.093933 412.801331,528.327942
C408.120544,528.395691 406.642334,526.770996 406.845673,522.242065
C407.136719,515.759949 406.992706,509.252014 406.848389,502.759216
C406.774841,499.451569 407.874451,497.886871 411.415619,497.895264
C434.899933,497.950897 458.386108,497.723450 481.868286,497.944794
C492.137787,498.041595 498.205353,504.353027 498.384888,514.758423
C498.775299,537.384399 499.386932,560.013245 498.455994,582.646484
C498.315338,586.066162 497.177521,587.409119 493.726196,587.313965
C485.905731,587.098267 478.078613,587.124695 469.861755,586.884094
z"/>
</svg>

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -25,7 +25,10 @@
"command": "gn.openBuildFile",
"title": "Open the nearest BUILD.gn",
"category": "GN",
"icon": "$(go-to-file)"
"icon": {
"light": "./icons/gn-light.svg",
"dark": "./icons/gn-dark.svg"
}
}
],
"menus": {