Closed crumblingstatue closed 2 years ago
Definitely a nice feature, would probably require some sort of persistent configuration file.
I've made an initial implementation, you can check out the master branch.
I think one thing that would be nice would be storing multiple custom formats and being able to use them as needed, but perhaps that could be added later on.
The syntax is described in the README.
Thank you, it's working really well! Before closing this issue though, I would really like it if custom color formats were saveable, like you mentioned!
I've added persistent custom formats, should be up on master branch. After playing around with it for a bit, everything seemed to be working fine. It is a pretty basic implementation but should suffice for now. Let me know if you encounter any bugs ;)
Thank you very much! I've been looking for a good color picker, and I think this will be my main choice from now on!
Let the user define custom color display formats. For example, when working on an egui project, the user could simply define an egui color format
egui::Color32::from_rgb({r}, {g}, {b})
, which then can be easily copied to the clipboard with a click.The design of the description language is yet to be decided, but I think a very simple basic language should be sufficient, maybe similar to the Rust format syntax.
Good to have features: