File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,12 @@ export const EditorFrame = React.forwardRef<
68
68
...style ,
69
69
} }
70
70
>
71
- < div className = { "ch-frame-title-bar" } >
71
+ < div
72
+ className = { "ch-frame-title-bar" }
73
+ style = { {
74
+ color : getColor ( theme , ColorName . IconForeground ) ,
75
+ } }
76
+ >
72
77
< TabsContainer
73
78
tabs = { northPanel . tabs }
74
79
showFrameButtons = { true }
@@ -89,6 +94,10 @@ export const EditorFrame = React.forwardRef<
89
94
className = { "ch-frame-title-bar" }
90
95
style = { {
91
96
transform : southPanel . style ?. transform ,
97
+ color : getColor (
98
+ theme ,
99
+ ColorName . IconForeground
100
+ ) ,
92
101
} }
93
102
>
94
103
< TabsContainer
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ export enum ColorName {
45
45
InputBackground ,
46
46
InputBorder ,
47
47
SelectionBackground ,
48
+ IconForeground ,
48
49
}
49
50
50
51
type Color = string | undefined
@@ -200,6 +201,15 @@ export function getColor(
200
201
hc : "#f3f518" ,
201
202
} )
202
203
)
204
+ case ColorName . IconForeground :
205
+ return (
206
+ colors [ "icon.foreground" ] ||
207
+ getDefault ( theme , {
208
+ dark : "#C5C5C5" ,
209
+ light : "#424242" ,
210
+ hc : "#FFFFFF" ,
211
+ } )
212
+ )
203
213
default :
204
214
return "#f00"
205
215
}
You can’t perform that action at this time.
0 commit comments