Skip to content

Commit b9ab321

Browse files
committed
Enforce light theming for the new branch dialog
1 parent 1f9e6ca commit b9ab321

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/style/NewBranchDialog.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ export const closeButtonClass = style({
2222

2323
$nest: {
2424
'&:hover': {
25-
backgroundColor: 'var(--jp-toolbar-active-background)'
25+
backgroundColor: '#e0e0e0'
2626
},
2727
'&:active': {
28-
backgroundColor: 'var(--jp-toolbar-active-background)'
28+
backgroundColor: '#e0e0e0'
2929
}
3030
}
3131
});
@@ -67,7 +67,7 @@ export const nameInputClass = style({
6767
fontSize: 'var(--jp-ui-font-size1)',
6868
fontWeight: 300,
6969

70-
border: 'var(--jp-border-width) solid var(--jp-border-color2)',
70+
border: 'var(--jp-border-width) solid #e0e0e0',
7171
borderRadius: '3px',
7272

7373
$nest: {
@@ -109,7 +109,7 @@ export const filterInputClass = style({
109109
fontSize: 'var(--jp-ui-font-size1)',
110110
fontWeight: 300,
111111

112-
border: 'var(--jp-border-width) solid var(--jp-border-color2)',
112+
border: 'var(--jp-border-width) solid #e0e0e0',
113113
borderRadius: '3px',
114114

115115
$nest: {
@@ -132,7 +132,7 @@ export const filterClearClass = style({
132132

133133
padding: 0,
134134

135-
backgroundColor: 'var(--jp-inverse-layout-color4)',
135+
backgroundColor: '#757575',
136136

137137
border: 'none',
138138
borderRadius: '50%',
@@ -142,13 +142,13 @@ export const filterClearClass = style({
142142
width: '0.5em!important',
143143
height: '0.5em!important',
144144

145-
fill: 'var(--jp-ui-inverse-font-color0)'
145+
fill: 'white'
146146
},
147147
'&:hover': {
148-
backgroundColor: 'var(--jp-inverse-layout-color3)'
148+
backgroundColor: '#616161'
149149
},
150150
'&:active': {
151-
backgroundColor: 'var(--jp-inverse-layout-color2)'
151+
backgroundColor: '#424242'
152152
}
153153
}
154154
});
@@ -160,7 +160,7 @@ export const listWrapperClass = style({
160160
width: '100%',
161161
height: '200px',
162162

163-
border: 'var(--jp-border-width) solid var(--jp-border-color2)',
163+
border: 'var(--jp-border-width) solid #e0e0e0',
164164
borderRadius: '3px',
165165

166166
overflow: 'hidden',
@@ -206,7 +206,7 @@ export const listItemIconClass = style({
206206
/* top | right | bottom | left */
207207
margin: 'auto 8px auto 0',
208208

209-
backgroundImage: 'var(--jp-icon-git-branch)',
209+
backgroundImage: 'var(--jp-icon-git-branch-light-theme)',
210210
backgroundSize: '16px',
211211
backgroundRepeat: 'no-repeat',
212212
backgroundPosition: 'center'
@@ -238,7 +238,7 @@ export const buttonClass = style({
238238
});
239239

240240
export const cancelButtonClass = style({
241-
backgroundColor: 'var(--jp-inverse-layout-color4)'
241+
backgroundColor: '#757575'
242242
});
243243

244244
export const createButtonClass = style({

0 commit comments

Comments
 (0)