From 045f865848cecf4ccc5d76696a538e01f792dcbf Mon Sep 17 00:00:00 2001 From: Vladimir Kidyaev Date: Sat, 1 Apr 2023 15:44:28 +0700 Subject: [PATCH] feat: add dark colorblind primer variables --- theme.css | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/theme.css b/theme.css index 9b92b45..7950e82 100644 --- a/theme.css +++ b/theme.css @@ -809,14 +809,20 @@ body { } body.colorblind_protan-deutan.theme-dark { - --color-red-rgb: 253, 172, 84; - --color-red: #fdac54; - --color-green-rgb: 165, 214, 255; - --color-green: #a3d6ff; - --color-orange: #fdac54; + --color-success-fg: #58a6ff; + --color-success-emphasis: #1f6feb; + --color-success-muted: rgba(56,139,253,0.4); + --color-success-subtle: rgba(56,139,253,0.15); - --color-btn-primary-bg: #1f6feb; - --color-btn-primary-hover-bg: #388bfd; + --color-severe-fg: #d47616; + --color-severe-emphasis: #b76100; + --color-severe-muted: rgba(212,118,22,0.4); + --color-severe-subtle: rgba(212,118,22,0.1); + + --color-danger-fg: #d47616; + --color-danger-emphasis: #b76100; + --color-danger-muted: rgba(212,118,22,0.4); + --color-danger-subtle: rgba(212,118,22,0.1); } body.colorblind_protan-deutan.theme-light {