4 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
ricky 3df55bc97f 2026.11.5 2026-11-04 15:04:19 -05:00
rickyandClaude Opus 5.5 2f58a1c7f7 Keep text readable on locked estimates and invoices
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:04:19 -05:00
2 changed files with 10 additions and 1 deletions

No files matched your search

+9
View File
@@ -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,
@@ -328,6 +335,8 @@ html.dark-mode .qbo-field :is(label, .qbo-label),
html.dark-mode :is(.qbo-address, .qbo-estimate-amount-value, .qbo-estimate-totals th, .qbo-estimate-lines td.qbo-line-subtotal-label) { color: #c0c2c7; }
html.dark-mode .qbo-field :is(input[type=text], input[type=date], textarea) { background: #191a1c; color: #d2d4d8; }
html.dark-mode .qbo-field :is(input[readonly], input[disabled]) { background: #2c2e32; color: #c0c2c7; }
/* Locked estimates/invoices: their disabled boxes keep readable text */
html.dark-mode .qbo-estimate-sheet[disabled] :is(input, textarea, select) { color: #c0c2c7; -webkit-text-fill-color: #c0c2c7; }
html.dark-mode .qbo-estimate-lines th { border-bottom-color: #3f4248; }
html.dark-mode .qbo-estimate-lines td { border-bottom-color: #35373c; }
html.dark-mode .qbo-estimate-lines :is(input[type=text], textarea) { color: #d2d4d8; }
+1 -1
View File
@@ -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.4'
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'