Which color should we use for background under white text in Dark Mode?
Some users like light mode better than Dark Mode because their eyes are tired from dazzling white text on black background.
According to my sources,
I know text should have a contrast ratio of at least 4.5:1 (or 7:1), but I haven't heard about "at most".
Does anyone know such guideline?
Should I use UIColor.secondarySystemBackground with UIColor.label ?
Thank you.
Some users like light mode better than Dark Mode because their eyes are tired from dazzling white text on black background.
According to my sources,
UIColor.systemBackground is usually #000000 and UIColor.label is #FFFFFF on Dark Mode.
However Apple's application (e.g. Note.app, Messages.app) don't use #000000 background with text.
material.io advises to use #121212 for dark theme.
Twitter's Dim theme uses #FFFFFF text on #15202B background.
Twitter's Lights out theme uses #D9D9D9 text on #000000 background.
I know text should have a contrast ratio of at least 4.5:1 (or 7:1), but I haven't heard about "at most".
Does anyone know such guideline?
Should I use UIColor.secondarySystemBackground with UIColor.label ?
Thank you.