Skip to content

refactor: update map Lumo CSS to extend base styles #9656

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

Merged
merged 1 commit into from
Jul 9, 2025

Conversation

web-padawan
Copy link
Member

@web-padawan web-padawan commented Jul 7, 2025

Description

Removed core styles and added tweaks to override base styles specifically for icons.

Type of change

  • Refactor

@web-padawan web-padawan force-pushed the refactor/map-lumo-css-use-base-styles branch from 344c0ba to f5c118e Compare July 9, 2025 09:05
@web-padawan web-padawan marked this pull request as ready for review July 9, 2025 09:05
Copy link

sonarqubecloud bot commented Jul 9, 2025

@@ -362,12 +362,12 @@ export const mapStyles = css`
mask-image: var(--vaadin-map-icon-zoom-out, var(--_vaadin-icon-minus));
}

button.ol-zoom-in {
.ol-zoom button.ol-zoom-in {
Copy link
Member Author

Choose a reason for hiding this comment

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

I had to increase specificity here, otherwise .ol-control button in Lumo sets border-radius: inherit.

@web-padawan web-padawan requested review from jouni and vursen July 9, 2025 09:06
@web-padawan web-padawan removed the request for review from vursen July 9, 2025 11:39
@web-padawan web-padawan merged commit ceeb928 into main Jul 9, 2025
10 checks passed
@web-padawan web-padawan deleted the refactor/map-lumo-css-use-base-styles branch July 9, 2025 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants