mehdibha / dotUI

✨ Accessible, mobile friendly, modern UI components.
https://dotui.org
MIT License
1.11k stars 25 forks source link

[bug] Light theme colors contrast #13

Open gregmsanderson opened 2 months ago

gregmsanderson commented 2 months ago

Feature description

Hi,

I wonder if the contrast should be increased for some of the default colours to improve accessibility?

Perhaps white text on a darker red background?

Screenshot 2024-07-11 at 14 45 40

Screenshot 2024-07-11 at 14 46 26

Affected component/components

Button, Alert

Additional Context

https://webaim.org/resources/contrastchecker/

Before submitting

mehdibha commented 2 months ago

You're absolutely right. I am currently working on a themes page, it will have pre-built themes and a theme generator with colors that are automatically contrasted using adobe leonardo under the hood. Dropping soon