mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-30 01:06:00 -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:
@@ -100,7 +100,7 @@ main {
|
||||
|
||||
// cool link underlines via messy SCSS hacking (see ../abstracts/_functions)
|
||||
@each $theme, $map in themes.$themes {
|
||||
@at-root body.#{$theme} #{&} {
|
||||
@at-root html.#{$theme} #{&} {
|
||||
background-image: functions.underline-hack(map.get($map, "links"), map.get($map, "background-inner"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user