Skip to content

Allow setting .form-check-input:checked colors with CSS variables #41137

@jcoyne

Description

@jcoyne

Prerequisites

  • I have searched for duplicate or closed feature requests
    I have read the contributing guidelines

Proposal

Convert the sass variables $form-check-input-checked-bg-color and $form-check-input-checked-border-color to be css variables (e.g. --{$prefix}-form-check-input-checked-bg-color: and --{$prefix}-form-check-input-checked-border-color).

Motivation and context

It would be nice to theme these values without needing a custom SASS build.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @jcoyne@mdo

      Issue actions

        Allow setting .form-check-input:checked colors with CSS variables · Issue #41137 · twbs/bootstrap