diff --git a/theme.css b/theme.css index ef67955..5b67c79 100644 --- a/theme.css +++ b/theme.css @@ -3,7 +3,20 @@ name: GitHub theme settings id: id settings: + - + # Colorblind + + id: colorblind + title: Colorblind variants + type: heading + level: 1 + collapsed: true - + id: colorblind_protan-deutan + title: Protanopia & Deuteranopia + type: class-toggle + default: off + - # Callout Settings @@ -778,6 +791,28 @@ body { --kanban-options-btn: var(--background-primary-alt); } + +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-btn-primary-bg: #1f6feb; + --color-btn-primary-hover-bg: #388bfd; +} +body.colorblind_protan-deutan.theme-light { + --color-red-rgb: 179, 89, 0; + --color-red: #b35900; + --color-green-rgb: 33, 139, 255; + --color-green: #218bff; + --color-orange: #dd7815; + + --color-btn-primary-bg: #218bff; + --color-btn-primary-hover-bg: #0969da; +} + /* Tables */ .markdown-rendered td, .markdown-rendered th {