The personal finance app for everyone (by everyone)
Ruby
fix(design-system): bump --color-success for WCAG 1.4.11 contrast (#1838)
Guillem Arias Fauste04ba4dd28f48
diff --git a/app/assets/tailwind/sure-design-system/_generated.css b/app/assets/tailwind/sure-design-system/_generated.cssindex 105b788e41..8acbaaa4fd 100644--- a/app/assets/tailwind/sure-design-system/_generated.css+++ b/app/assets/tailwind/sure-design-system/_generated.css@@ -9,7 +9,7 @@--font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--color-white: #ffffff;--color-black: #0B0B0B;- --color-success: var(--color-green-600);+ --color-success: var(--color-green-700);--color-warning: var(--color-yellow-600);--color-destructive: var(--color-red-600);--color-info: var(--color-blue-600);@@ -197,7 +197,7 @@@layer base {[data-theme="dark"] {- --color-success: var(--color-green-500);+ --color-success: var(--color-green-400);--color-warning: var(--color-yellow-400);--color-destructive: var(--color-red-400);--color-info: var(--color-blue-500);diff --git a/design/tokens/sure.tokens.json b/design/tokens/sure.tokens.jsonindex 5d899749ba..8602a5a833 100644--- a/design/tokens/sure.tokens.json+++ b/design/tokens/sure.tokens.json@@ -18,7 +18,7 @@"white": { "$value": "#ffffff", "$type": "color" },"black": { "$value": "#0B0B0B", "$type": "color" },- "success": { "$value": "{color.green.600}", "$type": "color", "$extensions": { "sure.dark": "{color.green.500}" } },+ "success": { "$value": "{color.green.700}", "$type": "color", "$extensions": { "sure.dark": "{color.green.400}" } },"warning": { "$value": "{color.yellow.600}", "$type": "color", "$extensions": { "sure.dark": "{color.yellow.400}" } },"destructive": { "$value": "{color.red.600}", "$type": "color", "$extensions": { "sure.dark": "{color.red.400}" } },"info": { "$value": "{color.blue.600}", "$type": "color", "$extensions": { "sure.dark": "{color.blue.500}" } },