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/_main.scss | |
parent | c1d676f4a81d2bc5e29c2cb592862a36794ef711 (diff) | |
download | lesoiseaux.io-c10958c37231899841c5c429c816628402d7a762.tar.gz |
Upgrade SCSS to drop @import and prefer @use statements
Diffstat (limited to 'assets/scss/_main.scss')
-rw-r--r-- | assets/scss/_main.scss | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/assets/scss/_main.scss b/assets/scss/_main.scss index 335ccca..0193c56 100644 --- a/assets/scss/_main.scss +++ b/assets/scss/_main.scss @@ -1,3 +1,5 @@ +@use "variables"; + body > main { position: relative; @@ -10,7 +12,7 @@ body > main { > article { /* background: $bg-txt-ps-on; */ - background-color: $bg-main; + background-color: variables.$bg-main; margin: 0 auto; max-width: 60rem; min-height: calc(100vh - 24rem); @@ -25,7 +27,7 @@ article { p { font-size: 2rem; line-height: 1.25; - font-family: $serif; + font-family: variables.$serif; text-variant: italic; /* padding: 2rem 4rem; */ padding: 0rem 4rem; |