Skip to content

Commit 55253ba

Browse files
committed
fix popup buttons flashing from white to black on open
1 parent 5fee385 commit 55253ba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/popup/popup.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,10 @@ a:hover {
7777
}
7878

7979
.material-button {
80-
color: var(--color);
81-
background-color: var(--background-color);
80+
background-color: var(--button-bg-color);
81+
color: var(--button-text-color);
82+
transition: background-color 0.3s, color 0.3s;
83+
/* Smooth transition for theme change */
8284
border: 2px solid lightgray;
8385
text-decoration: none;
8486
cursor: pointer;

0 commit comments

Comments
 (0)