Colours were shaped in HSV, whose "value" is not perceived brightness: at one pinned value the hues spread across relative luminance 0.10 to 0.45, straddling the black/white ink crossover at 0.179. So the ink was decided by hue — red and purple took white, orange and blue took black — and the fills nearest the crossover were the mid colours that contrast badly with either ink. Shape them in Oklch instead, where lightness matches what the eye calls brightness, and split the two jobs one colour was doing: a container sits behind text and must contrast with its ink, an accent is a mark on a surface and must contrast with the surface. Nine call sites that were painting marks now ask for the accent. Colours go to whichever pole they already sit nearer rather than all being forced deep — a dark orange is brown and a dark yellow is olive, so the warm, naturally light hues keep their character and take dark ink while the rest go deep and take white. Either way they land clear of the middle, which was the fault. White ink is now 5.6-6.3:1 on every deep hue and dark ink 11:1 on the light ones, against 2.7-8.2:1 before. Picker curation now calls the same eventTone the picker paints with, instead of a copy of the shaping kept in step by hand, and drops its CIE Lab helper for Oklab distance. Renames the setting to "harmonise", since it no longer softens anything.
This commit is contained in:
@@ -330,8 +330,8 @@
|
||||
<string name="settings_default_view">Default view</string>
|
||||
<string name="settings_dynamic_color">Dynamic colour</string>
|
||||
<string name="settings_dynamic_color_unavailable">Requires Android 12 or newer</string>
|
||||
<string name="settings_soften_colors">Soften calendar colours</string>
|
||||
<string name="settings_soften_colors_summary">Tone calendar and event colours down to fit the theme. Turn off to show the raw colours from the calendar source.</string>
|
||||
<string name="settings_soften_colors">Harmonise calendar colours</string>
|
||||
<string name="settings_soften_colors_summary">Keep each calendar\'s hue but even out its brightness, so every event stays legible and the colours sit together. Turn off to show the raw colours from the calendar source.</string>
|
||||
<string name="settings_font_headings">Headings font</string>
|
||||
<string name="settings_font_body">Body font</string>
|
||||
<string name="settings_font_system">System default</string>
|
||||
|
||||
Reference in New Issue
Block a user