Skip to content

Draft: Fix color contrast in the dark theme

The previous color combination doesn't pass WCAG's AA standard of at least 4.5:1 as request by the spec (https://material.io/design/color/dark-theme.html#ui-application). This patch fixes the problem. Fixes #2246

  1. Use desaturated colors (the 200 variant) in the dark theme
  2. The fdroid green color is aligned with its nearest neighbor in https://material.io/resources/color
  3. Colors are named by their variant number in https://material.io/resources/color

Preview

1 2 3
83222da9-6c5c-4c06-ac10-5931d9f2ab74 4d1f80f4-4878-403f-a4cc-8c669fa628d8 b4fde5af-5c5a-44af-ab07-15078f04adc4
Edited by Hans-Christoph Steiner

Merge request reports