Skip to content

Commit bfe5402

Browse files
committed
dialogs now follow dark theme
1 parent ed004e2 commit bfe5402

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

popup-page-styles/popup-theme.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,37 @@ body.dark-theme select {
4646
border-color: #555;
4747
}
4848

49+
50+
/* ===== Dark Theme Overrides for Dynamic Prompt Dialogs ===== */
51+
52+
body.dark-theme .confirmation,
53+
body.dark-theme .error {
54+
background-color: #333; /* Dark background for dialogs */
55+
color: #fff; /* Light text for dialogs */
56+
border: 1px solid #555; /* Dark border */
57+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
58+
padding: 1em; /* Consistent spacing */
59+
border-radius: 4px; /* Rounded corners */
60+
}
61+
62+
body.dark-theme .confirmation button,
63+
body.dark-theme .error button {
64+
background-color: #444; /* Dark button background */
65+
color: #fff; /* Light button text */
66+
border: 1px solid #666; /* Button border */
67+
padding: 0.5em 1em; /* Button padding */
68+
border-radius: 4px; /* Rounded corners */
69+
cursor: pointer;
70+
}
71+
72+
/* Button hover states for dialogs */
73+
body.dark-theme .confirmation button:hover,
74+
body.dark-theme .error button:hover {
75+
background-color: #555;
76+
border-color: #777;
77+
}
78+
79+
4980
/* ------------------------------------------------------------------------- */
5081
/* Dark Theme Overrides for Miscellaneous Components */
5182
/* ------------------------------------------------------------------------- */
@@ -77,6 +108,8 @@ body.dark-theme .toast {
77108
color: #eee;
78109
}
79110

111+
112+
80113
/* ------------------------------------------------------------------------- */
81114
/* Dark Theme Overrides for Dynamic Button Items */
82115
/* ------------------------------------------------------------------------- */

0 commit comments

Comments
 (0)