Skip to content

Commit

Permalink
fix(theme): improve the colorTheme detail
Browse files Browse the repository at this point in the history
fix #20
  • Loading branch information
wewoor committed Mar 21, 2021
1 parent cc14adf commit cee788d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
11 changes: 6 additions & 5 deletions src/services/theme/colorRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const defaultVS = {
'checkbox.border': Color.white,
'button.background': '#007ACC',
'button.foreground': Color.white,
// 'button.hoverBackground': Color.fromHex('#007ACC').transparent(0.2),

'badge.background': '#C4C4C4',
'badge.foreground': '#333',
Expand Down Expand Up @@ -68,6 +67,9 @@ const defaultVS = {
'menu.background': Color.white,
'menu.separatorBackground': '#888888',

'panel.background': Color.white,
'panel.border': 'rgba(128, 128, 128, 0.35)',

'activityBar.background': 'rgb(51, 51, 51)',
'activityBar.activeBorder': '#fff',
'activityBar.foreground': 'rgba(255, 255, 255, 0.4)',
Expand Down Expand Up @@ -105,7 +107,7 @@ const defaultDark = {
'checkbox.border': '#CECECE',
'button.background': '#0E639C',
'button.foreground': Color.white,
// 'button.hoverBackground': Color.fromHex('#0E639C').transparent(0.2),
'button.hoverBackground': Color.fromHex('#0E639C').transparent(0.2),

'badge.background': '#4D4D4D',
'badge.foreground': Color.white,
Expand Down Expand Up @@ -139,9 +141,8 @@ const defaultDark = {
'menu.background': '#3C3C3C',
'menu.separatorBackground': '#BBBBBB',

'panel.background': 'rgb(37, 37, 38);',
'panel.foreground': Color.white,
'panel.border': '#CECECE',
'panel.background': 'rgb(30, 30, 30)',
'panel.border': '#3C3C3C',

'activityBar.background': 'rgb(51, 51, 51)',
'activityBar.activeBorder': '#fff',
Expand Down
2 changes: 1 addition & 1 deletion src/style/theme/actionbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// =============== Action Bar =============== //
#{$actionBar} {
background-color: var(--listFilterWidget-background);
color: var(--button-foreground);
color: var(--foreground);
outline-color: var(--listFilterWidget-outline);

&__item--checked {
Expand Down
1 change: 1 addition & 0 deletions src/workbench/editor/welcome/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#{prefix('welcome')} {
align-items: center;
background-color: var(--panel-background);
display: flex;
justify-content: center;
text-align: center;
Expand Down
5 changes: 5 additions & 0 deletions src/workbench/panel/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
}

&__header {
border-color: inherit;
border-top-style: solid;
border-top-width: 1px;
flex-direction: row;
Expand All @@ -22,10 +23,14 @@
width: 100%;

#{$tabs} {
background: inherit;
border: 0;
flex-grow: 1;
}

#{$tab}__item {
background: inherit;
border: 0;
font-size: 11px;
padding: 0 10px;
text-transform: uppercase;
Expand Down

0 comments on commit cee788d

Please sign in to comment.