Skip to content

Commit 26ca552

Browse files
committed
docs: change highlight color
1 parent 74d37ff commit 26ca552

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/.vitepress/theme/components/IntroductionLIBlock.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ export default {
5757
}
5858
5959
.highlight {
60-
color: #FF9F43;
60+
background-image: linear-gradient(90deg, #fbb040 0%, #f15a29 40%, #c837ab 100%);
61+
-webkit-background-clip: text;
62+
background-clip: text;
63+
color: transparent;
6164
}
6265
6366
.subtitle {

docs/.vitepress/theme/components/IntroductionRIBlock.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ export default {
5959
}
6060
6161
.highlight {
62-
color: #FF9F43;
62+
background-image: linear-gradient(90deg, #fbb040 0%, #f15a29 40%, #c837ab 100%);
63+
-webkit-background-clip: text;
64+
background-clip: text;
65+
color: transparent;
6366
}
6467
6568
.subtitle {

0 commit comments

Comments
 (0)