2 Commits
Author SHA1 Message Date
rickyandClaude Opus 5.5 e04cd336f8 2026.11.6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:21:38 -05:00
rickyandClaude Opus 5.5 b241f75cc9 Keep checkboxes light on light pages
With Redmine set to Light and the device dark, the color-scheme meta let the browser draw checkboxes, radio buttons and scrollbars dark. Light pages now pin color-scheme: light.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:21:38 -05:00
2 changed files with 8 additions and 1 deletions

No files matched your search

+7
View File
@@ -8,6 +8,13 @@ html.dark-mode {
color-scheme: dark; 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 /* 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. */ backgrounds, 3-4 borders and 5-9 text. */
html.dark-mode, html.dark-mode,
+1 -1
View File
@@ -12,7 +12,7 @@ Redmine::Plugin.register :redmine_dark_mode do
name 'Redmine Dark Mode plugin' name 'Redmine Dark Mode plugin'
author 'Rick Barrette' 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' 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' url 'https://github.com/rickbarrette/redmine_dark_mode'
author_url 'https://barrettefabrication.com' author_url 'https://barrettefabrication.com'
requires_redmine version_or_higher: '7.0.0' requires_redmine version_or_higher: '7.0.0'