Skip to content

Commit

Permalink
Some dark mode upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Sep 3, 2023
1 parent dd595bf commit 0675cd2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ body {
background-color: var(--template-bg-dark-5);
}

@if $enable-dark-mode {
@include color-mode(dark) {
&.admin {
background-color: var(--secondary-bg);
}
}
}

&.monochrome {
filter: grayscale(1);
&::after {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Quick Icons

.quick-icons {
background-color: $white;
background-color: var(--body-bg);

.nav {
display: grid;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@
align-items: center;
padding: 1rem 1rem .75rem;
font-weight: $font-weight-bold;
color: var(--template-bg-dark);
background: hsla(0, 0%, 100%, .7); // default: var(--card-bg);
--card-bg: hsla(0, 0%, 100%, .7);

> [class^="icon-"],
> img {
Expand Down Expand Up @@ -135,8 +134,8 @@
font-weight: 700;
line-height: 1;
color: hsl(var(--hue),30%,40%);
background-color: hsl(var(--hue),35%,98%);
border: 1px solid hsl(var(--hue),35%,88%);
background-color: var(--body-bg);
border: 1px solid var(--body-bg);
border-radius: $border-radius;
transition: all .15s ease-in;

Expand Down

0 comments on commit 0675cd2

Please sign in to comment.