SAP / ui5-webcomponents-ngx

UI5 Web Components for Angular provides directives for each UI5 Web Component. The directives allow to easily build your Angular application following the SAP Design System.
https://ui5-webcomponents-ngx.netlify.app/
Apache License 2.0
27 stars 4 forks source link

Standardize available themes #24

Closed N1XUS closed 1 year ago

N1XUS commented 1 year ago

Feature Request Description

Currently, we don't have one source of truth when it comes to the list of available themes:

With such different lists of supported themes it becomes hard to actually sync theming across multiple libs in one app.

Proposed Solution

A clear and concise description of the solution you would like to have. --> Theming package generator should know which set of themes can be used with components used in app. I mean, if we have ui5-webcomponents AND fundamental-styles, we should exclude belize and sap_fiori_3_light_dark since these themes are not supported by both libraries at the same time. On the other hand, if application has only ui5-webcomponents, we should not restrict belize theme.

Proposed Alternatives

Additional Context

Priority

A clear and concise description of the impact/urgency of the required feature.

Stakeholder Info (if applicable)

github-actions[bot] commented 1 year ago

Hello @N1XUS, thank you for using ui5-webcomponents-ngx! The ui5-webcomponents-ngx team will triage your issue as soon as possible.

g-cheishvili commented 1 year ago

The best way would be that provider gives list of available themes and then the main service queries both(or more) and understands which ones are available for current application, given the providers