Skip to content
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

Add component theming feature. #10154

Merged
merged 4 commits into from
Mar 2, 2021
Merged

Add component theming feature. #10154

merged 4 commits into from
Mar 2, 2021

Conversation

caalador
Copy link
Contributor

@caalador caalador commented Mar 1, 2021

Add component theming feature for custom theme.

part of #9983

caalador added 3 commits March 1, 2021 13:25
Added the feature that you can theme components
with the app theme by creating a css file in
'frontend/theme/myTheme/components' with the
component tag name e.g. 'my-field'  should have 'my-field.css'

Fixes #9348
# Conflicts:
#	flow-tests/test-themes-legacy/src/main/java/com/vaadin/flow/uitest/ui/theme/MyComponent.java
Added test that we don't touch external
urls (relative or abosolute).
Moved flow to be under path so we can have
jetty serve "external" resources.

Fixes #9430
Add the constructable stylesheets polyfill so
app theme also works with non chrome based browsers.

Fixes #9488
# Conflicts:
#	flow-server/src/main/java/com/vaadin/flow/server/frontend/NodeUpdater.java
@caalador caalador requested a review from taefi March 1, 2021 12:07
Co-authored-by: Soroosh Taefi <[email protected]>
@caalador caalador merged commit b68647b into 2.6 Mar 2, 2021
@caalador caalador deleted the issues/9983_component_theme branch March 2, 2021 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants