mirror of
https://github.com/krios2146/obsidian-theme-github.git
synced 2026-07-22 03:20:23 +00:00
parent
69cfd0546b
commit
3c980f7f68
1 changed files with 28 additions and 0 deletions
28
theme.css
28
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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue