KEMBAR78
refactor: allow global overrides of form-layout custom properties by jouni · Pull Request #10286 · vaadin/web-components · GitHub
Skip to content

Conversation

@jouni
Copy link
Member

@jouni jouni commented Oct 2, 2025

Fixes #1156

Allow developers to override --vaadin-form-layout-* properties on any level of the DOM hierarchy, not just on the layout host.

@jouni jouni force-pushed the fix/form-layout-base-styles branch from 5d98409 to e797478 Compare October 2, 2025 12:28
@jouni jouni changed the title fix: use gap instead of margins for field spacing and allow global overrides fix: allow global overrides of form-layout custom properties Oct 2, 2025
@jouni jouni force-pushed the fix/form-layout-base-styles branch from e797478 to 15307a1 Compare October 2, 2025 12:33
@jouni jouni force-pushed the fix/form-layout-base-styles branch from 15307a1 to 42e55ed Compare October 2, 2025 12:42
@jouni jouni requested a review from web-padawan October 2, 2025 12:44
Copy link
Member

@web-padawan web-padawan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated Lumo accordingly, please check if default values are ok, especially 8em.

@web-padawan web-padawan changed the title fix: allow global overrides of form-layout custom properties refactor: allow global overrides of form-layout custom properties Oct 2, 2025
@web-padawan web-padawan force-pushed the fix/form-layout-base-styles branch from daf4244 to e93dff0 Compare October 2, 2025 12:54
@jouni
Copy link
Member Author

jouni commented Oct 2, 2025

Yeah, looks fine. 8em was the default value before as well, right, so nothing changing there.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 2, 2025

@web-padawan web-padawan merged commit 1c75e5b into main Oct 2, 2025
9 checks passed
@web-padawan web-padawan deleted the fix/form-layout-base-styles branch October 2, 2025 13:21
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 25.0.0-alpha14.

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.

[form-layout] It should be possible to override default spacing values at global level

3 participants