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/_alert.scss | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/assets/scss/partials/components/_alert.scss b/assets/scss/partials/components/_alert.scss
index 5612969..2c47f70 100644
--- a/assets/scss/partials/components/_alert.scss
+++ b/assets/scss/partials/components/_alert.scss
@@ -1,3 +1,5 @@
+@use 'modules/color_theme' as color;
+
.alert {
padding: 1rem;
border-style: solid;
@@ -5,8 +7,8 @@
border-width: 2px;
margin-top: 1rem;
- @include themed() {
- border-color: t('alert');
+ @include color.themed() {
+ border-color: color.t('alert');
}
&__indicator {
@@ -19,9 +21,9 @@
font-weight: 800;
margin-right: 0.75rem;
- @include themed() {
- color: t('accent');
- background-color: t('alert');
+ @include color.themed() {
+ color: color.t('accent');
+ background-color: color.t('alert');
}
}
}
--
Gitblit v1.10.0