From c10958c37231899841c5c429c816628402d7a762 Mon Sep 17 00:00:00 2001 From: hellekin Date: Wed, 6 Aug 2025 18:20:04 +0200 Subject: Upgrade SCSS to drop @import and prefer @use statements --- assets/scss/_txt.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'assets/scss/_txt.scss') 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; } } } -- cgit v1.2.3