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 197750e commit cabfa16
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 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.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,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;

Expand Down Expand Up @@ -111,7 +111,7 @@ html.dark {
/* --text-font-color-light: rgba(255, 255, 255, 0.87); */

--text-code-font-color: #c9def1;
--brand-color: #646cff;
--brand-color: #0da6e9;
--nav-link-color: #fff;
--brand-color-light: #bcc0ff;
--mute-light: #313136;
Expand Down Expand Up @@ -158,7 +158,7 @@ html.dark .flyout-menu .menu-link {
color: rgba(255, 255, 255, .87);
}
html.dark .flyout-menu .menu-link: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
8 changes: 4 additions & 4 deletions src/views/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
transform: translate(-50%,-50%);

// 光晕
filter: drop-shadow(0 0 2em #646cffaa);
filter: drop-shadow(0 0 2em #0da6e9aa);
}
}
.home-title {
Expand Down Expand Up @@ -63,7 +63,7 @@
}

.text-grad {
--brand-gradient: linear-gradient(180deg,#9dbcff,#646cff);
--brand-gradient: linear-gradient(180deg,#9dbcff,#0da6e9);
-webkit-background-clip: text;
background-image: var(--brand-gradient);
color: transparent;
Expand Down Expand Up @@ -115,7 +115,7 @@
}
.get-started{
min-width: 100px;
background-color: #646cff;
background-color: #0da6e9;
color: #fff;
&:hover{
background-color: #4f57f8;
Expand Down Expand Up @@ -344,7 +344,7 @@
margin: 0 0 10px 0;
}
a {
color: #646cff;
color: #0da6e9;
text-decoration-line: underline;
}
a:hover {
Expand Down

0 comments on commit cabfa16

Please sign in to comment.