Skip to content

Commit 6e667fa

Browse files
committed
Colors
1 parent 57709dd commit 6e667fa

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

docs/.vuepress/theme/styles/base.pcss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
--medium-zoom-overlay-color: theme("colors.soft");
1010
--heading-color: theme("colors.slate");
1111
--link-color-default: theme("colors.blue.default");
12+
--code-link-color: theme("colors.blue.darker");
1213
--link-underline-color: #5E8BF7;
1314
--sidebar-link-color: theme("colors.slate");
1415
--sidebar-active-link-color: theme("colors.blue.default");

docs/.vuepress/theme/styles/color-mode.pcss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
--link-underline-color: var(--link-color-default);
2828
--sidebar-link-color: theme("colors.gray.400");
2929
--sidebar-active-link-color: var(--link-color-default);
30+
--code-link-color: theme("colors.blue.lighter");
3031

3132
/* Code */
3233
--code-color-default: #7F9CB8;
@@ -64,6 +65,7 @@
6465
--link-underline-color: var(--link-color-default);
6566
--sidebar-link-color: theme("colors.gray.400");
6667
--sidebar-active-link-color: var(--link-color-default);
68+
--code-link-color: theme("colors.blue.lighter");
6769

6870
/* Code */
6971
--code-color-default: #7F9CB8;
@@ -178,7 +180,7 @@
178180

179181
kbd {
180182
background-color: rgba(0, 0, 0, 0.4);
181-
color: #476582;
183+
color: var(--code-color-default);
182184
border: 1px solid rgba(0, 0, 0, 0.3);
183185
border-bottom: 3px solid #111;
184186
}

docs/.vuepress/theme/styles/typography.pcss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@
213213

214214
p a code {
215215
@apply font-normal;
216-
color: theme("colors.blue.darker");
217216
}
218217

219218
blockquote {

0 commit comments

Comments
 (0)