Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Support for the new runtime feature "default theme"

Abierto
#864 2 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
tooling

Línea de trabajo

No file or test is named in the issue. Start by tracing how UI5 CLI reads framework dependencies and resolves theme projects, then compare that flow with the default-theme behavior introduced in SAP/openui5@01e9de75c; done means a project can select the version-appropriate default theme without naming a concrete theme library.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Is your feature request related to a problem? Please describe.

Since SAP/openui5@01e9de75c, the UI5 runtime supports a so called default theme. If an application configures no theme at all, no longer the incomplete base theme is used, but a default theme which depends on the used UI5 version. This feature has not only been added in master, but also in all older maintenance branches.

However, during development, one always has to reference a concrete theme project in the ui5.yaml's framework section . It's not yet possible to omit this and let the tooling pick the right dependency.

Describe the solution you'd like

It would be nice if one could specify the use of the default theme also in the dependencies of a project, either

  • by a 'magic' dependency name (like themelib_sap_default) which the tooling then translates into the default theme of the referenced UI5 version
  • or by omitting theme libs in the framework section and rather specifying a dedicated configuration (e.g. useDefaultTheme: true).

Describe alternatives that you've considered

Using the CDN is an alternative as the CDN always contains the necessary default theme per version. But this would limit the use of the default-theme feature.

Relevance

As changes of the default theme are not that frequent in UI5, this is not a hot topic. Nevertheless, support for default themes feels a bit incomplete without it.

Lenguaje dominante
JavaScript
Estrellas
511
Forks
83
Merge medio
1 d 5 h
PR fusionados (30 d)
50

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de UI5/cli

Todos los issues de UI5/cli

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.