diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-09-17 21:08:12 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-09-17 21:08:12 -0600 |
| commit | 427cf43452146d758bcc6f6f85701c933d3b69f2 (patch) | |
| tree | 850935b1cd60c56e7f0194adcd83a33fba653de4 /sass/skins/posixlycorrect.scss | |
| parent | a2ea06d513a5802964f8f0ef5795cec7e548ed7b (diff) | |
Squashed 'themes/tabi-lean/' changes from 95c8796..ddc5323
ddc5323 tabi: posixlycorrect: update skin to make links underlined
101a112 tabi: add posixlycorrect skin
072fd88 tabi: mention vpsfree, nixos, and rsync in the footer
b283e52 tabi: replace hack with jetbrains mono
f6930d3 make the header use hack
12c7257 rename theme to tabi-lean
efb4246 fonts: replace default fonts with Hack
git-subtree-dir: themes/tabi-lean
git-subtree-split: ddc5323846d86b120d7f7d2acd71986839ca1b4d
Diffstat (limited to 'sass/skins/posixlycorrect.scss')
| -rw-r--r-- | sass/skins/posixlycorrect.scss | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sass/skins/posixlycorrect.scss b/sass/skins/posixlycorrect.scss new file mode 100644 index 0000000..47b6c2c --- /dev/null +++ b/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; +} |
