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 6060 vertical-align : top;
6161}
6262# about-icon : hover {
63- background-color : # ddd ;
63+ background-color : # 999 ;
6464 border-color : # ccc ;
6565 cursor : pointer;
6666}
6767
6868# toolbar {
6969 padding-left : 3px ;
70- color : # 666 ;
7170}
7271# toolbar .fa {
7372 padding : 2px 5px ;
7978}
8079# toolbar .fa : hover ,
8180# toolbar .icon : hover {
82- background-color : # ddd ;
81+ background-color : # 999 ;
8382 border-color : # ccc ;
8483 cursor : pointer;
8584}
Original file line number Diff line number Diff line change @@ -66,6 +66,15 @@ export class Store {
6666 document . getElementById ( 'dark-theme' ) . setAttribute ( 'disabled' , 'true' ) ;
6767 }
6868
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+
6978 // editor font size
7079 this . editor . dispatch ( {
7180 effects : this . editorFontSize . reconfigure (
You can’t perform that action at this time.
0 commit comments