mirror of
https://github.com/rickbarrette/redmine_dark_mode.git
synced 2026-11-17 12:50:36 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e04cd336f8 | ||
|
|
b241f75cc9 |
No files matched your search
@@ -8,6 +8,13 @@ html.dark-mode {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
/* Light pages stay light even when the device is dark. The head's <meta name="color-scheme" content="light dark">
|
||||
otherwise lets the browser draw its own controls (checkboxes, radio buttons, scrollbars) in the device's dark
|
||||
style on a page the user set to Light. */
|
||||
html:not(.dark-mode) {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
/* Dark palette: Gitea's dark theme colours (theme-gitea-dark.css) on Open Color's scales, where 0-2 are
|
||||
backgrounds, 3-4 borders and 5-9 text. */
|
||||
html.dark-mode,
|
||||
|
||||
@@ -12,7 +12,7 @@ Redmine::Plugin.register :redmine_dark_mode do
|
||||
name 'Redmine Dark Mode plugin'
|
||||
author 'Rick Barrette'
|
||||
description 'A dark mode for Redmine: follows the device by default, with a per-user choice and a toggle in the top menu'
|
||||
version '2026.11.5'
|
||||
version '2026.11.6'
|
||||
url 'https://github.com/rickbarrette/redmine_dark_mode'
|
||||
author_url 'https://barrettefabrication.com'
|
||||
requires_redmine version_or_higher: '7.0.0'
|
||||
|
||||
Reference in new issue
Block a user