bennymi / ato-ui

The elemental UI component library for Svelte, built with UnoCSS and Melt UI.
https://ato-ui.vercel.app
MIT License
75 stars 6 forks source link

🌈 Contrasts Checker #82

Open bennymi opened 1 year ago

bennymi commented 1 year ago

Sometimes the contrasts between foreground and background elements are not that good. Fix these for the available themes. Also it would be nice to have a contrast checker where for each theme color it shows the contrast ratios to all other theme colors. It would also be good to have a system where contrasts always meet AA or AAA standards, but not sure yet how we could do that (for gradient buttons where the text is not always automatically the best chosen color for example...).