Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- init commit
- add darkmode.css file and include
  • Loading branch information
chrisdel101 committed Apr 16, 2024
1 parent e885be2 commit d643ddc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta name="og:image" content="https://expressjs.com/images/express-facebook-share.png">
<link rel="icon" type="image/png" href="/images/favicon.png" />
<link rel="stylesheet" href="/css/style.css?_={{ site.time | date: '%s' }}">
<link rel="stylesheet" href="/css/darkmode.css?_={{ site.time | date: '%s' }}">
<link rel="stylesheet" href="/css/dropit.css">
<link rel="stylesheet" href="/css/prism.css">
<link rel="stylesheet" href="/css/font-awesome.min.css">
Expand Down
11 changes: 11 additions & 0 deletions css/darkmode.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:root {
--dark_bg: #0d1117;
--dark_text: whitesmoke;
}

.dark-mode-body {
background: var(--dark_bg);
--dark_text: whitesmoke;
background: var(--dark_bg);
color: var(--dark_text);
}

0 comments on commit d643ddc

Please sign in to comment.