SystemUI: monet: Allow a more granular control over shades [2/2]
Do that by letting the user control the luminance and chroma factors of accent / background colors Use Settings.Secure.THEME_CUSTOMIZATION_OVERLAY_PACKAGES as an existing medium to store choices Also refactor the code here Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -896,5 +896,11 @@
|
||||
<string name="color_source_preset">Preset</string>
|
||||
<string name="accent_color_title">Accent Color</string>
|
||||
<string name="accent_color_summary">Override default accent color</string>
|
||||
<string name="luminance_factor_title">Luminance</string>
|
||||
<string name="luminance_factor_summary">Higher values produce brighter colors</string>
|
||||
<string name="chroma_factor_title">Chroma</string>
|
||||
<string name="chroma_factor_summary">Higher values produce stronger colors</string>
|
||||
<string name="tint_background_title">Tint Background</string>
|
||||
<string name="tint_background_summary">Make Luminance and Chroma selection affect background colors as well</string>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user