Skip to content

Commit

Permalink
🎨 #13043
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Nov 6, 2024
1 parent 22e80c5 commit 1cf1854
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
7 changes: 4 additions & 3 deletions app/appearance/themes/daylight/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,10 @@
--b3-protyle-code-background: rgba(27, 31, 35, .05);

/* 所见即所得行内元素颜色 */
--b3-protyle-inline-strong-color: #202124;
--b3-protyle-inline-em-color: #202124;
--b3-protyle-inline-s-color: #202124;
--b3-protyle-inline-strong-color: inherit;
--b3-protyle-inline-em-color: inherit;
--b3-protyle-inline-u-color: inherit;
--b3-protyle-inline-s-color: inherit;
--b3-protyle-inline-link-color: #4285f4;
--b3-protyle-inline-mark-background: rgb(252, 212, 126);
--b3-protyle-inline-mark-color: #202124;
Expand Down
7 changes: 4 additions & 3 deletions app/appearance/themes/midnight/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,10 @@
--b3-protyle-code-background: rgba(240, 246, 252, .15);

/* 所见即所得行内元素颜色 */
--b3-protyle-inline-strong-color: #e8eaed;
--b3-protyle-inline-em-color: #e8eaed;
--b3-protyle-inline-s-color: #e8eaed;
--b3-protyle-inline-strong-color: inherit;
--b3-protyle-inline-em-color: inherit;
--b3-protyle-inline-u-color: inherit;
--b3-protyle-inline-s-color: inherit;
--b3-protyle-inline-link-color: #8ab4f8;
--b3-protyle-inline-mark-background: rgba(255, 208, 0, .4);
--b3-protyle-inline-mark-color: var(--b3-theme-on-background);
Expand Down
6 changes: 2 additions & 4 deletions app/src/assets/scss/component/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,11 @@
box-shadow: inset 0 -1px 0 var(--b3-theme-surface-lighter);
}

u {
text-decoration: none;
}

u,
span[data-type~="u"] {
text-decoration: none;
border-bottom: 1px solid;
color: var(--b3-protyle-inline-u-color);
}

span[data-type~="inline-memo"] {
Expand Down

0 comments on commit 1cf1854

Please sign in to comment.