0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-26 23:54:23 +01:00

Docs: consistency between custom buttons, popovers and tooltips

This commit is contained in:
Julien Déramond 2023-05-31 12:38:04 +02:00 committed by Mark Otto
parent 7a4226875d
commit 6e49236541

View File

@ -220,15 +220,16 @@
// scss-docs-start custom-tooltip // scss-docs-start custom-tooltip
.custom-tooltip { .custom-tooltip {
--bs-tooltip-bg: var(--bs-primary); --bs-tooltip-bg: var(--bd-violet-bg);
--bs-tooltip-color: var(--bs-white);
} }
// scss-docs-end custom-tooltip // scss-docs-end custom-tooltip
// scss-docs-start custom-popovers // scss-docs-start custom-popovers
.custom-popover { .custom-popover {
--bs-popover-max-width: 200px; --bs-popover-max-width: 200px;
--bs-popover-border-color: var(--bs-primary); --bs-popover-border-color: var(--bd-violet-bg);
--bs-popover-header-bg: var(--bs-primary); --bs-popover-header-bg: var(--bd-violet-bg);
--bs-popover-header-color: var(--bs-white); --bs-popover-header-color: var(--bs-white);
--bs-popover-body-padding-x: 1rem; --bs-popover-body-padding-x: 1rem;
--bs-popover-body-padding-y: .5rem; --bs-popover-body-padding-y: .5rem;