Skip to content

Theme Categorization

CoolStar edited this page Sep 10, 2015 · 3 revisions

Theme Categorization

Theme categorization is an essential part of the Anemone experience and turns a "boring list of themes" into one that is organized. Categorization also enables other Anemone features like inline icon previews and one tap theme enabling/disabling.

Categorization Methods

Anemone can categorize themes by the package they come from or the category of theme (coming in a later version). For now, it can only categorize by package but we encourage themes to add the relevant plist entry so when categorization by categories rolls out, they won't be stashed into "Miscellaneous" in that mode.

Categorization by Package

Anemone categorizes by package using a 3 step method.

  1. Checks the Info.plist of each theme for "PackageName". If this is found, the theme is immediately categorized under that name and no further checks are done.
  2. Check dpkg for the package that the theme was installed from using dpkg/iMods/Cydia. If this is found, the package ID is noted and the name is pulled from the package.
  3. Unable to categorize - mark as Miscellaneous

Categorization by Categories

In this mode, Anemone will use a 2 step method to categorize themes.

  1. Checks the Info.plist of each theme for "ThemeType". If this is found, the theme is immediately categorized under that category and no further checks are done.
  2. Unable to categorize - mark as Miscellaneous

Note: For categorization by categories to be effective, we recommend using one of these Categories and avoiding creating arbitrary category names

  • Docks
  • Badges
  • Overlays
  • Masks
  • System Colors
  • Icons
Clone this wiki locally