-
Notifications
You must be signed in to change notification settings - Fork 17
Tint Colors
Warning: The following feature is currently still under development and subject to change.
Anemone allows changing the tint color of the UI. On iOS 7 and higher, a lot of the UI is based on the tint colors that are set. Anemone allows changing the tint of views and allows targeting specific views or just enabling it for everything.
Tint Color settings, just like images, stack up as themes are enabled so you can feel free to include multiple sub-themes that have different tint color settings and they'll add up.
Key: "TintFilter"
Type: Dictionary
Anemone allows targeting which apps to load or not load the tint settings in.
Note: You must have tint filter settings, even a blank filter, or your tint settings will not be loaded.
Key: "policy"
Type: String
Default: blacklist
The tint policy specifies whether Tints should be allowed on a whitelist or blacklist basis. Set to "whitelist" to whitelist individual apps.
Key: "BundleIdentifiers" Type: Array
An array of bundle id's to whitelist or blacklist based on the tint policy setting.
Key: "TintColors" Type: Dictionary
A dictionary with the values as CSS-compatible color strings to specify the color to tint each view. The key is the class or superclass of the desired UIView type to change. Example classes are listed below.
Note: More specific class definitions override less-specific class definitions, regardless of theme ordering.
Class | Description |
---|---|
UIView | Tint /everything/. May be easily overridden though. |
Global | An alias for UIView |
UITableView | Table Views (E.g. Settings Panels) |
UISwitch | Toggle Switches |
UISegmentedControl | The frame of segmented buttons |
UISegment | Segmented Buttons |
UINavigationBar | Navigation Bars |
UIToolbar | Toolbars |
_UINavigationBarBackIndicatorView | Back buttons on Navigation Bars |
UISlider | Sliders |