I want to use the Sun Valley Dark theme
sv_ttk.set_theme("dark")
However, I want to change the fonts, possibly by using a style
@staticmethod
def getStdFont():
return Font(family="Courier", size=16)
stdFont = getStdFont()
s = ttk.Style()
s.theme_create( "MyStyle", parent="alt", settings=
{
"TNotebook": {"configure": {"padding": [2, 2], "font": (stdFont) } },
"TNotebook.Tab": {"configure": {"padding": [2, 2], "font": (stdFont) } },
"TLabel": {"configure": {"font": (stdFont) } },
"TButton": {"configure": {"font": (stdFont) } }
})
s.theme_use("MyStyle")
It seems as if each are overwriting each other rather than combining the two.
I tried to add the sv_ttk
theme to myStyle
but couldn't figure out how.
I tried to change the font size of the sv_ttk
theme but couldn't figure out how
I don't care which way it's done, I just want the dark theme with different font sizes.