Skip to content

Commit a974f0f

Browse files
committed
feat: mute copy button icon default color
1 parent d3b5cf4 commit a974f0f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/public/error_info/style.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
:root {
2-
--copy-button-bg: var(--slate-3);
32
--copy-button-active-bg: var(--slate-a4);
43
--copy-button-border: var(--slate-7);
54
--copy-button-success-bg: var(--green-5);
65
--copy-button-success-border: var(--green-7);
76
--copy-button-success-fg: var(--green-12);
87
}
98
html.dark {
10-
--copy-button-bg: var(--slate-3);
119
--copy-button-active-bg: var(--slate-a4);
1210
--copy-button-border: var(--slate-7);
1311
--copy-button-success-bg: var(--green-3);
@@ -82,7 +80,7 @@ html.dark {
8280
font-weight: 500;
8381
padding: 4px 8px 6px 8px;
8482
border-radius: var(--radius);
85-
color: var(--title-fg);
83+
color: var(--surface-fg);
8684
transition: all 0.2s ease;
8785
}
8886

@@ -93,6 +91,7 @@ html.dark {
9391

9492
#copy-error-btn:hover {
9593
background: var(--copy-button-active-bg);
94+
color: var(--title-fg);
9695
}
9796

9897
#copy-error-btn:active {

0 commit comments

Comments
 (0)