Skip to content

Conversation

jouni
Copy link
Member

@jouni jouni commented Aug 7, 2025

Align border properties with text color properties, so that the default variant is the one that provides stronger contrast, and the "subtle" variant can be used for cases which don't have strict accessibility requirements.

The border colors worked the other way before, having a "strong" variant that provides more contrast.

Basically:

  • --vaadin-border-color--vaadin-border-color-subtle
  • --vaadin-border-color-strong--vaadin-border-color

Copy link

sonarqubecloud bot commented Aug 7, 2025

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.

LGTM. We can probably mark such changes as refactor: since we are still in alpha and it only affects new style properties.

@jouni jouni changed the title refactor!: base border colors refactor: base border colors Aug 7, 2025
@web-padawan web-padawan merged commit 1c3f0bb into main Aug 7, 2025
9 checks passed
@web-padawan web-padawan deleted the refactor/base-border-colors branch August 7, 2025 13:51
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