Add color themes shared by the components of wicket-extensions
Los mantenedores suelen responder en 1 día
@reiern70 ya está trabajando en esto.
Desde el 2/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
The components of wicket-extensions each bring their own style sheet with their own hard-coded colors. An application that wants its tables, progress bars and panels to match its look has to override every style sheet separately, and has no way to give one part of a page a different look from another.
This proposes shared color themes, in a new package org.apache.wicket.extensions.theme:
- Properties: the colors are defined once, as CSS custom properties named --wicket-theme-* (primary, primary-dark, on-primary, accent, text, surface, surface-alt, hover, selected, highlight, toolbar, border, progress, progress-dark, track, color-scheme). The style sheets of the components read them.
- Themes: a theme is a CSS class setting the properties. Theme ships DEFAULT, BLUE, RED, GREY and GREEN; Theme.CSS is the style sheet defining them. An application defines a theme of its own as a CSS class setting the same properties.
- ThemeBehavior: puts a theme's class on a component and contributes the style sheet. On the page, the theme applies to every themable component inside it; on a single component, only to that one. The theme comes from a model, so re-rendering the component switches it, for example via Ajax from a drop-down.
- Form controls: --wicket-theme-color-scheme sets the color scheme of the text fields, selects and check boxes inside themed components, so they match the theme even on a page that declares color-scheme: light dark and is shown in dark mode.
- Content Security Policy: themes are switched by CSS class only and need no inline style, so they work under a strict CSP.
- Compatibility: components read the properties only inside a theme, so a component without a theme looks as it does without this change.
Components using it: the DynamicDataTable (header, rows, toolbars, resize handles), the ProgressBar (#1635) and the CollapsiblePanel (#1636). The examples get a theme drop-down on their pages.
- Lenguaje dominante
- Java
- Estrellas
- 800
- Forks
- 437
- Merge medio
- 21 h 36 min
- PR fusionados (30 d)
- 167
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/wicket
-
PropertyResolver fails on JDK classes with a non-public field named like the propertyPosiblemente ocupada @vaibhavgupta443 la tomó hoy. Abiertogood first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
apache/wicket#1991 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Stop the autocomplete from accumulating request parameters while typingPosiblemente ocupada @aryankalantri la tomó hoy. Abiertogood first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
apache/wicket#1947 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Validate the report-uri value given to CSPHeaderConfiguration#reportBackPosiblemente ocupada @AzizOuertani la tomó hace 3 días. Abiertogood first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
apache/wicket#1946 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
Todos los issues de apache/wicket
Issues similares
-
Quick Installation step 2 installs from the plugin manager, but the plugin isn't published yetAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
jenkinsci/user-guide-ai-chatbot-plugin#132 ·
Los mantenedores suelen responder en 6 días
-
account assessment course feature lecture
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
[Bug] 连接达梦时报错,agent 进程启动即退Abiertobug db/dameng user-priority/P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
t8y2/dbx#15534 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
app:learninggoalhub enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100