1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-18 14:45:32 -04:00

move dark mode code from module back to here for now

This commit is contained in:
2021-12-01 14:43:22 -05:00
parent a3c2bbcab0
commit 6f6de426da
9 changed files with 106 additions and 70 deletions

View File

@@ -99,13 +99,11 @@ main {
background-repeat: no-repeat;
background-size: 0% settings.$link-underline-size;
padding-bottom: settings.$link-underline-size;
transition: background-size 0.25s ease-in-out;
@include themes.themed(
$properties: (
(
color: "links",
),
$moreTransitions: (
background-size 0.25s ease-in-out,
)
);

View File

@@ -133,9 +133,6 @@ body.light {
:not(pre) > code {
background-color: #fbfbfb;
border-color: #d5d5d5;
// TODO: apply this consistently via themed() mixin like everywhere else
transition: color 0.15s linear, background-color 0.15s linear, border-color 0.15s linear;
}
div.highlight,
@@ -224,9 +221,6 @@ body.dark {
:not(pre) > code {
background-color: #252525;
border-color: #535353;
// TODO: apply this consistently via themed() mixin like everywhere else
transition: color 0.15s linear, background-color 0.15s linear, border-color 0.15s linear;
}
div.highlight,