Skip to content

Commit 6993a6b

Browse files
committed
style: remove :where selector for normal data-close-button
1 parent c1c337c commit 6993a6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/styles.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
background: rgba(255, 255, 255, 0.3);
204204
}
205205

206-
:where([data-sonner-toast]) :where([data-close-button]) {
206+
[data-sonner-toast] [data-close-button] {
207207
position: absolute;
208208
left: var(--toast-close-button-start);
209209
right: var(--toast-close-button-end);
@@ -214,9 +214,9 @@
214214
justify-content: center;
215215
align-items: center;
216216
padding: 0;
217-
background: var(--gray1);
218-
color: var(--gray12);
219-
border: 1px solid var(--gray4) !important;
217+
background: var(--normal-bg);
218+
color: var(--normal-text);
219+
border: 1px solid var(--normal-border);
220220
transform: var(--toast-close-button-transform);
221221
border-radius: 50%;
222222
cursor: pointer;

0 commit comments

Comments
 (0)