Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Config editor color picker #220

Open
2 tasks
xamionex opened this issue Jan 27, 2025 · 2 comments
Open
2 tasks

[FEATURE] Config editor color picker #220

xamionex opened this issue Jan 27, 2025 · 2 comments

Comments

@xamionex
Copy link

I was thinking of a color picker for configs which are just color variables

  • Detect color variables
  • Make color picker that supports rgb(a), hex(a), hsl(a)

Color picker ui should probably be compact, it is up to you to make it however you want
also, I know you're not working that much on gale rn, I won't hurry you but I feel like I should post this before I forget about it ;P

concept:
Image

@Kesomannen
Copy link
Owner

Maybe, I think detecting color values could be quite complicated and error-prone though. BepInEx doesn't have support for them builtin so people represent them with all kinds of formats as you say (hex, rgb, hsl).

@xamionex
Copy link
Author

if Rust has some sort of regex implementation and if it does it'd be much easier
but yeah there is no standard for colors in bepinex configs, it could be any one of them but I think sticking to just hex would be great as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants