mirror of
https://github.com/rickbarrette/redmine_dark_mode.git
synced 2026-11-17 20:50:36 -05:00
Dark "Are you sure?" dialog on dark pages
rails-ujs confirmations (data-confirm) show a dark dialog in Gitea's colours while the page is dark, instead of the browser's box drawn in the device's colours; OK carries on with the link, button or form. Light pages keep the browser's box. RedmineDarkMode.confirm(message, onOk) does the same for other scripts. The default mode is one setting (DEFAULT_MODE, Automatic). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ad2451129f
commit
885c4d2b3a
6 files changed
+120
-6
No files matched your search
@@ -15,3 +15,4 @@ en:
|
||||
label_dark_mode_dark: "On (dark)"
|
||||
label_dark_mode_switch_dark: "Switch to dark mode"
|
||||
label_dark_mode_switch_light: "Switch to light mode"
|
||||
button_dark_mode_ok: "OK"
|
||||
Reference in new issue
Block a user