summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-02-20 11:14:57 +0800
committereltrac <hi@eltr.ac>2026-02-20 11:14:57 +0800
commit2dce7ac020cd32afb71066fa7f5f29a2b90dabbe (patch)
tree75ba6a4e4f56745eb7fb4b8031f9400eaf12062d
parentf741064d281c91a132a87dba5d14751b145e8b02 (diff)
refactor: remove SASS variables
-rw-r--r--assets/css/_markdown.scss12
1 files changed, 3 insertions, 9 deletions
diff --git a/assets/css/_markdown.scss b/assets/css/_markdown.scss
index 82269dac..26793545 100644
--- a/assets/css/_markdown.scss
+++ b/assets/css/_markdown.scss
@@ -1,9 +1,3 @@
-// Variables (can be moved to a separate variables file if needed)
-$link-color: var(--link-color);
-$secondary-text-color: var(--secondary-text-color);
-$border-color: var(--border-color);
-$block-background-color: var(--block-background-color);
-
.markdown-body {
max-width: 100%;
@@ -69,13 +63,13 @@ $block-background-color: var(--block-background-color);
text-decoration-style: wavy;
text-decoration-thickness: 1px;
text-underline-offset: 0.25em;
- text-decoration-color: $border-color;
- color: $link-color;
+ text-decoration-color: var(--border-color);
+ color: var(--link-color);
// link hover effects
transition: text-decoration-color 0.1s ease-in-out;
&:hover {
- text-decoration-color: $secondary-text-color;
+ text-decoration-color: var(--secondary-text-color);
}
// icons with pseudo-elements