Skip to content

Commit cee788d

Browse files
committed
fix(theme): improve the colorTheme detail
fix #20
1 parent cc14adf commit cee788d

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

src/services/theme/colorRegistry.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const defaultVS = {
3434
'checkbox.border': Color.white,
3535
'button.background': '#007ACC',
3636
'button.foreground': Color.white,
37-
// 'button.hoverBackground': Color.fromHex('#007ACC').transparent(0.2),
3837

3938
'badge.background': '#C4C4C4',
4039
'badge.foreground': '#333',
@@ -68,6 +67,9 @@ const defaultVS = {
6867
'menu.background': Color.white,
6968
'menu.separatorBackground': '#888888',
7069

70+
'panel.background': Color.white,
71+
'panel.border': 'rgba(128, 128, 128, 0.35)',
72+
7173
'activityBar.background': 'rgb(51, 51, 51)',
7274
'activityBar.activeBorder': '#fff',
7375
'activityBar.foreground': 'rgba(255, 255, 255, 0.4)',
@@ -105,7 +107,7 @@ const defaultDark = {
105107
'checkbox.border': '#CECECE',
106108
'button.background': '#0E639C',
107109
'button.foreground': Color.white,
108-
// 'button.hoverBackground': Color.fromHex('#0E639C').transparent(0.2),
110+
'button.hoverBackground': Color.fromHex('#0E639C').transparent(0.2),
109111

110112
'badge.background': '#4D4D4D',
111113
'badge.foreground': Color.white,
@@ -139,9 +141,8 @@ const defaultDark = {
139141
'menu.background': '#3C3C3C',
140142
'menu.separatorBackground': '#BBBBBB',
141143

142-
'panel.background': 'rgb(37, 37, 38);',
143-
'panel.foreground': Color.white,
144-
'panel.border': '#CECECE',
144+
'panel.background': 'rgb(30, 30, 30)',
145+
'panel.border': '#3C3C3C',
145146

146147
'activityBar.background': 'rgb(51, 51, 51)',
147148
'activityBar.activeBorder': '#fff',

src/style/theme/actionbar.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// =============== Action Bar =============== //
44
#{$actionBar} {
55
background-color: var(--listFilterWidget-background);
6-
color: var(--button-foreground);
6+
color: var(--foreground);
77
outline-color: var(--listFilterWidget-outline);
88

99
&__item--checked {

src/workbench/editor/welcome/style.scss

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#{prefix('welcome')} {
44
align-items: center;
5+
background-color: var(--panel-background);
56
display: flex;
67
justify-content: center;
78
text-align: center;

src/workbench/panel/style.scss

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
}
1414

1515
&__header {
16+
border-color: inherit;
1617
border-top-style: solid;
1718
border-top-width: 1px;
1819
flex-direction: row;
@@ -22,10 +23,14 @@
2223
width: 100%;
2324

2425
#{$tabs} {
26+
background: inherit;
27+
border: 0;
2528
flex-grow: 1;
2629
}
2730

2831
#{$tab}__item {
32+
background: inherit;
33+
border: 0;
2934
font-size: 11px;
3035
padding: 0 10px;
3136
text-transform: uppercase;

0 commit comments

Comments
 (0)