Open chanan opened 4 years ago
Themes need some TLC... Maybe the ability to define a theme inside a tag will help something along the lines:
<Theme Name="MyTheme"> colors.background: red; </Theme>
or maybe json would be better?
<Theme Name="MyTheme"> { colors: { background: "red" } } </Theme>
HOCON could allow both syntaxes: https://github.com/akkadotnet/HOCON
The API will be updated to allow a theme update in one string:
IStyled.AddTheme("MyTheme", themeJsonOrString);
Lastly, need to add a way to switch between themes. API:
IStyled.SetTheme("MyTheme");
Not sure about a Tag version for that. Maybe:
<Theme SetTheme="MyTheme />
Themes need some TLC... Maybe the ability to define a theme inside a tag will help something along the lines:
or maybe json would be better?
HOCON could allow both syntaxes: https://github.com/akkadotnet/HOCON
The API will be updated to allow a theme update in one string:
Lastly, need to add a way to switch between themes. API:
Not sure about a Tag version for that. Maybe: