diff options
Diffstat (limited to 'sysret.org/themes/tabi-lean/sass/skins')
| -rw-r--r-- | sysret.org/themes/tabi-lean/sass/skins/posixlycorrect.scss | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sysret.org/themes/tabi-lean/sass/skins/posixlycorrect.scss b/sysret.org/themes/tabi-lean/sass/skins/posixlycorrect.scss new file mode 100644 index 0000000..47b6c2c --- /dev/null +++ b/sysret.org/themes/tabi-lean/sass/skins/posixlycorrect.scss @@ -0,0 +1,40 @@ +/* general */ + + +/* theme */ +@mixin theme-variables($theme) { + @if $theme =='light' { + --primary-color: #FC9300; + --background-color: #131a21; + } + @else if $theme == 'dark' { + --primary-color: #FC9300; + --background-color: #131a21; + } +} + +:root { + @include theme-variables('light'); +} + +[data-theme='dark'] { + @include theme-variables('dark'); +} + +@media (prefers-color-scheme: dark) { + :root:not([data-theme='light']) { + @include theme-variables('dark'); + } +} + + +/* header */ +.home-title { + background-color: var(--primary-color); + color: var(--background-color); + padding: 0.12rem; +} + +.nav-links { + text-decoration: underline; +} |
