Skip to content

Commit

Permalink
refactor: improve default theme font-weight on windows (#1549)
Browse files Browse the repository at this point in the history
  • Loading branch information
feibi committed Mar 16, 2023
1 parent 943bee2 commit 547a862
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/client/theme-default/builtins/Previewer/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
display: inline-block;
font-size: 14px;
line-height: 1;
font-weight: 500;
font-weight: bold;
background: linear-gradient(
to top,
rgba(255, 255, 255, 100%),
Expand Down
2 changes: 1 addition & 1 deletion src/client/theme-default/slots/Logo/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
color: @c-text;
font-size: 22px;
line-height: 1;
font-weight: 500;
font-weight: bold;
text-decoration: none;

@{dark-selector} & {
Expand Down
2 changes: 1 addition & 1 deletion src/client/theme-default/slots/Navbar/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

&.active {
color: @c-text;
font-weight: 500;
font-weight: bold;

@{dark-selector} & {
color: @c-text-dark;
Expand Down
4 changes: 2 additions & 2 deletions src/client/theme-default/slots/Sidebar/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
margin: 8px 0;
color: @c-text;
font-size: 14px;
font-weight: 500;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
Expand Down Expand Up @@ -86,7 +86,7 @@

&.active {
color: @c-primary;
font-weight: 500;
font-weight: bold;

@{dark-selector} & {
color: @c-primary-dark;
Expand Down

0 comments on commit 547a862

Please sign in to comment.