Skip to content

Commit

Permalink
Fixing index page dark mode.
Browse files Browse the repository at this point in the history
zoltan-dulac committed Nov 5, 2024
1 parent 807b8c8 commit fc8584d
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions css/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions less/index.less
Original file line number Diff line number Diff line change
@@ -255,6 +255,10 @@ a {
padding-bottom: 60px;
}

@media (prefers-color-scheme: dark) {
background: @red-darkmode;
}

&--heading {
font-weight: bold;
color: #fff;
1 change: 1 addition & 0 deletions less/shared/mixins-and-vars.less
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@

// Dark Mode Colors
@pink-darkmode: #EF7290;
@red-darkmode: #5f031a;
@color0-darkmode: #CE8989;
@dark-mode-black: #121212;
@dark-mode-lightgrey: #9a9a9a;

0 comments on commit fc8584d

Please sign in to comment.