4 Declare Theme - pillSoft/Piller GitHub Wiki

How Declare themes in Piller

Piller use xml to declare themes and provide some tags that you must use
Go to /assets/Themes.xml

Available Tags

  • 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 )

Example

<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>

Remember

  • The first line of Themes.xml must be and the last must be
  • Each theme has as a first line and as last
⚠️ **GitHub.com Fallback** ⚠️