aw-webui icon indicating copy to clipboard operation
aw-webui copied to clipboard

UI color change.

Open ayushi0809 opened this issue 2 years ago • 11 comments

image We are not able to read text due the background color. I have made few changes . image Should I do a PR for the same

ayushi0809 avatar Mar 25 '23 05:03 ayushi0809

The color picker could be simplified by removing the row of colors not quite usable for a particular theme. Darker colors work bad on light theme, because the text is dark, and same for the dark theme - light text doesn't work on lighter colors. There is no need in giving options that work bad.

AW_colorpicker

There is another way of looking on those colors: lighter colors on the light theme are normal colors with lowered transparency. Same for the darker colors on dark theme.

When switching themes, lighter colors should be changed to their darker versions with the same hue. Normal colors (the middle row on the palette) should remain the same. Colors defined by the user should be recalculated, while palette colors could just be swapped with their darker/lighter sibling.

nevfy-y avatar Dec 29 '23 22:12 nevfy-y