diff --git a/theme.css b/theme.css index 5b67c79..c086731 100644 --- a/theme.css +++ b/theme.css @@ -16,6 +16,11 @@ settings: title: Protanopia & Deuteranopia type: class-toggle default: off + - + id: colorblind_tritan + title: Tritanopia + type: class-toggle + default: off - # Callout Settings @@ -813,6 +818,29 @@ body.colorblind_protan-deutan.theme-light { --color-btn-primary-hover-bg: #0969da; } +body.colorblind_tritan.theme-dark { + --color-green-rgb: 165, 214, 255; + --color-green: #a5d6ff; + --color-orange: #ffa198; + + --text-highlight-bg: rgba(255, 0, 0, 0.4); + --text-highlight-bg-active: rgba(255, 50, 0, 0.4); + + --color-btn-primary-bg: #1f6feb; + --color-btn-primary-hover-bg: #388bfd; +} +body.colorblind_tritan.theme-light { + --color-green-rgb: 12, 181, 79; + --color-green: #218bff; + --color-orange: #fa4549; + + --text-highlight-bg: rgba(255, 0, 0, 0.4); + --text-highlight-bg-active: rgba(255, 50, 0, 0.4); + + --color-btn-primary-bg: #218bff; + --color-btn-primary-hover-bg: #0969da; +} + /* Tables */ .markdown-rendered td, .markdown-rendered th {