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

The ability to choose the tint color of an instance's UI with a color picker in the admin panel #78

Open
broadwaylamb opened this issue Oct 2, 2024 · 2 comments

Comments

@broadwaylamb
Copy link

The title says it all. WDYT?

@grishka
Copy link
Owner

grishka commented Oct 2, 2024

The way it works right now, it's impossible to fully change the UI colors at runtime. Even if I switched from PostCSS variables to native CSS ones, that would not help with recoloring the SVG icons I embed into my CSS files (also done by PostCSS at compile time).

I'm open to suggestions how to make this possible though. But I do want to keep the icons embedded in CSS to avoid loading extra files (by putting them into a sprite sheet or something) or complicating page rendering (by directly using <svg> in HTML).

@broadwaylamb
Copy link
Author

Hot recoloring (i.e. previewing the page without reloading it during picking a new color) would indeed be difficult to implement, so maybe we shouldn't.

However, once the new color setting is saved, the server can just serve CSS files with new color settings. Or something like that, I'm actually very far from frontend development.

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