Skip to content

Conversation

@web-padawan
Copy link
Member

Description

This is a finding from TaskMob where the following CSS breaks transparent background for tertiary-inline button:

:host(:not([theme~="tertiary"]):not([theme~="primary"])) {
    background-color: var(--lumo-primary-color-10pct);
}

When used as part of custom CSS property value, !important apparently gets lost.
This problem was introduced long ago in #6672 (exists in V24.3+).

Type of change

  • Bugfix

@web-padawan web-padawan requested review from jouni and vursen December 15, 2025 14:00
@sonarqubecloud
Copy link

@web-padawan web-padawan removed the request for review from vursen December 16, 2025 06:23
@web-padawan web-padawan merged commit 9a40211 into main Dec 16, 2025
9 checks passed
@web-padawan web-padawan deleted the fix/button-tertiary-bg-important branch December 16, 2025 06:23
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.

3 participants