4 Declare Theme - pillSoft/Piller GitHub Wiki
Piller use xml to declare themes and provide some tags that you must use
Go to /assets/Themes.xml
- Name : Declare the theme name
- Package : Declare the package name of theme
- Type : Declare the type of theme ( available Cm or Rro ) ( you can write "cm" "cM" "CM" "Cm" )
- Color : Declare the primary color of theme and the color of card that represent your theme in the list
- Dark Color : Declare the dark color of theme
- Accent Color : Declare the accent color of theme
- Highlighted Color : Declare the highlighted color of theme ( will be used for some graphic element inside ThemeActivity )
- Motto : A simple description of your theme ( will be showed on card )
<Theme>
<Name>Lin Purple</Name>
<Package>me.giuliofagioli.linPurple</Package>
<Type>Cm</Type>
<Color>#673AB7</Color>
<DarkColor>#4527A0</DarkColor>
<AccentColor>#9C27B0</AccentColor>
<HighlightedColor>#673AB7</HighlightedColor>
<Motto>Simply,Clean and Awesome! Teal!</Motto>
</Theme>
- The first line of Themes.xml must be and the last must be
- Each theme has as a first line and as last