Skip to content

Commit e672698

Browse files
committed
Enhance dark theme confirmation dialogs: add blinking effect and update styles
1 parent 55ac526 commit e672698

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

common-ui-elements/dark-theme.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,15 @@ body.dark-theme .dialog button:hover {
106106
border-color: #777;
107107
}
108108

109+
/* Override for confirmation dialogs in dark theme to enable blinking */
110+
body.dark-theme .dialog-confirmation {
111+
background-color: rgba(154, 121, 211, 0.1);
112+
/* Faint primary color */
113+
border-color: var(--primary-color);
114+
--blink-bg-color: rgba(154, 121, 211, 0.25);
115+
/* Brighter faint primary color for blink */
116+
}
117+
109118
/* ------------------------------------------------------------------------- */
110119
/* Additional Dark Theme Overrides for Miscellaneous Components */
111120
/* ------------------------------------------------------------------------- */

popup-page-styles/popup-components.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ Key areas:
4949
}
5050
}
5151

52+
@keyframes blink-background {
53+
50% {
54+
background-color: var(--blink-bg-color, #d9e9ff);
55+
/* A slightly brighter blue for the confirmation blink */
56+
}
57+
}
58+
5259
/* ------------------------------------------------------------------------- */
5360
/* Console Styling */
5461
/* ------------------------------------------------------------------------- */
@@ -174,6 +181,8 @@ Key areas:
174181
.dialog-confirmation {
175182
border-color: var(--primary-color);
176183
background-color: #f0f8ff;
184+
--blink-bg-color: #d9e9ff;
185+
animation: blink-background 1.5s ease-in-out infinite;
177186
}
178187

179188
.dialog-confirmation p {

0 commit comments

Comments
 (0)