-
Notifications
You must be signed in to change notification settings - Fork 87
chore: update Aura dev page, add theme editor #10151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ea65cb4 to
4a6dea9
Compare
4a6dea9 to
ea57c6d
Compare
| position="top-start" | ||
| width="320px" | ||
| style="--aura-base-size: 12; --aura-base-font-size: 13" | ||
| theme |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This affects font-size and line-height which I believe should be handled by the component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m not sure I understand what you mean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a blocker for this PR, let's look into it separately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, right, you meant that. Yeah, that’s intentional, that some custom property values are re-evaluated on elements that have the theme attribute. This is so that a custom theme can define for example [theme~="small"] { --aura-base-size: 12; --aura-base-font-size: 12; }.
We can think of alternative selectors. The universal * selector is one option, but I thought that would probably cause performance problems.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That button with theme="" is a mistake, though.
|
|
This ticket/PR has been released with Vaadin 25.0.0-alpha12. |





Depends on #10146
Add a theme editor and more dummy content to the Aura theme dev page.
The theme editor controls have been generated by an LLM.