Sha256: 31a42b4b27bda0c71b5ca1f3863d39182776cb544e0a9cf5ba821e72497b8f9a
Contents?: true
Size: 1.73 KB
Versions: 4
Compression:
Stored size: 1.73 KB
Contents
$btn-padding-y: 8px !default; $btn-padding-x: 12px !default; $btn-font-family: $font-family-base !default; $btn-font-size: $font-size-base !default; $btn-line-height: 1.25 * $btn-font-size !default; $btn-padding-y-sm: 0.25 * $btn-font-size !default; $btn-padding-x-sm: 0.5 * $btn-font-size !default; $btn-font-size-sm: 0.875 * $btn-font-size !default; $btn-line-height-sm: $btn-line-height * 0.875 !default; $btn-padding-y-lg: 0.5 * $btn-font-size !default; $btn-padding-x-lg: $btn-font-size !default; $btn-font-size-lg: 1.25 * $btn-font-size !default; $btn-line-height-lg: $btn-line-height * 1.25 !default; $btn-border-width: $border-width !default; $btn-font-weight: $font-weight-base !default; $btn-border-radius: $border-radius !default; $btn-border-radius-lg: $border-radius-lg !default; $btn-border-radius-sm: $border-radius-sm !default; /** Button Theme Structure Example * * $btn-themes: ( * "primary": ( * "background-color": blue, * "color": white, * "border-color": blue * ), * "outline-primary": ( * "background-color": transparent, * "color": blue, * "border-color": blue * ) * ) */ $tmp-btn-themes: (); @each $name, $color in $all-colors { @if $name != "transparent" { $tmp-btn-themes: map-merge($tmp-btn-themes, ($name: ("background-color": $color, "color": color-contrast($color), "border-color": $color))); $tmp-btn-themes: map-merge($tmp-btn-themes, ("outline-#{$name}": ("background-color": transparent, "color": $color, "border-color": $color))); } } $btn-themes: $tmp-btn-themes !default;
Version data entries
4 entries across 4 versions & 1 rubygems