-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add custom theme support #21369
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
base: 0.18
Are you sure you want to change the base?
Add custom theme support #21369
Conversation
✅ Deploy Preview for frigate-docs canceled.
|
|
Thanks for this PR. There are a number of issues that need to be addressed before we would consider merging:
|
|
Also, Frigate 0.17 is feature-frozen, so if you do decide to refactor this, it would need to be based on the |
I'll look into the issues after the holidays probably. I'll change the branch. Happy Holidays! |
|
Should be fixed, happy holidays 🎄 |
|
you'll need to rebase without the changes from dev |
5a93f64 to
8c508b5
Compare
Of course, I was too quick, sorry. Should be fixed now. |
|
you can use |
Proposed change
Add option to add custom themes. For now the custom themes need to be an exact match of all the variables, because there is no fallback. This is exactly how the other themes are used as of now.
To create a custom theme:
Naming will be automatic, so theme-xmas-2025.css will be Xmas-2025 in the list.
I will add a PR for the docs, containing an example theme.css file. Maybe in the future we can add CSS fallback to variables, to make themes more save.
Type of change
Additional information
Checklist
enlocale.ruff format frigate)