Skip to content

Commit 9fe7c28

Browse files
author
Jesse Haigh
committed
use color variables
1 parent 69a9d40 commit 9fe7c28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/ContentNode/CodeListing.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ pre {
251251
position: absolute;
252252
top: 1em;
253253
right: 1em;
254-
background: var(--color-syntax-clipboard-bg, #e0e0e0);
254+
background: var(--color-fill-gray-tertiary);
255255
border: none;
256256
border-radius: 6px;
257257
padding: 7px 6px;
@@ -267,15 +267,15 @@ pre {
267267
}
268268
269269
.copy-button:hover {
270-
background-color: var(--code-syntax-clipboard-hover-bg, #d0d0d0);
270+
background-color: var(--color-fill-gray);
271271
}
272272
273273
.copy-button:hover svg {
274274
opacity: 1;
275275
}
276276
277277
.copy-button.copied svg {
278-
color: var(--color-syntax-clipboard-check-color, #007aff);
278+
color: var(--color-figure-blue);
279279
}
280280
281281
.container-general:hover .copy-button {

0 commit comments

Comments
 (0)