Skip to content

Commit

Permalink
feat: theme color change
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Aug 2, 2024
1 parent bc3790e commit eb2623c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion example/src/sites/assets/styles/md-style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

a {
margin: 0 1px;
color: #646cff;
color: #0da6e9;
text-decoration-line: underline;

&:hover {
Expand Down
6 changes: 3 additions & 3 deletions example/src/sites/assets/styles/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
--line-light: rgba(60, 60, 67, 0.12);
--text-font-color-light: rgba(60, 60, 67, 0.92);

--brand-color: #646cff;
--brand-color: #0da6e9;

--brand-color-light: #bcc0ff; // hover color

Expand Down Expand Up @@ -122,7 +122,7 @@ html.dark {
--line-light: rgba(60, 60, 67, 0.12);
--text-font-color-light: rgba(60, 60, 67, 0.92);
--text-code-font-color: #c9def1;
--brand-color: #646cff;
--brand-color: #0da6e9;
--brand-color-light: #bcc0ff; // hover color
--mute-light: #313136; // tag background
--line-light: rgba(82, 82, 89, 0.32);
Expand Down Expand Up @@ -152,7 +152,7 @@ html.dark {
.flyout-menu .menu-link {
color: rgba(255, 255, 255, 0.87);
&:hover {
color: #646cff;
color: #0da6e9;
}
}

Expand Down
4 changes: 2 additions & 2 deletions example/src/sites/doc/components/Nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default defineComponent({
&:hover {
a {
color: #646cff;
color: #0da6e9;
}
}
Expand All @@ -256,7 +256,7 @@ export default defineComponent({
&.router-link-active,
&.active {
color: #646cff;
color: #0da6e9;
}
b {
Expand Down

0 comments on commit eb2623c

Please sign in to comment.