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