[theming]: Load multiple themes
维护者通常 2 天内回复
@ilhan007 已经在做这个了。
开始于 2025年11月6日。
评估
这个 Issue 还没有评估数据。
描述
Bug Description
Hi,
we do have multiple custom themes. In our openUI5 projects we have no problem loading them, in our new projects using the UI5 Web Components it does not work. This is currently a major blocker for us.
I found this question in https://github.com/UI5/webcomponents/issues/1737#issuecomment-641198446 but no proper answer.
If i include multiple themes it only loads the last one properly. If i try to select any other i get the error: You have requested a non-registered theme
Is it currently possible to add multiple custom themes? This is not clear in the documentation for me and all examples i found are only using one theme.
Affected Component
No response
Expected Behaviour
Include multiple themes as described in the documentation: https://ui5.github.io/webcomponents/docs/advanced/theming-part2/
Select any of the custom themes should work.
Isolated Example
https://github.com/fk-aconso/ui5-webcomponents
Steps to Reproduce
- Add multiple themes
- Select any theme: Only the last one will work.
Log Output, Stack Trace or Screenshots
@ui5_webcomponents_d…s.js?v=f2f8f665:937 You have requested a non-registered theme testgreen - falling back to sap_horizon. Registered themes are: sap_horizon
getThemeProperties @ @ui5_webcomponents_d…s.js?v=f2f8f665:937
loadThemeBase @ @ui5_webcomponents_d….js?v=f2f8f665:1110
applyTheme @ @ui5_webcomponents_d….js?v=f2f8f665:1155
await in applyTheme
Priority
None
UI5 Web Components Version
2.15.1
Browser
Firefox
Operating System
No response
Additional Context
No response
Organization
aconso
Declaration
- I’m not disclosing any internal or sensitive information.
- 主要语言
- TypeScript
- 星标
- 1.8k
- 派生
- 290
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 50
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
UI5/webcomponents 的其他 Issue
-
ACC author action
难度 2/5 1-3 小时 新手友好度 78/100
UI5/webcomponents#14273 · 1 条评论 ·
维护者通常 2 天内回复
-
[Button]: crash on Safari 17 due to missing ElementInternals.states guard in _setBadgeOverlayStyle可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭author action bug TOPIC B
难度 1/5 1 小时以内 新手友好度 87/100
UI5/webcomponents#14270 · 2 条评论 ·
维护者通常 2 天内回复
-
[Feature Request][Side Navigation][A11Y]: Enhance user experience navigating components tree items可能已有人在做 @TeodorTaushanov 于 8 天前认领。 未关闭bug Medium Prio TOPIC RD
难度 2/5 1-3 小时 新手友好度 72/100
UI5/webcomponents#14232 · 1 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
enhancement feature request TOPIC RD
难度 2/5 1-3 小时 新手友好度 68/100
UI5/webcomponents#14222 · 1 条评论 ·
维护者通常 2 天内回复
-
[SF][A11y][ui5-select] Conflicting ARIA: role="combobox" rendered with aria-roledescription="Listbox" (confuses screen-reader users)可能已有人在做 @PetyaMarkovaBogdanova 于 12 天前认领。 未关闭bug Medium Prio TOPIC P
难度 2/5 1-3 小时 新手友好度 67/100
UI5/webcomponents#14212 · 2 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
查看 UI5/webcomponents 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
awslabs/visual-asset-management-system#1278 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
mifi/lossless-cut#3213 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 83/100
plasma-umass/scalene#1123 ·
维护者通常 1 天内回复