Skip to content

Added custom border width CSS var for alerts component - #43131

Open
pricop wants to merge 1 commit into
twbs:mainfrom
pricop:patch-11
Open

pricop wants to merge 1 commit into
twbs:mainfrom
pricop:patch-11

Conversation

@pricop

@pricop pricop commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

This change adds the ability to customize the Alert component border width scoped to the component, rather than the whole project.

Currently, the alert component uses the global --border-width CSS var.

This change introduces --alert-border-width CSS var, which defaults to --border-width.

This means that we'll now be able to change the border width only for the component if we need it to.

This is similar to what the rest of the components have (cards, controls, menus, dialogs).

@pricop
pricop requested a review from a team as a code owner October 20, 2026 18:46
@julien-deramond julien-deramond added v6 v6, the main branch css Sass sources or compiled CSS feature New feature, or a change to how an existing one works labels Oct 20, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css Sass sources or compiled CSS feature New feature, or a change to how an existing one works v6 v6, the main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants