Skip to content

Commit fcb6b42

Browse files
committed
broad stroke fixes for dark mode new branch dialog; still needs tweaks
1 parent 1bd564b commit fcb6b42

File tree

1 file changed

+19
-25
lines changed

1 file changed

+19
-25
lines changed

src/style/NewBranchDialog.ts

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { style } from 'typestyle';
22

33
export const branchDialogClass = style({
4-
width: '400px',
4+
backgroundColor: 'var(--jp-layout-color1)!important',
5+
borderRadius: '3px!important',
6+
color: 'var(--jp-ui-font-color1)!important',
57
height: '460px',
6-
7-
borderRadius: '3px!important'
8+
width: '400px'
89
});
910

1011
export const closeButtonClass = style({
@@ -54,21 +55,17 @@ export const contentWrapperClass = style({
5455
});
5556

5657
export const nameInputClass = style({
58+
backgroundColor: 'var(--jp-layout-color0)',
59+
border: 'var(--jp-border-width) solid #e0e0e0',
60+
borderRadius: '3px',
5761
boxSizing: 'border-box',
58-
59-
width: '100%',
60-
height: '2em',
61-
62-
marginBottom: '16px',
63-
64-
/* top | right | bottom | left */
65-
padding: '1px 18px 2px 7px',
66-
62+
color: 'var(--jp-ui-font-color1)',
6763
fontSize: 'var(--jp-ui-font-size1)',
6864
fontWeight: 300,
69-
70-
border: 'var(--jp-border-width) solid #e0e0e0',
71-
borderRadius: '3px',
65+
height: '2em',
66+
marginBottom: '16px',
67+
padding: '1px 18px 2px 7px' /* top | right | bottom | left */,
68+
width: '100%',
7269

7370
$nest: {
7471
'&:active': {
@@ -98,19 +95,16 @@ export const filterClass = style({
9895
});
9996

10097
export const filterInputClass = style({
98+
backgroundColor: 'var(--jp-layout-color0)',
99+
border: 'var(--jp-border-width) solid #e0e0e0',
100+
borderRadius: '3px',
101101
boxSizing: 'border-box',
102-
103-
width: '100%',
104-
height: '2em',
105-
106-
/* top | right | bottom | left */
107-
padding: '1px 18px 2px 7px',
108-
102+
color: 'var(--jp-ui-font-color1)',
109103
fontSize: 'var(--jp-ui-font-size1)',
110104
fontWeight: 300,
111-
112-
border: 'var(--jp-border-width) solid #e0e0e0',
113-
borderRadius: '3px',
105+
height: '2em',
106+
padding: '1px 18px 2px 7px' /* top | right | bottom | left */,
107+
width: '100%',
114108

115109
$nest: {
116110
'&:active': {

0 commit comments

Comments
 (0)