Android Code Snippet ThemeColors

This codemodule provide colorpalettes from 22 different themes:

Oceanic
Darker
Lighter
Palenight
DeepOcean
Forest
SykBlue
SandyBeach
Volcano
Monokai
Dracula
Github
GithubDark
ArcDark
OneDark
OneLight
SolarizedDark
SolarizedLight
NightOwl
LightOwl
Moonlight
Synthwave84

Set the theme with
B4X:
ThemeColors.setTheme("Forest")
After that you can access the color variables and use it for your views

themes.gif



As long as my wish is still a wish: ;-)
you can run this in degug mode and it will output the colorkeys with its actual color into the log

1645484623785.png
 

Attachments

  • ThemeColors.bas
    25.3 KB · Views: 351
Last edited:
Top