File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ private void SetAppearance()
3636 {
3737 // 40444B
3838 textBoxBackground = themeService . IsLightTheme ? ColorCon . Convert ( "#DADBDC" ) : ColorCon . Convert ( "#2A2E33" ) ;
39- textBoxForeground = themeService . IsLightTheme ? ColorCon . Convert ( "#000000 " ) : ColorCon . Convert ( "#FFFFFF " ) ;
40- richtextBoxBackground = themeService . IsLightTheme ? ColorCon . Convert ( "#E3E5E8" ) : ColorCon . Convert ( "#40444B " ) ;
39+ textBoxForeground = themeService . IsLightTheme ? ColorCon . Convert ( "#1A1A1A " ) : ColorCon . Convert ( "#F7F7F7 " ) ;
40+ richtextBoxBackground = themeService . IsLightTheme ? ColorCon . Convert ( "#E3E5E8" ) : ColorCon . Convert ( "#2C3036 " ) ;
4141 btnHoverColor = themeService . IsLightTheme ? ColorCon . Convert ( "#D0D1D2" ) : ColorCon . Convert ( "#373737" ) ;
4242 }
4343
Original file line number Diff line number Diff line change 108108 HorizontalAlignment =" Stretch" VerticalAlignment =" Stretch" >
109109 <local : BindableAvalonEditor
110110 xmlns : avalonEdit =" http://icsharpcode.net/sharpdevelop/avalonedit"
111- Background =" {Binding richtextBoxBackground} "
111+ Background =" Transparent "
112112 Foreground =" {Binding textBoxForeground}"
113113 BorderThickness =" 0"
114114 Margin =" 5,9,0,0"
117117 FontFamily =" {StaticResource firacode}"
118118 FontSize =" 14"
119119 ShowLineNumbers =" True"
120+
121+ LineNumbersForeground =" {Binding textBoxForeground}"
120122 ScrollViewer.CanContentScroll=" True"
121123 ScrollViewer.HorizontalScrollBarVisibility=" Auto"
122124 ScrollViewer.VerticalScrollBarVisibility=" Auto"
You can’t perform that action at this time.
0 commit comments