Page 1 of 1

Editor Panel Button / Dark Theme!

Posted: Wed Oct 09, 2024 8:32 pm
by Mijikai
The light Panel Buttons look weird with a dark theme:
Image

A dark option would be nice :)

Re: Editor Panel Button / Dark Theme!

Posted: Wed Oct 09, 2024 9:03 pm
by chi
+1

I'd prefer some additional fields under Preferences/Editor/Coloring to set the Tab background and text color individually. This way we can load/save matching tab colors with the Color Schemes

Re: Editor Panel Button / Dark Theme!

Posted: Thu Oct 10, 2024 10:31 am
by AZJIO
TabBarGadget.pbi

Code: Select all

; Default colors
#TabBarGadgetColor_TabBarDefault = $D0D0D0
#TabBarGadgetColor_BorderDefault = $808080
#TabBarGadgetColor_FaceDefault   = $D0D0D0
#TabBarGadgetColor_TextDefault   = $000000
Apparently these colors should request the system color.

Code: Select all

CompilerSelect #PB_Compiler_OS
	CompilerCase #PB_OS_Windows
		\TabBarColor   = $FF<<24 | GetSysColor_(#COLOR_BTNFACE)
		\BorderColor   = $FF<<24 | GetSysColor_(#COLOR_3DSHADOW)
		\FaceColor     = $FF<<24 | GetSysColor_(#COLOR_BTNFACE)
		\TextColor     = $FF<<24 | GetSysColor_(#COLOR_BTNTEXT)
	CompilerDefault
		\TabBarColor   = $FF3F3F3F ; forced black for Linux
		\BorderColor   = $FF666666
		\FaceColor     = $FF444444
		\TextColor     = $FFCCCCCC
CompilerEndSelect