From acb0c1788976af1601ac300b9206e1c898a29d5b Mon Sep 17 00:00:00 2001
From: Andreas Deininger <andreas@deininger.net>
Date: Sat, 07 Jun 2025 12:57:26 +0000
Subject: [PATCH] chore: migrate libsass to dartsass (#562)
---
assets/scss/partials/components/_wrapper.scss | 30 +++++++++++++++++-------------
1 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/assets/scss/partials/components/_wrapper.scss b/assets/scss/partials/components/_wrapper.scss
index 76aba41..6a24f8c 100644
--- a/assets/scss/partials/components/_wrapper.scss
+++ b/assets/scss/partials/components/_wrapper.scss
@@ -1,36 +1,40 @@
+@use 'hugo:vars' as hugo;
+@use 'modules/config' as conf;
+@use 'modules/variables' as var;
+
.wrapper {
display: flex;
flex-direction: column;
- @include desktop {
+ @include conf.desktop {
flex-direction: row;
}
- @include widescreen {
+ @include conf.widescreen {
justify-content: center;
}
&__main {
width: 100%;
- @include desktop {
- width: $content-ratio;
+ @include conf.desktop {
+ width: hugo.$content-ratio;
}
- @include widescreen {
- width: $content-ratio-wide;
+ @include conf.widescreen {
+ width: hugo.$content-ratio-wide;
}
&--fullscreen {
margin-top: 20px;
- @include desktop {
+ @include conf.desktop {
width: 100%;
margin-top: 0px;
}
- @include widescreen {
- width: $body-max-width;
+ @include conf.widescreen {
+ width: var.$body-max-width;
}
}
}
@@ -39,13 +43,13 @@
width: 100%;
padding: 16px 0;
- @include desktop {
- width: $sidebar_ratio;
+ @include conf.desktop {
+ width: hugo.$sidebar_ratio;
padding: 0;
}
- @include widescreen {
- width: $sidebar_ratio_wide;
+ @include conf.widescreen {
+ width: hugo.$sidebar_ratio_wide;
}
&--hidden {
--
Gitblit v1.10.0