Skip to content

[checkbox] Base style props do not work in Aura #10561

@sissbruecker

Description

@sissbruecker

Description

The --vaadin-checkbox-background base style prop doesn't seem to have any effect in Aura, the background is always white. Same for --vaadin-radio-button-background in radio button.

Expected outcome

The props should do something. Either override the background in all states, or at least in the unchecked state.

Minimal reproducible example

Add this to the dev pages:

vaadin-checkbox {
  --vaadin-checkbox-background: gray;
}

vaadin-radio-button {
  --vaadin-radio-button-background: gray;
}

Steps to reproduce

See above

Environment

Vaadin version(s): 25

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions