Skip to content

Add CSS variables for all color variations #39587

@axelfontaine

Description

@axelfontaine

Prerequisites

Proposal

The full list of Bootstrap colors is available at
https://getbootstrap.com/docs/5.3/customize/color/#all-colors

It would be nice to be able to refer to these using css variables such as --bs-blue-300 or --bs-color-blue-300. This is a compromise that doesn't suffer from the size explosion problem like generating all utilities would.

Motivation and context

This would help adding additional accents to a design, while sticking to the overall harmoneous color palette.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions