@@ -7,13 +7,13 @@ It adjusts colors, backgrounds, borders, and other visual elements to better sui
77Key areas:
88- Global overrides on body.dark-theme for base colors.
99- Adjustments for buttons, sections, inputs, and other UI components.
10- - Specific overrides for dynamic button items and toast notifications.
10+ - Specific overrides for dynamic button items, toast notifications, and danger buttons .
1111*/
1212
1313/* ------------------------------------------------------------------------- */
14- /* Global Dark Theme Overrides */
15- /* ------------------------------------------------------------------------- */
16- body .dark-theme {
14+ /* Global Dark Theme Overrides */
15+ /* ------------------------------------------------------------------------- */
16+ body .dark-theme {
1717 --primary-color : # 9a79d3 ; /* Violet used for primary elements in dark mode */
1818 --danger-color : # d16c6c ;
1919 --border-color : # 444 ;
@@ -24,8 +24,8 @@ Key areas:
2424}
2525
2626/* ------------------------------------------------------------------------- */
27- /* Dark Theme Overrides for Buttons and Sections */
28- /* ------------------------------------------------------------------------- */
27+ /* Dark Theme Overrides for Buttons and Sections */
28+ /* ------------------------------------------------------------------------- */
2929body .dark-theme button {
3030 background : # 333 ;
3131 color : # eee ;
@@ -46,9 +46,24 @@ body.dark-theme select {
4646 border-color : # 555 ;
4747}
4848
49+ /* ------------------------------------------------------------------------- */
50+ /* Dark Theme Overrides for Danger Buttons */
51+ /* ------------------------------------------------------------------------- */
52+ /* Ensure that buttons with the 'danger' class retain a red (danger) styling */
53+ body .dark-theme button .danger {
54+ background : var (--danger-color );
55+ color : # fff ;
56+ border-color : var (--danger-color );
57+ }
4958
50- /* ===== Dark Theme Overrides for Dynamic Prompt Dialogs ===== */
59+ body .dark-theme button .danger : hover {
60+ background : # b85c5c ;
61+ border-color : # b85c5c ;
62+ }
5163
64+ /* ------------------------------------------------------------------------- */
65+ /* Dark Theme Overrides for Dynamic Prompt Dialogs */
66+ /* ------------------------------------------------------------------------- */
5267body .dark-theme .confirmation ,
5368body .dark-theme .error {
5469 background-color : # 333 ; /* Dark background for dialogs */
@@ -76,10 +91,9 @@ body.dark-theme .error button:hover {
7691 border-color : # 777 ;
7792}
7893
79-
8094/* ------------------------------------------------------------------------- */
81- /* Dark Theme Overrides for Miscellaneous Components */
82- /* ------------------------------------------------------------------------- */
95+ /* Dark Theme Overrides for Miscellaneous Components */
96+ /* ------------------------------------------------------------------------- */
8397body .dark-theme .checkbox-row {
8498 color : # eee ;
8599}
@@ -108,11 +122,9 @@ body.dark-theme .toast {
108122 color : # eee ;
109123}
110124
111-
112-
113125/* ------------------------------------------------------------------------- */
114- /* Dark Theme Overrides for Dynamic Button Items */
115- /* ------------------------------------------------------------------------- */
126+ /* Dark Theme Overrides for Dynamic Button Items */
127+ /* ------------------------------------------------------------------------- */
116128body .dark-theme .button-item {
117129 background : # 333 !important ; /* Dark background for button items */
118130 border-color : # 555 !important ; /* Darker border */
0 commit comments