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 ed67d4b commit 08d4dab
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/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 Expand Up @@ -95,7 +95,7 @@
td {
padding: 8px 20px;
color: #fff;

&:first-child {
border-left: 0px;
code {
Expand Down
8 changes: 4 additions & 4 deletions src/assets/styles/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
--line-light: rgba(60, 60, 67, .12);
--text-font-color-light: rgba(60, 60, 67, .92);

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

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

Expand Down Expand Up @@ -117,7 +117,7 @@ html.dark {
--text-font-color-light: rgba(255, 255, 255, 0.5);

--text-code-font-color: #c9def1;
--brand-color: #646cff;
--brand-color: #0da6e9;
--nav-link-color: #fff;
--brand-color-light: #bcc0ff; // hover color
--mute-light: #313136; // tag background
Expand All @@ -143,7 +143,7 @@ html.dark {
.flyout-menu .menu-link {
color: rgba(255, 255, 255, .87);
&:hover {
color: #646cff;
color: #0da6e9;
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/components/Nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default defineComponent({
&:hover {
a {
color: #646cff;
color: #0da6e9;
}
}
Expand All @@ -172,7 +172,7 @@ export default defineComponent({
&.router-link-active,
&.active {
color: #646cff;
color: #0da6e9;
}
b {
Expand Down
6 changes: 3 additions & 3 deletions src/components/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -214,16 +214,16 @@ export default defineComponent({
}
&:hover {
color: #646cff;
color: #0da6e9;
a {
color: #646cff;
color: #0da6e9;
}
}
}
.cur {
background: #646cff;
background: #0da6e9;
color: #fff;
&:hover {
Expand Down

0 comments on commit 08d4dab

Please sign in to comment.