aboutsummaryrefslogtreecommitdiff
path: root/assets/scss/_txt.scss
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2025-08-06 18:20:04 +0200
committerhellekin <hellekin@cepheide.org>2025-08-06 18:20:04 +0200
commitc10958c37231899841c5c429c816628402d7a762 (patch)
tree238ab318348119e18257b1ecf7378ecd7d770af3 /assets/scss/_txt.scss
parentc1d676f4a81d2bc5e29c2cb592862a36794ef711 (diff)
downloadlesoiseaux.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.scss11
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;
}
}
}