aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/design-system/src/components/visual-components
diff options
context:
space:
mode:
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>2024-10-11 14:44:05 +0200
committersonartech <sonartech@sonarsource.com>2024-10-11 20:02:43 +0000
commitee37f5daf38a9d4a7a7825299f878c4cbc1589c1 (patch)
treeaff2c2ff5252819f91338a0f773b43cb3474720b /server/sonar-web/design-system/src/components/visual-components
parent440979d214213927ce1509fd8145edd3de5b0a0f (diff)
downloadsonarqube-ee37f5daf38a9d4a7a7825299f878c4cbc1589c1.tar.gz
sonarqube-ee37f5daf38a9d4a7a7825299f878c4cbc1589c1.zip
SONAR-23136 Accessibility - Replace old blueGrey[400] color code by new Echoes tokens
Diffstat (limited to 'server/sonar-web/design-system/src/components/visual-components')
-rw-r--r--server/sonar-web/design-system/src/components/visual-components/FishVisual.tsx6
-rw-r--r--server/sonar-web/design-system/src/components/visual-components/FlagVisual.tsx8
2 files changed, 7 insertions, 7 deletions
diff --git a/server/sonar-web/design-system/src/components/visual-components/FishVisual.tsx b/server/sonar-web/design-system/src/components/visual-components/FishVisual.tsx
index 89eb7240cf6..045f90d4590 100644
--- a/server/sonar-web/design-system/src/components/visual-components/FishVisual.tsx
+++ b/server/sonar-web/design-system/src/components/visual-components/FishVisual.tsx
@@ -47,13 +47,13 @@ export function FishVisual({ className }: Props) {
<path
clipRule="evenodd"
d="M26.371 19.118C13.431 33.093 5.526 51.785 5.526 72.328c0 25.124 11.826 47.485 30.228 61.828 13.287 10.356 29.995 16.525 48.152 16.525 43.288 0 78.379-35.08 78.379-78.353 0-20.543-7.905-39.235-20.845-53.21l3.691-3.416c13.767 14.868 22.184 34.767 22.184 56.626 0 46.051-37.344 83.382-83.41 83.382-19.315 0-37.104-6.567-51.244-17.588C13.091 122.868.496 99.068.496 72.328c0-21.86 8.418-41.758 22.184-56.626l3.691 3.416Z"
- fill={themeColor('illustrationOutline')({ theme })}
+ fill="var(--echoes-color-icon-subdued)"
fillRule="evenodd"
/>
<path
clipRule="evenodd"
d="m27.073 19.091-.338.364C13.877 33.343 6.023 51.916 6.023 72.328c0 24.964 11.75 47.184 30.036 61.436 13.203 10.291 29.805 16.42 47.847 16.42 43.014 0 77.883-34.858 77.883-77.856 0-20.413-7.855-38.986-20.713-52.873l-.337-.364L145.158 15l.337.364c13.849 14.956 22.317 34.975 22.317 56.964 0 46.325-37.567 83.879-83.906 83.879-19.43 0-37.326-6.607-51.55-17.693C12.669 123.17 0 99.227 0 72.328c0-21.99 8.468-42.008 22.316-56.964l.337-.364 4.42 4.091Zm-.702.027-.013.015C13.426 33.105 5.526 51.791 5.526 72.328c0 25.124 11.826 47.485 30.228 61.828 13.287 10.356 29.995 16.525 48.152 16.525 43.288 0 78.379-35.08 78.379-78.353 0-20.536-7.9-39.223-20.832-53.196a.18.18 0 0 0-.013-.014l3.691-3.416.014.015.322.35c13.568 14.828 21.848 34.58 21.848 56.26 0 46.052-37.344 83.383-83.41 83.383-19.315 0-37.104-6.567-51.244-17.588C13.091 122.868.496 99.068.496 72.328c0-21.68 8.28-41.433 21.848-56.261l.32-.347.016-.018 3.691 3.416Z"
- fill={themeColor('illustrationOutline')({ theme })}
+ fill="var(--echoes-color-icon-subdued)"
fillRule="evenodd"
/>
<path
@@ -81,7 +81,7 @@ export function FishVisual({ className }: Props) {
<path
clipRule="evenodd"
d="M115.047 107.823a1.78 1.78 0 1 1-3.301-1.332 1.78 1.78 0 0 1 3.301 1.332Zm-1.879 4.479a5.15 5.15 0 0 0 2.154-9.918 5.15 5.15 0 0 0-5.285 8.676l-1.572 3.898-8.012-3.231-1.26 3.123 8.012 3.232-6.841 16.96c-6.675-3.451-9.804-11.129-8.727-13.8l-2.842-1.147c-2.348 5.824 2.488 12.284 6.155 17.183 1.94 2.591 3.552 4.745 3.601 6.137.995-.964 3.62-1.374 6.785-1.869 6.029-.943 14.017-2.191 16.422-8.155l-2.842-1.146c-1.125 2.79-8.357 5.916-15.41 4.013l6.822-16.916 7.526 3.035 1.26-3.124-7.526-3.035 1.58-3.916Zm8.945 16.385-5.849 2.487 8.336 3.363-2.487-5.85ZM91.8 116.461l2.487 5.849-8.336-3.362 5.85-2.487Z"
- fill={themeColor('illustrationOutline')({ theme })}
+ fill="var(--echoes-color-icon-subdued)"
fillRule="evenodd"
/>
</g>
diff --git a/server/sonar-web/design-system/src/components/visual-components/FlagVisual.tsx b/server/sonar-web/design-system/src/components/visual-components/FlagVisual.tsx
index 1c4cda42755..fdf6064bfba 100644
--- a/server/sonar-web/design-system/src/components/visual-components/FlagVisual.tsx
+++ b/server/sonar-web/design-system/src/components/visual-components/FlagVisual.tsx
@@ -42,7 +42,7 @@ export function FlagVisual({ className }: Props) {
<path
clipRule="evenodd"
d="M18.34 162h38.32c-2.83-6.1-9.95-11-19.16-11s-16.33 4.9-19.16 11Zm-7.12 3.01C12.92 153.72 24.03 145 37.5 145s24.59 8.72 26.28 20.01c.24 1.64-1.12 2.99-2.78 2.99H14c-1.66 0-3.02-1.35-2.78-2.99Z"
- fill={themeColor('illustrationOutline')({ theme })}
+ fill="var(--echoes-color-icon-subdued)"
fillRule="evenodd"
/>
<path
@@ -52,19 +52,19 @@ export function FlagVisual({ className }: Props) {
<path
clipRule="evenodd"
d="M37.5 27a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13Zm0 6a12.5 12.5 0 1 0 0-25 12.5 12.5 0 0 0 0 25Z"
- fill={themeColor('illustrationOutline')({ theme })}
+ fill="var(--echoes-color-icon-subdued)"
fillRule="evenodd"
/>
<path
clipRule="evenodd"
d="M40 33.41h-5V144.6h5V33.4ZM29 27v124h17V27H29Z"
- fill={themeColor('illustrationOutline')({ theme })}
+ fill="var(--echoes-color-icon-subdued)"
fillRule="evenodd"
/>
<path
clipRule="evenodd"
d="M40 37h41.11v6H46v55h89.42a1 1 0 0 0 .88-1.46l-11.84-22.81a7 7 0 0 1 0-6.46l11.84-22.8a1 1 0 0 0-.88-1.47h-6.3v-6h6.3a7 7 0 0 1 6.2 10.23l-11.83 22.8a1 1 0 0 0 0 .93l11.84 22.81a7 7 0 0 1-6.21 10.23H40V37Z"
- fill={themeColor('illustrationOutline')({ theme })}
+ fill="var(--echoes-color-icon-subdued)"
fillRule="evenodd"
/>
<path