Improve custom theme support. #79

Closed
opened 2018-04-16 01:56:28 +00:00 by hj · 1 comment
Owner

With each new improvement to the custom theme the preview panel becomes more and more useless due to fact it only reflects the input colors. It's impossible to preview stuff like alerts and (in some MRs) inputboxes and faint text because those use computed colors (like midtones, desaturated versions, transparent) which are only known at the "apply stage", not "setup/preview stage". The proposal is to store colors in rgb(a) format instead of hex, and to calculate all the needed colors at early stage, so that user can preview all the stuff he needs right away.

Also colorpicker doesn't seem to support alpha channel so gotta make additional control for that.

With each new improvement to the custom theme the preview panel becomes more and more useless due to fact it only reflects the input colors. It's impossible to preview stuff like alerts and (in some MRs) inputboxes and faint text because those use computed colors (like midtones, desaturated versions, transparent) which are only known at the "apply stage", not "setup/preview stage". The proposal is to store colors in rgb(a) format instead of hex, and to calculate all the needed colors at early stage, so that user can preview all the stuff he needs right away. Also colorpicker doesn't seem to support alpha channel so gotta make additional control for that.
Author
Owner

WIP in #1649

WIP in #1649
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe#79
No description provided.