Skip to content

fix(list): theme variables replicated for all list components#1853

Merged
rkaraivanov merged 1 commit intomasterfrom
simeonoff/fix-list-themes
Sep 17, 2025
Merged

fix(list): theme variables replicated for all list components#1853
rkaraivanov merged 1 commit intomasterfrom
simeonoff/fix-list-themes

Conversation

@simeonoff
Copy link
Collaborator

This PR fixes a critical issue with the list component that prevents it from being styled using CSS variables alone.

The component includes the CSS variables for the list theme in all list-related components (list-item, list-header, and the list host itself), forcing people to have to override the variables in all three instances.

This PR includes the theme CSS variables only in the list host, while component specific overrides for the item and header are preserved and carried by each component separately.

This PR fixes a critical issue with the list component that prevents it
from being styled using CSS variables alone.

The component includes the CSS variables for the list theme in all
list-related components (list-item, list-header, and the list host
itself), forcing people to have to override the variables in all three
instances.

This PR includes the theme CSS variables only in the list host, while
component specific overrides for the item and header are preserved and
carried by each component separately.
@rkaraivanov rkaraivanov merged commit d2258ca into master Sep 17, 2025
5 checks passed
@rkaraivanov rkaraivanov deleted the simeonoff/fix-list-themes branch September 17, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants