Skip to content

Commit fd410e7

Browse files
author
Jesse Haigh
committed
fix colors
1 parent 6bba31c commit fd410e7

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

src/components/ContentNode/CodeListing.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,13 @@ pre {
285285
}
286286
}
287287
288+
.copy-button .copy-icon {
289+
fill: var(--color-figure-gray);
290+
}
291+
288292
.copy-button.copied .checkmark-icon {
289293
color: var(--color-figure-blue);
294+
fill: currentColor;
290295
}
291296
292297
</style>

src/components/Icons/CheckmarkIcon.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<template>
1212
<SVGIcon
13-
class="checkmark-icon"
13+
class="CheckmarkIcon"
1414
viewBox="0 0 24 24"
1515
themeId="checkmark"
1616
>
@@ -28,9 +28,8 @@ export default {
2828
</script>
2929

3030
<style scoped lang="scss">
31-
.checkmark-icon {
31+
.CheckmarkIcon {
3232
opacity: 1;
3333
stroke: currentColor;
34-
fill: currentColor;
3534
}
3635
</style>

src/components/Icons/CopyIcon.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<template>
1212
<SVGIcon
13-
class="copy-icon"
13+
class="CopyIcon"
1414
viewBox="0 0 24 24"
1515
themeId="copy"
1616
>
@@ -31,8 +31,7 @@ export default {
3131
</script>
3232

3333
<style scoped lang="scss">
34-
.copy-icon {
35-
fill: currentColor;
34+
.CopyIcon {
3635
opacity: 0.8;
3736
}
3837
</style>

0 commit comments

Comments
 (0)