Files
progcode/docs/design-system/proposals/contrast-proposal.json
huncode 12562baeb5
Build and deploy / deploy (push) Successful in 2m39s
Implement ProgCode identity and real shared reading UI kit
2026-10-27 15:19:49 +03:00

99 lines
2.3 KiB
JSON

{
"light body": {
"foreground": "#242521",
"background": "#f6f4ef",
"ratio": 14.03,
"method": "WCAG relative sRGB luminance"
},
"light secondary": {
"foreground": "#62665c",
"background": "#f6f4ef",
"ratio": 5.34,
"method": "WCAG relative sRGB luminance"
},
"light link": {
"foreground": "#a13e20",
"background": "#f6f4ef",
"ratio": 5.92,
"method": "WCAG relative sRGB luminance"
},
"light focus": {
"foreground": "#a13e20",
"background": "#fffefa",
"ratio": 6.45,
"method": "WCAG relative sRGB luminance"
},
"dark body": {
"foreground": "#eeeee5",
"background": "#1c211e",
"ratio": 14.0,
"method": "WCAG relative sRGB luminance"
},
"dark secondary": {
"foreground": "#b2b9ae",
"background": "#1c211e",
"ratio": 8.12,
"method": "WCAG relative sRGB luminance"
},
"dark link": {
"foreground": "#f1a17d",
"background": "#1c211e",
"ratio": 7.88,
"method": "WCAG relative sRGB luminance"
},
"dark focus": {
"foreground": "#f1a17d",
"background": "#252c27",
"ratio": 6.9,
"method": "WCAG relative sRGB luminance"
},
"light success": {
"foreground": "#276345",
"background": "#e6eee6",
"ratio": 6.0,
"method": "WCAG relative sRGB luminance"
},
"light error": {
"foreground": "#942f24",
"background": "#f6e6df",
"ratio": 6.43,
"method": "WCAG relative sRGB luminance"
},
"dark success": {
"foreground": "#b4dcbd",
"background": "#223a2b",
"ratio": 8.15,
"method": "WCAG relative sRGB luminance"
},
"dark error": {
"foreground": "#ffd0c1",
"background": "#4b2b25",
"ratio": 9.0,
"method": "WCAG relative sRGB luminance"
},
"light secondary on subtle": {
"foreground": "#62665c",
"background": "#eae7de",
"ratio": 4.75,
"method": "WCAG relative sRGB luminance"
},
"dark secondary on subtle": {
"foreground": "#b2b9ae",
"background": "#2c342e",
"ratio": 6.38,
"method": "WCAG relative sRGB luminance"
},
"light control boundary": {
"foreground": "#7d8577",
"background": "#fffefa",
"ratio": 3.79,
"method": "WCAG relative sRGB luminance"
},
"dark control boundary": {
"foreground": "#829184",
"background": "#252c27",
"ratio": 4.31,
"method": "WCAG relative sRGB luminance"
}
}