diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-09-17 21:14:39 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-09-17 21:14:39 -0600 |
| commit | 72cd172ae0f2adfa1b18904a80ae52fe84a508d7 (patch) | |
| tree | b28a858b1494274dee5fc1921450128450245076 /sysret.org/themes/tabi-lean/sass/skins | |
| parent | 5881c9d162ff0df3c074842de6cf7b4df7d5f4b2 (diff) | |
| parent | cabeaaf322408782787df49e7adc45d3a01b5323 (diff) | |
Merge commit '9ab94cbce24dfd422ff6479ebf83cd12e99ec0e2' into master
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; +} |
