Skip to content

add a theme contrast checker

A CLI tool for viewing all theme colors. I've put all the results in a github page (https://jonathanpoelen.github.io/kf5-syntax-highlighting-tools/).

An extract here with the 2 Breeze themes (options are filters)

utils/theme_contrast_checker.py data/themes/breeze-*.theme -bcH -f BackgroundColor

2023-11-20-022103_1000x666_scrot

2023-11-20-022046_1007x668_scrot

This is obviously something I've noticed before: the dark theme doesn't have sufficient contrast. Personally, I use a variant with intensified colors.

Some themes are unusable because the colors are the same as the background (e.g. gruvbox Dark for Alert, Information and Warning).

From what I've seen, dark themes have poorer contrast and the color of comments is never sufficiently contrasted.

Merge request reports