File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ export class ThemesManager {
9191 document . body . style . setProperty ( "--color-border" , "var(--borders)" ) ;
9292 document . body . style . setProperty ( "--color-text-disabled" , "var(--text-disabled)" ) ;
9393 document . body . style . setProperty ( "--color-bg-selected-secondary" , "var(--bg-panel)" ) ;
94+ document . body . style . setProperty ( "--color-bg-selected" , "var(--bg-panel-hover)" ) ;
95+ document . body . style . setProperty ( "--color-text-toolbar" , "var(--text)" ) ;
9496 }
9597
9698 init ( ) : void {
@@ -140,9 +142,18 @@ export class ThemesManager {
140142 }
141143 if ( / t o o l _ b a r - - t o o l B a r R i g h t S i d e | p a g e s _ p a n e l - - p a g e R o w S e l e c t e d / . test ( cssRule . selectorText ) ) {
142144 cssRule . style [ "fill" ] = `var(--text-active)` ;
145+ cssRule . style [ "background-color" ] = `var(--bg-panel-hover)` ;
143146 }
144- if ( / .s v g - c o n t a i n e r / . test ( cssRule . selectorText ) ) {
145- additionStyleRules . push ( `.svg-container path:not([fill="none"]) { fill: var(--text-active); }` ) ;
147+ if ( / c o m m u n i t y _ h u b _ l i n k - - c o m m u n i t y A r r o w | n e w _ f i l e _ c r e a t i o n _ t o p b a r - - p l u s I c o n / . test ( cssRule . selectorText ) ) {
148+ cssRule . style [ "fill" ] = `var(--text-active)` ;
149+ }
150+ if (
151+ / n e w _ f i l e _ c r e a t i o n _ t o p b a r - - i m p o r t I c o n | o p t i o n _ b u t t o n - - _ o p t i o n B u t t o n | r a w _ c o m p o n e n t s - - _ i c o n B u t t o n | o b j e c t _ r o w - - l a y e r I c o n | s e g m e n t e d _ c o n t r o l - - i c o n / . test (
152+ cssRule . selectorText ,
153+ )
154+ ) {
155+ cssRule . style [ "color" ] = `var(--text-active)` ;
156+ cssRule . style [ "fill" ] = `var(--text-active)` ;
146157 }
147158 if ( / .t e x t - - _ n e g T e x t / . test ( cssRule . selectorText ) ) {
148159 additionStyleRules . push ( `${ cssRule . selectorText } { color: var(--fg-header); }` ) ;
You can’t perform that action at this time.
0 commit comments