Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark mode #46

Open
ospencer opened this issue May 17, 2020 · 1 comment · May be fixed by #389
Open

Dark mode #46

ospencer opened this issue May 17, 2020 · 1 comment · May be fixed by #389

Comments

@ospencer
Copy link
Member

It'd be pretty sick if there were a dark mode option for the docs.

@spotandjake
Copy link
Member

Docs
./docs/style.css

add

html {
  --Background: #121212;
  --Border: #333;
  --lavender: #444;
  --black: #eee;
}
html {
  background: var(--Background);
}

Main Page
./stylesheets/style.css

add

html {
  --Background: #121212;
  --Border: #333;
  --lavender: #444;
  --black: #eee;
}
html {
  background: var(--Background);
}

Blog
./blog/css/style.css

add

html {
  --Background: #121212;
  --Border: #333;
  --lavender: #444;
  --black: #eee;
  --gray3: #9e9eb1;
}
html {
  background: var(--Background);
}
.join-mailing {
  background: var(--Background) !important;
}
.button.mc-submit {
  color: var(--orange) !important;
}

if you implemented the following colours it would look pretty good you can see it here, and it requires minimal changes after that you could just add a toggle switch up in the top by the Github and Twitter buttons. https://grainorg.spotandjake.repl.co/

@spotandjake spotandjake mentioned this issue Jun 4, 2021
@spotandjake spotandjake linked a pull request Jan 27, 2025 that will close this issue
@spotandjake spotandjake linked a pull request Jan 27, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants