Replies: 3 comments
-
|
🔍 Related Issues Found I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead. This comment was generated automatically. React with 👍 if helpful, 👎 if not. |
Beta Was this translation helpful? Give feedback.
-
|
I re-opened this issue under my private account. #25819 is also from me, but by mistake opened from my work station. |
Beta Was this translation helpful? Give feedback.
-
Belongs to discussions Also this can be done with a plugin not sure why this needs a PR or changes to the core. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Check Existing Issues
Verify Feature Scope
Problem Description
Hey folks,
I’d like to work on a first theming cleanup PR and wanted to check whether this direction would be welcome before I start.
I saw the older custom themes issue (#316), and it looks like this has come up before. The interesting part to me is that the blocker does not seem to be “we need more theme CSS files” as much as “the current theme logic is not easy to extend without touching application code in several places.”
Right now theme handling seems to be split across initial page load, the settings dropdown, desktop theme updates, and special cases like oled-dark / her. There are also existing partial theme CSS files, but they do not seem to be connected through a stable central theming path.
Because of this, adding more bundled themes, community themes, or custom/admin-provided themes would likely require more ad hoc logic instead of using one predictable theme flow.
Proposed Solution
For a first step, I’d like to keep the scope focused:
My goal would be a standalone PR that is useful on its own: after it lands, Open WebUI would have one stable central theming path instead of duplicated/special-case logic.
Longer term, this should make it much easier to add more bundled themes, community themes, or eventually some form of admin-provided/custom themes. But I’d treat those as follow-up discussions/PRs so this first step can stay small and reviewable.
Alternatives Considered
One option would be to add more theme CSS files directly and wire each one into the current logic. That would work short-term, but I think it would keep the same extensibility problem and make future themes harder to maintain.
Another option would be to introduce a full theme registry right away. I think that could be useful later, especially for theme libraries or uploaded themes, but it feels too broad for the first PR. I’d rather first centralize the existing theme behavior and leave registry/library support for a separate follow-up.
Additional Context
Related theme/custom-theme discussion:
Would maintainers be okay with a PR in this direction?
Beta Was this translation helpful? Give feedback.
All reactions