mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(site): update linear icon (#27019)
This commit is contained in:
@@ -45,7 +45,7 @@ export const forDarkThemes: ExternalImageModeStyles = {
|
||||
|
||||
export const forLightThemes: ExternalImageModeStyles = {
|
||||
// darken icons a little to make sure they have good contrast with the background
|
||||
monochrome: { filter: "grayscale(100%) contrast(0%) brightness(70%)" },
|
||||
monochrome: { filter: "grayscale(100%) contrast(0%) brightness(40%)" },
|
||||
// do nothing to full-color icons
|
||||
fullcolor: undefined,
|
||||
// black on a dark background 🆘: invert, and then correct colors
|
||||
@@ -171,6 +171,7 @@ export const defaultParametersForBuiltinIcons = new Map<string, string>([
|
||||
["/icon/kasmvnc.svg", "whiteWithColor"],
|
||||
["/icon/kilo-code.svg", "blackWithColor"],
|
||||
["/icon/kiro.svg", "whiteWithColor"],
|
||||
["/icon/linear.svg", "monochrome"],
|
||||
["/icon/memory.svg", "monochrome"],
|
||||
["/icon/mux.svg", "monochrome"],
|
||||
["/icon/nexus-repository.svg", "blackWithColor"],
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<svg width="256" height="256" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_3_2)">
|
||||
<path d="M30.784 44.5867C42.7944 30.5877 57.6927 19.3541 74.4554 11.6577C91.2182 3.96128 109.448 -0.0156565 127.893 4.63209e-05C198.656 4.63209e-05 256 57.344 256 128.096C256 166.923 238.72 201.728 211.413 225.216L30.7947 44.5867H30.784ZM19.3813 60.0107L195.979 236.608C190.389 240.128 184.512 243.221 178.379 245.845L10.144 77.6214C12.7787 71.488 15.872 65.6 19.3813 60.0107ZM3.43467 97.7387L158.261 252.565C150.688 254.4 142.869 255.573 134.848 256L0 121.152C0.419464 113.258 1.56927 105.42 3.43467 97.7387ZM1.62133 149.6L106.4 254.389C80.2347 249.919 56.1019 237.438 37.3322 218.668C18.5624 199.898 6.08107 175.765 1.61067 149.6H1.62133Z" fill="#5E6AD2"/>
|
||||
<g clip-path="url(#clip0_45_2)">
|
||||
<path d="M3.13705 157.498C2.56745 155.07 5.4602 153.541 7.22378 155.304L100.696 248.776C102.459 250.54 100.93 253.432 98.5016 252.863C51.3318 241.798 14.2023 204.668 3.13705 157.498ZM0.00484185 120.036C-0.0403262 120.761 0.232355 121.469 0.746145 121.983L134.017 255.254C134.531 255.767 135.239 256.041 135.964 255.995C142.029 255.617 147.98 254.817 153.788 253.625C155.745 253.223 156.425 250.818 155.012 249.406L6.59443 100.988C5.18167 99.5753 2.77704 100.255 2.37511 102.212C1.18236 108.02 0.382607 113.971 0.00484185 120.036ZM10.78 76.0458C10.3538 77.0027 10.5709 78.1209 11.3116 78.8618L177.138 244.688C177.879 245.429 178.997 245.646 179.954 245.22C184.527 243.183 188.958 240.887 193.229 238.349C194.642 237.509 194.861 235.567 193.698 234.405L21.5953 62.3019C20.4328 61.1394 18.4908 61.3575 17.651 62.7709C15.1132 67.042 12.8166 71.4734 10.78 76.0458ZM32.4063 46.2694C31.4588 45.322 31.4002 43.8024 32.2929 42.8029C55.7555 16.5358 89.8852 0 127.877 0C198.637 0 256 57.3627 256 128.123C256 166.115 239.464 200.244 213.197 223.707C212.198 224.6 210.678 224.541 209.73 223.594L32.4063 46.2694Z" fill="white"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_3_2">
|
||||
<clipPath id="clip0_45_2">
|
||||
<rect width="256" height="256" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
|
||||
|
Before Width: | Height: | Size: 902 B After Width: | Height: | Size: 1.3 KiB |
Reference in New Issue
Block a user