1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-22 13:45:02 +00:00

Add prefers-color-scheme dark mode to downloader

This commit is contained in:
Starbeamrainbowlabs 2020-01-16 19:17:54 +00:00
parent 1935b7b516
commit 844907086d
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 16 additions and 2 deletions

View file

@ -11,6 +11,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
- Enabled by default. In order to receive emails users now need to verify their email address
- This is done via a verification email that's sent when you change your email address (even if your email address is the same when you change your preferences and you haven't yet verified it)
- A new `email_verify_addresses` setting has been added to control the functionality
- Added dark theme to the [downloader](https://starbeamrainbowlabs.com/labs/peppermint/download.php) (will be updated at the next stable release)
### Fixed
- Fixed weighted word support on search query analysis debug page

View file

@ -60,8 +60,21 @@
<!------------------->
<link rel="stylesheet" href="//starbeamrainbowlabs.com/theme/basic.css" />
<style>
body { padding: 1rem; color: #442772; background-colour: #eee8f2; } /* syntaxtic gets confused sometimes */
a { color: #9e7eb4; }
:root {
--bg-colour: #eee8f2;
--text-colour: #442772;
--link-colour: #9e7eb4;
}
@media (prefers-color-scheme: dark) {
:root {
--bg-colour: hsl(273, 15%, 16%);
/* --bg-colour: hsl(270, 29%, 28%); */
--text-colour: hsl(274, 75%, 81%);
}
}
body { padding: 1rem; color: var(--text-colour); background-color: var(--bg-colour); } /* syntaxtic gets confused sometimes */
a { color: var(--link-colour); }
.largebutton { font-size: 2rem; }
.logo { max-width: 1.25em; vertical-align: middle; }