mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Add prefers-color-scheme dark mode to downloader
This commit is contained in:
parent
1935b7b516
commit
844907086d
2 changed files with 16 additions and 2 deletions
|
@ -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
|
||||
|
|
17
download.php
17
download.php
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue