File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 60
60
vertical-align : top;
61
61
}
62
62
# about-icon : hover {
63
- background-color : # ddd ;
63
+ background-color : # 999 ;
64
64
border-color : # ccc ;
65
65
cursor : pointer;
66
66
}
67
67
68
68
# toolbar {
69
69
padding-left : 3px ;
70
- color : # 666 ;
71
70
}
72
71
# toolbar .fa {
73
72
padding : 2px 5px ;
79
78
}
80
79
# toolbar .fa : hover ,
81
80
# toolbar .icon : hover {
82
- background-color : # ddd ;
81
+ background-color : # 999 ;
83
82
border-color : # ccc ;
84
83
cursor : pointer;
85
84
}
Original file line number Diff line number Diff line change @@ -66,6 +66,15 @@ export class Store {
66
66
document . getElementById ( 'dark-theme' ) . setAttribute ( 'disabled' , 'true' ) ;
67
67
}
68
68
69
+ // toolbar theme
70
+ if ( darkTheme ) {
71
+ document . getElementById ( 'toolbar' ) . style . backgroundColor = '#0d1117' ;
72
+ document . getElementById ( 'toolbar' ) . style . color = '#f0f6fc' ;
73
+ } else {
74
+ document . getElementById ( 'toolbar' ) . style . backgroundColor = 'white' ;
75
+ document . getElementById ( 'toolbar' ) . style . color = '#666' ;
76
+ }
77
+
69
78
// editor font size
70
79
this . editor . dispatch ( {
71
80
effects : this . editorFontSize . reconfigure (
You can’t perform that action at this time.
0 commit comments