style: underline links in two-color schemes
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
@use "sass:map";
|
||||
|
||||
:root {
|
||||
--color-theme-background: #f4f4f4;
|
||||
--color-theme-foreground: #3e3e3e;
|
||||
@@ -113,5 +115,9 @@ $color-schemes: (
|
||||
@each $role, $color in $scheme-colors {
|
||||
--color-theme-#{$role}: #{$color};
|
||||
}
|
||||
|
||||
@if map.get($scheme-colors, "foreground") == map.get($scheme-colors, "accent") {
|
||||
--text-decoration-theme-post-link: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user