1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

split border-radius, new utility reference table, start adding mdn link

This commit is contained in:
Mark Otto
2025-05-28 11:38:06 -07:00
parent 4634b58cd8
commit 57a81db0cf
12 changed files with 189 additions and 9 deletions

View File

@@ -272,6 +272,7 @@ $button-variants: (
--#{$prefix}btn-font-weight: #{$btn-font-weight};
--#{$prefix}btn-line-height: #{$btn-line-height};
--#{$prefix}btn-color: #{$btn-color};
--#{$prefix}btn-gap: #{$btn-gap};
--#{$prefix}btn-bg: transparent;
--#{$prefix}btn-border-width: #{$btn-border-width};
--#{$prefix}btn-border-color: transparent;
@@ -283,7 +284,10 @@ $button-variants: (
--#{$prefix}btn-focus-box-shadow: 0 0 0 #{$btn-focus-width} rgba(var(--#{$prefix}btn-focus-shadow-rgb), .5);
// scss-docs-end btn-css-vars
display: inline-block;
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--#{$prefix}btn-gap);
padding: var(--#{$prefix}btn-padding-y) var(--#{$prefix}btn-padding-x);
font-family: var(--#{$prefix}btn-font-family);
@include font-size(var(--#{$prefix}btn-font-size));