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 | |
| parent | 5881c9d162ff0df3c074842de6cf7b4df7d5f4b2 (diff) | |
| parent | cabeaaf322408782787df49e7adc45d3a01b5323 (diff) | |
Merge commit '9ab94cbce24dfd422ff6479ebf83cd12e99ec0e2' into master
Diffstat (limited to 'sysret.org/themes/tabi-lean/sass')
| -rw-r--r-- | sysret.org/themes/tabi-lean/sass/main.scss | 29 | ||||
| -rw-r--r-- | sysret.org/themes/tabi-lean/sass/parts/_header.scss | 2 | ||||
| -rw-r--r-- | sysret.org/themes/tabi-lean/sass/skins/posixlycorrect.scss | 40 |
3 files changed, 47 insertions, 24 deletions
diff --git a/sysret.org/themes/tabi-lean/sass/main.scss b/sysret.org/themes/tabi-lean/sass/main.scss index d1470ff..6433d2c 100644 --- a/sysret.org/themes/tabi-lean/sass/main.scss +++ b/sysret.org/themes/tabi-lean/sass/main.scss @@ -27,26 +27,9 @@ @use 'parts/_zola-error.scss'; @font-face { - src: local('Inter'), - url('fonts/Inter4.woff2') format("woff2"); - /* Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter). Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */ - font-family: 'Inter'; - font-display: swap; -} - -@font-face { - src: local('Source Serif'), - url('fonts/SourceSerif4Variable-Roman.ttf.woff2') format("woff2"); - /* Copyright 2014 - 2023 Adobe (http://www.adobe.com/), with Reserved Font Name ‘Source’.adobe.com/). Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */ - font-family: 'Source Serif'; - font-display: swap; -} - -@font-face { - src: local('Cascadia Code'), - url('fonts/CascadiaCode-SemiLight.woff2') format("woff2"); - /* Copyright 2019 - Present, Microsoft Corporation, with Reserved Font Name 'Cascadia Code'. Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */ - font-family: 'Cascadia Code'; + src: local('JetBrainsMono'), + url('fonts/JetBrainsMonoNLNerdFont-Regular.ttf') format("truetype"); + font-family: 'JetBrainsMono'; font-display: swap; } @@ -97,9 +80,9 @@ --small-layout-width: 200px; --paragraph-spacing: max(2.3vmin, 24px); - --sans-serif-font: 'Inter', Helvetica, Arial, sans-serif; - --serif-font: 'Source Serif', 'Georgia', serif; - --code-font: 'Cascadia Code'; + --sans-serif-font: 'JetBrainsMono', Helvetica, Arial, sans-serif; + --serif-font: 'JetBrainsMono', 'Georgia', serif; + --code-font: 'JetBrainsMono'; scrollbar-color: var(--primary-color) transparent; accent-color: var(--primary-color); diff --git a/sysret.org/themes/tabi-lean/sass/parts/_header.scss b/sysret.org/themes/tabi-lean/sass/parts/_header.scss index 414aa82..4640d1b 100644 --- a/sysret.org/themes/tabi-lean/sass/parts/_header.scss +++ b/sysret.org/themes/tabi-lean/sass/parts/_header.scss @@ -1,6 +1,6 @@ header { width: 100%; - font-family: 'Inter Subset', var(--sans-serif-font); + font-family: 'JetBrainsMono', var(--sans-serif-font); } .page-header { 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; +} |
