mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-18 14:25:32 -04:00
move light/dark class from <body>
to <html>
and inline restoration script to (hopefully) improve the white flashes
This commit is contained in:
@@ -200,7 +200,7 @@ div.layout-home {
|
||||
// Loop through $colors-home (see above)
|
||||
@each $id, $colors in $colors-home {
|
||||
@each $theme, $color in $colors {
|
||||
@at-root body.#{$theme} div.layout-home a##{$id} {
|
||||
@at-root html.#{$theme} div.layout-home a##{$id} {
|
||||
color: $color;
|
||||
background-image: functions.underline-hack($color, map.get(map.get(themes.$themes, $theme), "background-inner"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user