diff options
author | hellekin <hellekin@cepheide.org> | 2025-08-06 18:20:04 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2025-08-06 18:20:04 +0200 |
commit | c10958c37231899841c5c429c816628402d7a762 (patch) | |
tree | 238ab318348119e18257b1ecf7378ecd7d770af3 /assets/scss/_txt.scss | |
parent | c1d676f4a81d2bc5e29c2cb592862a36794ef711 (diff) | |
download | lesoiseaux.io-c10958c37231899841c5c429c816628402d7a762.tar.gz |
Upgrade SCSS to drop @import and prefer @use statements
Diffstat (limited to 'assets/scss/_txt.scss')
-rw-r--r-- | assets/scss/_txt.scss | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/assets/scss/_txt.scss b/assets/scss/_txt.scss index 5b5393a..f50d46a 100644 --- a/assets/scss/_txt.scss +++ b/assets/scss/_txt.scss @@ -1,13 +1,16 @@ +@use "sass:meta"; +@use "variables"; + body.txt { - background-color: $bg-txt-on; + background-color: variables.$bg-txt-on; - @import 'header-nav'; + @include meta.load-css('header-nav'); > aside { &:hover, &:focus { - background-color: $bg-txt-on; + background-color: variables.$bg-txt-on; nav ul li:nth-child(2) { - background: $bg-txt-on; + background: variables.$bg-txt-on; } } } |