Skip to content

Commit

Permalink
fix: improve the style of tab title
Browse files Browse the repository at this point in the history
  • Loading branch information
mortalYoung committed Sep 7, 2021
1 parent f99b10f commit d9b63a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/components/tabs/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,13 @@
box-sizing: border-box;
cursor: pointer;
display: flex;
flex: 0 0 auto;
font-size: 13px;
flex-wrap: nowrap;
height: 100%;
max-width: 300px;
min-width: 40px;
padding: 0 20px;
min-width: fit-content;
padding-left: 10px;
position: relative;
user-select: none;

&__name {
font-size: 16px;
margin-left: 10px;
}

&__op {
color: var(--icon-foreground);
margin-left: 10px;
Expand Down
2 changes: 2 additions & 0 deletions src/extensions/theme-defaults/themes/dark_defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"inputValidation.errorBackground": "#5A1D1D",
"inputValidation.errorBorder": "#BE1100",
"icon.foreground": "#C5C5C5",
"panelTitle.activeForeground": "#E7E7E7",
"panelTitle.inactiveForeground": "#e7e7e799",
"problemsWarningIcon.foreground": "#CCA700",
"problemsErrorIcon.foreground": "#F48771",
"problemsInfoIcon.foreground": "#75BEFF",
Expand Down
2 changes: 2 additions & 0 deletions src/extensions/theme-defaults/themes/light_defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"inputValidation.errorBackground": "#F2DEDE",
"inputValidation.errorBorder": "#BE1100",
"icon.foreground": "#424242",
"panelTitle.activeForeground": "#424242",
"panelTitle.inactiveForeground": "#424242bf",
"problemsWarningIcon.foreground": "#BF8803",
"problemsErrorIcon.foreground": "#E51400",
"problemsInfoIcon.foreground": "#75BEFF",
Expand Down

0 comments on commit d9b63a7

Please sign in to comment.