body-text-color
$body-text-color: kib-core.theme-get('text') !default;Description
Body text Color
Type
Color
Our style packages are built using dart-sass >=1.23.0. This version is required in order to support the use of SASS modules.
yarn add sassWhen using modules, the @use rule replaces the @import rule, which places all the file's variables, mixins, and functions inside a namespace.
By default, the namespace is created from the end of URL path:
@use '~@chewy/kib-layout-styles/src/kib-container/styles/kib-container';
.my-layout-container {
@include kib-container.base;
}The namespace can also be set explicitly using an as keyword:
@use '~@chewy/kib-layout-styles/src/kib-container/styles/kib-container' as content-container;
.my-layout-container {
@include content-container.base;
}You can override variable values by specifying the changes within the @use statement using the with keyword:
@use '~@chewy/kib-cards-styles/src/kib-ingress-card/styles/kib-ingress-card' with (
$background-color: $your-custom-color,
$radius: 0,
$icon-size: 3.8rem
);For more details on migration support and the motivations for using Sass modules: https://sass-lang.com/blog/the-module-system-is-launched
@mixin root-container() { ... }Root accordion container
None.
item-border-widthitem-border-colorspacing-bottom@mixin item-disabled() { ... }Accordion item in disabled state
None.
@mixin item-trigger-wrapper() { ... }Accordion item trigger wrapper
None.
item-background@mixin item-trigger() { ... }Accordion item trigger element
None.
item-trigger-spacing-verticalitem-trigger-spacing-horizontalitem-border-widthitem-border-coloritem-trigger-text-coloritem-trigger-font-sizeitem-trigger-font-weightitem-trigger-line-height@mixin item-trigger-open() { ... }Accordion item trigger element when opened
None.
item-background-open@mixin item-trigger-icon-wrapper() { ... }Accordion item trigger icon wrapper
None.
item-icon-sizeitem-icon-size@mixin item-content-wrapper() { ... }Accordion item content wrapper
None.
item-background-open@mixin item-content-wrapper-open() { ... }Accordion item content wrapper in open state
None.
item-border-widthitem-border-color@mixin fade-transition() { ... }Accordion item open/close transition
None.
This style is just a placeholder until we have react transition component ready
$spacing-bottom: kib-core-dimensions-get(default) !default;Default bottom spacing after accordion
Number
root-container$item-background: kib-core-theme-get('fair') !default;Default background color of accordion items
Color
item-trigger-wrapper$item-background-open: kib-core-theme-get('background', 'header') !default;Background color of opened accordion items
Color
item-trigger-openitem-content-wrapper$item-border-color: kib-core-theme-get('outline') !default;Default border color of accordion items
Color
root-containeritem-triggeritem-content-wrapper-opennav-itemnav-item$item-border-width: kib-core-px-to-relative(1px) !default;Border width of accordion items
Number
root-containeritem-triggeritem-content-wrapper-opennav-itemnav-itemnav-itemnav-item-chirpnav-item-disablednav-item-disablednav-item-disabled-chirp$item-icon-size: (kib-core-dimensions-get(default) * 1.25) !default;Dimension of accordion item toggle
Number
item-trigger-icon-wrapperitem-trigger-icon-wrapper$item-icon-topposition: (kib-core-dimensions-get(small) * 1.7) !default;Height of accordion icon psuedo element
Number
$item-trigger-text-color: kib-core-theme-get('text') !default;Default text color of accordion item headers
Color
item-trigger$item-trigger-font-size: kib-core-get-type-property(base, size) !default;Text font size of accordion item headers
Number
item-trigger$item-trigger-font-weight: map.get($kib-core-type-weights, bold) !default;Text font weight of accordion item headers
Number
item-trigger$item-trigger-line-height: kib-core-get-type-property(micro, height) !default;Default line height of accordion item headers
Number
item-trigger$item-trigger-spacing-vertical: (
kib-core-dimensions-get(small) * 1.875
) !default;Vertical spacing of accordion item trigger
Number
item-trigger$item-trigger-spacing-horizontal: kib-core-dimensions-get(default) !default;Horizontal spacing of accordion item trigger
Number
item-trigger@mixin bg-loop($duration: 1.5s, $iteration: infinite, $timing: ease-in-out) { ... }Add a background animation to an element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$duration | — none | String | 1.5s |
$iteration | — none | String | infinite |
$timing | — none | String | ease-in-out |
.element {
@include kib-animation.bg-loop;
}params - scss
.element {
@include kib-animation.bg-loop(5s, 2, ease);
}@mixin fade-in($duration: 0.5s, $iteration: 1, $timing: ease-out) { ... }Add a Fade In animation to an element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$duration | — none | String | 0.5s |
$iteration | — none | String | 1 |
$timing | — none | String | ease-out |
.element {
@include kib-animation.fade-in;
}params - scss
.element {
@include kib-animation.fade-in(5s, 2, ease);
}@mixin fade-out($duration: 0.5s, $iteration: 1, $timing: ease-out) { ... }Add a Fade Out animation to an element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$duration | — none | String | 0.5s |
$iteration | — none | String | 1 |
$timing | — none | String | ease-out |
.element {
@include kib-animation.fade-out;
}params - scss
.element {
@include kib-animation.fade-out(5s, 2, ease);
}@mixin rotate($duration: 0.5s, $iteration: infinite, $timing: linear) { ... }Add a 360 rotation animation to an element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$duration | — none | String | 0.5s |
$iteration | — none | String | infinite |
$timing | — none | String | linear |
.element {
@include kib-animation.rotate;
}params - scss
.element {
@include kib-animation.rotate(5s, 2, ease-out);
}#{$block}__item:last-child,
#{$block}__item:nth-last-child(2) > #{$block}__icon { ... }Simplify this selector
@mixin breadcrumb-root() { ... }Root breadcrumb container
None.
@mixin breadcrumb-list() { ... }Root breadcrumb container
None.
@mixin breadcrumb-item() { ... }Breadcrumb item
None.
item-font-sizeitem-font-weight@mixin breadcrumb-item--current() { ... }Breadcrumb current page item
None.
item-current-coloritem-current-font-weight@mixin breadcrumb-link() { ... }Breadcrumb link
None.
link-colorlink-focus-shadow-widthlink-colorlink-color@mixin breadcrumb-icon() { ... }Breadcrumb icon
None.
item-divider-coloritem-divider-font-sizeitem-divider-font-weightitem-divider-line-heightitem-divider-content$item-font-size: kib-core-get-type-property(tiny, size) !default;Breadcrumb item font size
Number
breadcrumb-itemnav-item$item-font-weight: map.get($kib-core-type-weights, regular) !default;Breadcrumb item font weight
String
breadcrumb-itemnav-item$item-current-color: kib-core-theme-get('text') !default;Breadcrumb current item color
Color
breadcrumb-item--current$item-current-font-weight: map.get($kib-core-type-weights, bold) !default;Breadcrumb current item font weight
String
breadcrumb-item--current$item-divider-color: kib-core-theme-get('text') !default;Breadcrumb divider text color
Color
breadcrumb-icon$item-divider-content: '\203A' !default;Breadcrumb divider text content
String
breadcrumb-icon$item-divider-font-size: kib-core-get-type-property(small, size) !default;Breadcrumb divider text size
Number
breadcrumb-icon$item-divider-font-weight: map.get($kib-core-type-weights, bold) !default;Breadcrumb divider text weight
String
breadcrumb-icon$item-divider-line-height: inherit !default;Breadcrumb divider text weight
String
breadcrumb-icon$link-color: kib-core-theme-get('link', 'deep') !default;Breadcrumb item font size
Color
breadcrumb-linkbreadcrumb-linkbreadcrumb-link$link-focus-shadow-width: kib-core-px-to-relative(-1px) !default;Breadcrumb link focus shadow width
Color
breadcrumb-link@mixin generate-arrow($direction) { ... }Generate arrow styles for buttons.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$direction | The direction of the arrow, such as prev or next. | String | — none |
arrow-stylesarrow-styles@mixin base-styles() { ... }Common button styles
None.
font-familyfont-sizefont-weightpadding-verticalpadding-horizontalmargin-bottomborder-sizeradiusdark-blue@mixin base-disabled-styles() { ... }Common button disabled styles
None.
whitelight-graylight-graywhitelight-graylight-graylink-styles@mixin default-styles() { ... }Default button styles
None.
whitedefault-bluedefault-bluehover-bluedefault-bluewhitedefault-blue@mixin action-styles() { ... }Action orange button styles
None.
orangewhiteorangeaction-font-weightorange-hoverwhiteorange-hoverorangewhiteorange@mixin soft-styles() { ... }Soft button styles
None.
whitedarkest-graylight-grayborder-sizelight-graywhitedarkest-grayyellowborder-sizeyellowsoft-orangedarkest-grayyellowborder-sizeyellowsoft-orange@mixin white-styles() { ... }White button styles
None.
whitedark-bluelight-grayborder-sizelight-graydark-bluedark-blueborder-sizedark-bluewhitedark-bluedark-blueborder-sizedark-bluebluewhiteblueborder-sizebluebluewhiteblueborder-sizeblue@mixin flat-styles() { ... }Flat button styles
None.
@mixin bold-styles() { ... }Bold button styles
None.
@mixin blue-styles() { ... }Blue button styles
None.
bluewhiteblueblue-font-weightblue-hoverwhiteblue-hoverwhiteblueblue@mixin dashed-styles() { ... }Dashed button styles
None.
whitedefault-blueborder-sizedefault-bluelight-grayhover-bluedefault-bluedefault-bluewhitedefault-bluedefault-blue@mixin cancel-styles() { ... }Cancel button styles
None.
@mixin link-styles() { ... }Link button styles
None.
base-disabled-stylesdark-blue@mixin close-styles() { ... }Close button styles
None.
close-dimensionsclose-dimensionsclose-tap-colorclose-pseudo-widthclose-pseudo-heightclose-pseudo-backgroundborder-sizelight-gray@mixin follow-styles() { ... }Follow button styles
None.
follow-pseudo-right-posfollow-pseudo-widthfollow-pseudo-heightfollow-pseudo-backgroundfollow-pseudo-widthfollow-pseudo-height@mixin arrow-styles($direction) { ... }Next and previous arrow button styles
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$direction | The direction of the arrow, such as prev or next. | String | — none |
generate-arrowgenerate-arrowwhite@mixin group-styles() { ... }Group button styles
None.
group-margin@mixin large-size-styles() { ... }Large size button styles
None.
large-fontlarge-spacing-verticallarge-spacing-horizontal@mixin small-size-styles() { ... }Small size button styles
None.
small-fontsmall-padding-verticalsmall-padding-horizontalsmall-margin-bottom@mixin xsmall-size-styles() { ... }Xsmall size button styles
None.
extrasmall-fontextrasmall-paddingextrasmall-margin-bottom@mixin narrow-styles() { ... }Narrow button styles
None.
narrow-padding@mixin half-styles() { ... }Half button styles
None.
@mixin full-styles() { ... }Full button styles
None.
$font-family: kib-core-theme-get('font', 'base', 'family') !default;Default Button font family
String
base-stylescontrol-item$radius: kib-core-dimensions-get(tiny) !default;Default Button border radius
Number
base-styles$border-size: kib-core-px-to-relative(1px) !default;Default Button border size
Number
base-stylessoft-stylessoft-stylessoft-styleswhite-styleswhite-styleswhite-styleswhite-styleswhite-stylesflat-stylesflat-stylesdashed-stylesclose-stylesheader-summary$font-size: kib-core-px-to-relative(18px) !default;Default Button font size
Number
$font-weight: map.get($kib-core-type-weights, regular) !default;Default Button font weight
Number
base-stylesnameitemdefault$padding-vertical: kib-core-px-to-relative(14px) !default;Default Button vertical padding
Number
base-stylesdefaultdefault$padding-horizontal: kib-core-px-to-relative(35px) !default;Default Button horizontal padding
Number
base-styles$margin-bottom: kib-core-px-to-relative(15px) !default;Default Button bottom margin
Number
base-styles$action-font-weight: map.get($kib-core-type-weights, bold) !default;Action Button font weight
Number
action-styles$close-dimensions: kib-core-px-to-relative(40px) !default;Close Button dimension
Number
close-stylesclose-styles$close-pseudo-width: kib-core-px-to-relative(20px) !default;Close Button pseudo element width
Number
close-styles$close-pseudo-height: kib-core-px-to-relative(3px) !default;Close Button pseudo element height
Number
close-styles$follow-pseudo-right-pos: kib-core-px-to-relative(20px) !default;Follow Button pseudo element position right value
Number
follow-styles$follow-pseudo-width: kib-core-px-to-relative(9px) !default;Follow Button pseudo element width
Number
follow-stylesfollow-styles$follow-pseudo-height: kib-core-dimensions-get(default) !default;Follow Button pseudo element height
Number
follow-stylesfollow-styles$follow-pseudo-background: url(#{kib-core-svg-encode("<svg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -6 20.5 35'><style>.st0{fill:#{kib-core-theme-get('ash', 'surface'
)};}</style><path class='st0' d='M17.7 9.5l-.1-.1L3.1-5.1C2.5-5.7 1.8-6 1-6s-1.5.3-2.1.9C-1.7-4.5-2-3.8-2-3s.3 1.5.9 2.1l12.4 12.4-12.4 12.4c-.6.6-.9 1.3-.9 2.1s.3 1.5.9 2.1c.6.6 1.3.9 2.1.9s1.5-.3 2.1-.9l14.5-14.5c.6-.6.9-1.3.9-2.1 0-.9-.5-1.5-.8-2z'/></svg>")}) !default;Follow Button pseudo element background svg url
String
follow-styles$next-pseudo-background: url(#{kib-core-svg-base64-encode(
$kib-asset-icon-arrow-right-disabled
)}) !default;Next Button pseudo element background svg url
String
$prev-pseudo-background: url(#{kib-core-svg-base64-encode(
$kib-asset-icon-arrow-left-disabled
)}) !default;Previous Button pseudo element background svg url
String
$large-font: kib-core-px-to-relative(24px) !default;Large button font size
Number
large-size-styles$large-spacing-vertical: kib-core-px-to-relative(15px) !default;Large button vertical spacing
Number
large-size-styles$large-spacing-horizontal: 2 * kib-core-dimensions-get(default) !default;Large button horizontal spacing
Number
large-size-styles$small-font: kib-core-dimensions-get(default) !default;Small button font size
Number
small-size-styles$small-padding-vertical: kib-core-px-to-relative(11px) !default;Small button vertical padding
Number
small-size-styles$small-padding-horizontal: kib-core-dimensions-get(default) !default;Small button horizontal padding
Number
small-size-styles$small-margin-bottom: kib-core-px-to-relative(5px) !default;Small button bottom margin
Number
small-size-styles$extrasmall-font: kib-core-px-to-relative(13px) !default;Extrasmall button font size
Number
xsmall-size-styles$extrasmall-padding: kib-core-dimensions-get(small) !default;Extrasmall button padding
Number
xsmall-size-styles$extrasmall-margin-bottom: kib-core-px-to-relative(5px) !default;Extrasmall button bottom margin
Number
xsmall-size-styles$narrow-padding: kib-core-px-to-relative(15px) !default;Narrow button padding
Number
narrow-styles$blue-font-weight: map.get($kib-core-type-weights, medium) !default;Blue button font weight
Number
blue-styles$white: kib-core-theme-get('fair') !default;White button color
Color
generate-arrowbase-disabled-stylesbase-disabled-stylesdefault-stylesdefault-stylesaction-stylesaction-stylesaction-stylessoft-stylessoft-styleswhite-styleswhite-styleswhite-styleswhite-stylesbold-stylesbold-stylesbold-stylesbold-stylesblue-stylesblue-stylesblue-stylesdashed-stylesdashed-stylesarrow-styles$light-gray: kib-core-theme-get('outline') !default;Light Gray button color
Color
base-disabled-stylesbase-disabled-stylesbase-disabled-stylesbase-disabled-stylessoft-stylessoft-styleswhite-styleswhite-stylesdashed-stylesclose-styles$gray: kib-core-theme-get('outline', 'form') !default;Gray button color
Color
$dark-gray: kib-core-theme-get('ash', 'surface') !default;Dark Gray button color
Color
cancel-styles$darkest-gray: kib-core-theme-get('text') !default;Darkest Gray button color
Color
soft-stylessoft-stylessoft-styles$close-pseudo-background: kib-core-theme-get('text') !default;Close button pseudo element background color
Color
close-styles$close-tap-color: kib-core-theme-get('slate') !default;Close button tap highlight color
Color
close-styles$default-blue: kib-core-theme-get('link', 'deepest') !default;Default button blue color
Color
default-stylesdefault-stylesdefault-stylesdefault-stylesdashed-stylesdashed-stylesdashed-stylesdashed-stylesdashed-stylesdashed-styles$hover-blue: #e9edf2 !default;Blue button hover color
Color
default-stylesdashed-styles$orange: kib-core-theme-get('warning') !default;Orange button color
Color
action-stylesaction-stylesaction-stylesaction-styles$orange-hover: #c15000 !default;Orange button hover color
Color
action-stylesaction-styles$soft-orange: kib-core-theme-get('warning', 'highlight') !default;Soft orange button color
Color
soft-stylessoft-styles$yellow: #f5a623 !default;Yellow button color
Color
soft-stylessoft-stylessoft-stylessoft-styleslabellabellabel-is-selectedlabel-is-selected$blue: kib-core-theme-get('link', 'deep') !default;Blue button color
Color
white-styleswhite-styleswhite-styleswhite-styleswhite-styleswhite-stylesblue-stylesblue-stylesblue-stylesblue-styles$blue-hover: #0b528b !default;Blue button hover color
Color
blue-stylesblue-styles$soft-blue: #f3f9fe !default;Soft Blue button color
Color
flat-stylesflat-styles$dark-blue: kib-core-theme-get('link', 'deep') !default;Dark Blue button color
Color
base-styleswhite-styleswhite-styleswhite-styleswhite-styleswhite-styleswhite-styleswhite-stylesflat-stylesflat-stylesflat-stylesflat-stylesflat-stylesflat-stylesflat-stylesbold-stylesbold-stylesbold-stylesbold-stylesbold-stylescancel-styleslink-styles$arrow-sizes: (
prev: (
icon: kib-core-px-to-relative(10px),
direction: left,
image: kib-core-svg-base64-encode($kib-asset-icon-arrow-left-blue)
),
next: (
icon: kib-core-px-to-relative(10px),
direction: right,
image: kib-core-svg-base64-encode($kib-asset-icon-arrow-right-blue)
)
) !default;Definitions of size variants for buttons.
Map
generate-arrow$group-margin: kib-core-px-to-relative(15px) !default;Margin for group button
Number
group-styles@mixin container() { ... }Card container
None.
paddingrow@mixin container-large() { ... }Large card container
None.
row-large@mixin action() { ... }Action card variant
None.
getaction-padding-rightaction-pseudo-right-positionaction-pseudo-top-marginaction-pseudo-dimensionsaction-pseudo-dimensionsiconsaction-pseudo-dimensionsaction-pseudo-right-position-minmediumaction-wrapper@mixin action-emphasis() { ... }Action card emphasis styles
None.
interaction-focus-border-colorinteraction-focus-blur-widthinteraction-focus-shadow-colorinteraction-focus-text-color@mixin group() { ... }Card group wrapper
None.
group-horizontal-margingroup-horizontal-margin-minmediumgroup-horizontal-margin-minmediumgroup-pseudo-margingroup-pseudo-margin@mixin row() { ... }Card group row
None.
containerrow-border-widthrow-border-colorrow-active-background-color@mixin row-emphasis() { ... }Interactive card group row emphasis
None.
interaction-row-focus-background-color@mixin row-large() { ... }Large card row
None.
container-large$icons: (
arrow: kib-core.svg-base64-encode(kib-core.$kib-asset-icon-arrow-right-light)
) !default;Definitions of svg uri icons for card icons
Map
action$action-padding-right: kib-core.dimensions-get(huge) + kib-core.dimensions-get(small) !default;Card action right padding
Number
action$action-pseudo-right-position: kib-core.dimensions-get(default) !default;Card action pseudo element right position
Number
action$action-pseudo-right-position-minmedium: kib-core.dimensions-get(large) !default;Card action pseudo element right position for min-medium media query
Number
action$action-pseudo-top-margin: -1 * kib-core.dimensions-get(small) !default;Card action pseudo element top margin
Number
action$action-pseudo-dimensions: kib-core.dimensions-get(default) !default;Card action pseudo element dimensions
Number
$group-horizontal-margin: -1 * kib-core.dimensions-get(default) !default;Card group horizontal margin
Number
group$group-horizontal-margin-minmedium: -1 * kib-core.dimensions-get(large) !default;Card group horizontal margin for min-medium media query
Number
$group-pseudo-margin: -1 * kib-core.dimensions-get(default) !default;Card group margin for pseudo elements
Number
$row-active-background-color: kib-core.theme-get('background', 'container') !default;Card row active background color
Color
row$row-border-width: kib-core.$container-border-width !default;Card row border width
Number
row$row-border-color: kib-core.$kib-container-border-color !default;Card row border color
Color
row$interaction-focus-border-color: kib-core.theme-get('outline', 'form') !default;Card interaction focus border color
Color
action-emphasis$interaction-focus-text-color: kib-core.theme-get('text') !default;Card interaction focus text color
Color
action-emphasis$interaction-row-focus-background-color: kib-core.theme-get('background', 'container') !default;Card interaction row focus background color
Color
row-emphasis$interaction-focus-blur-width: kib-core.px-to-relative(1px) !default;Card interaction focus blur width
Number
action-emphasis$interaction-focus-shadow-color: kib-core.theme-get('outline', 'form') !default;Card interaction focus blur width
Color
action-emphasis@mixin name() { ... }Card number name styles
None.
font-weight@mixin label() { ... }Card number label styles
None.
$font-weight: map.get($kib-core-type-weights, bold) !default;Default card number font weight
Number
@function register($name) { ... }Register a bootstrapable component.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name of the component to register. | String | — none |
Map —An updated map of resitered components.
Register a component named "component".
$registry: bootstrap.register(component);@function map-deep-get($selectors) { ... }Get a specific theme data.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$selectors | Provide a single argument to grab a single section of the theme. Provide multiple selectors to navigate down the tree and get a definition deep within the theme. | String | — none |
Return the value of the $selector references.
getgetgetgetthemesthemethemethemesselectorsget@function get($selectors) { ... }Get a specific theme data.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$selectors | Provide a single argument to grab a single section of the theme. Provide multiple selectors to navigate down the tree and get a definition deep within the theme. | String | — none |
Return the value of the $selector references.
map-deep-getselectorsgenerate-arrowgenerate-arrowgenerate-arrowgenerate-arrowactionmap-deep-getmap-deep-getmap-deep-getmap-deep-getmap-deep-setinput-adornmentpicker-calendar-containerpicker-controls-barpicker-controls-barpicker-toolbarpicker-toolbar-titlepicker-toolbar-selected-datepicker-dialog-contentpicker-dialog-content-inputtitleroot-containerfieldicon-with-actionactionactionactionactionerror-messageerror-iconroot-containerlabellabel-with-messagehelphelp-bottomcontentalerticoniconiconerror-messageerror-iconlabel-boolean-sizedlabel-boolean-sizedlabel-boolean-sizedlabel-boolean-sizedindicator-boolean-sizeindicator-boolean-sizefield-booleanfield-booleanlabel-switch-track-baselabel-switch-track-baselabel-switch-track-baselabel-switch-track-baselabel-switch-track-baselabel-switch-knob-baselabel-switch-knob-baselabel-switch-knob-baselabel-switch-knob-baselabel-switchlabel-switchlabel-switchlabel-switchlabel-switchlabel-switchlabel-switchlabel-switch-is-checkedlabel-switch-is-checkedlabel-switch-is-checkedlabel-switch-is-checkedlabel-switch-is-checkedlabel-switch-hovered-and-focused-stateslabel-switch-hovered-and-focused-statesstates-property-generatestates-property-generatestates-property-generateloader-property-generateloader-property-generateloader-property-generatelabel-checkbox-is-checkedindicator-checkbox-is-checkedindicator-checkbox-is-checkedindicator-checkbox-is-checkedmultiselect-option-pseudo-propertiesmultiselect-option-pseudo-propertiesmultiselect-option-pseudo-propertiesmultiselect-option-pseudo-propertiesmultiselect-option-pseudo-propertiesmultiselect-option-pseudo-propertiesmultiselect-spinner-pseudo-propertiesmultiselect-spinner-pseudo-propertiesmultiselect-select-propertiesmultiselect-select-propertieslabel-radiolabel-radiolabel-radio-is-checkedlabel-radio-is-checkedradio-outer-is-focusedradio-outer-is-focuseddropshadowdropshadowdropshadowdropshadowdropshadowdropshadowmedia-queryscroll-shadowscroll-shadowscroll-shadowscroll-shadowscroll-shadowscroll-shadowspacingroot-containerstatusstatusstatusstatusno-resultsno-resultsno-resultsitemitemitem-activecheckboxbackground-stylebackground-stylebackground-stylebackground-stylebackground-stylebackground-stylebackground-stylebackground-stylebackground-marginsbackground-marginsgenerate-label-sizegenerate-label-sizegenerate-label-sizefilledcontrol-itemcontrol-itemlabelgenerate-sizegenerate-sizeroot-containerroot-containercount-wrappercount-wrapperactionitem-spanitem-pullitem-pushitem-prefixitem-suffixtheme-getcontainercontainercontainercontainercoverscoversextendincrement-settag-varianttag-varianttag-varianttag-variantsecondary-variantsecondary-variantbutton-variantbutton-variant-hovercontentstyle-getgenerate-placeholdergenerate-placeholderstylestylestylestyle-blockstyle-inlinemap-deep-getmap-deep-setget-type-sizeget-type-propertyget-type-propertytype-line-heighttype-line-heighttype-baseline-distancetype-baseline-distancetype-block-space-bottomtype-block-space-bottomtype-block-adjust-topsize-inline-elementsize-inline-elementsize-block-elementsize-block-element@function set($theme) { ... }Set a new theme data.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$theme | Provide a new theme map data that need to be set on | Map | — none |
Map —Return the value of the $selector references.
dialog-zindex-set-bootstrapdrawer-zindex-set-bootstrapextendincrement-set@function map-deep-set($keys, $value) { ... }Override a theme variable already set.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$keys | Key chain | List | — none |
$value | Value to assign | Any | — none |
Map —Return the value of the $selector references.
Key #{$current-key} doesn
@mixin set($_registry: settings.$registry) { ... }| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$_registry | A list of components to process bootstrap functions for. | List | settings.$registry |
$registry: ();Define the components to bootstrap.
This should not be accessed directly and should instead be added to with the bootstrap-register() function.
List
$breakpoints: (
"small": $kib-core-breakpoints-small,
"medium": $kib-core-breakpoints-medium,
"large": $kib-core-breakpoints-large,
"huge": $kib-core-breakpoints-huge,
"giant": $kib-core-breakpoints-giant
) !default;Define supported screen sizes.
These values will be converted to rem units and fed to the Include Media library. They are in pixels since it is a tad easier to think in pixels.
Map
| map key Name | map key Description | map key Type | map key Value |
|---|---|---|---|
small | — none | Number(px) | 320px |
medium | — none | Number(px) | 640px |
large | — none | Number(px) | 980px |
huge | — none | Number(px) | 1200px |
giant | — none | Number(px) | 1400px |
breakpoints-convertbreakpoints-convertbreakpoints-convertbreakpoints-convertbreakpoints-setbreakpoints-setbreakpoints-set$themes: (
core: (
link: (
base: $kib-blue,
deep: $kib-blue-dark,
deepest: $kib-blue-darkest,
primary: $kib-dark-theme-dark-blue,
secondary: $kib-dark-theme-secondary-blue,
mid: $kib-dark-theme-mid-blue,
soft: $kib-dark-theme-soft-blue,
messageBackground: $kib-core-message-background-color
),
success: (
base: $kib-green,
messageBackground: $kib-core-message-success-background-color
),
error: (
base: $kib-red,
deep: $kib-red-dark,
messageBackground: $kib-core-message-error-background-color
),
warning: (
base: $kib-orange,
surface: $kib-orange-light,
highlight: $kib-orange-highlight,
messageBackground: $kib-core-message-warning-background-color
),
notice: (
base: $kib-yellow,
surface: $kib-yellow-bright
),
dignify: (
base: $kib-teal
),
royal: (
base: $kib-purple
),
slate: (
base: $kib-black
),
fair: (
base: $kib-white
),
ash: (
surface: $kib-gray-light
),
text: (
base: $kib-text-body,
secondary: $kib-text-secondary,
surface: $kib-text-light
),
background: (
base: $kib-background-page,
container: $kib-background-container,
header: $kib-background-header
),
outline: (
base: $kib-outline-container,
form: $kib-outline-form
),
font: (
base: (
family: $kib-core-font-base,
size: $kib-core-root-font-size
),
monospace: (
family: $kib-core-font-monospace
)
),
next: (
font: (
family: (
base: $kib-core-font-next-sans-body,
monospace: $kib-core-font-next-monospace,
sans: $kib-core-font-next-sans,
sans-body: $kib-core-font-next-sans-body,
serif: $kib-core-font-next-serif
),
size: $kib-core-root-font-size,
/// @deprecated Kept to avoid breaking change
base:
(
family: $kib-core-font-next-sans,
size: $kib-core-root-font-size
)
),
brand: (
base: $kib-blue-1-next-500,
low: $kib-blue-1-next-50,
high: $kib-blue-1-next-800,
50: $kib-blue-1-next-50,
100: $kib-blue-1-next-100,
200: $kib-blue-1-next-200,
300: $kib-blue-1-next-300,
400: $kib-blue-1-next-400,
500: $kib-blue-1-next-500,
600: $kib-blue-1-next-600,
700: $kib-blue-1-next-700,
800: $kib-blue-1-next-800,
900: $kib-blue-1-next-900
),
alternate: (
base: $kib-blue-2-next-500,
low: $kib-blue-2-next-50,
high: $kib-blue-2-next-900,
50: $kib-blue-2-next-50,
100: $kib-blue-2-next-100,
200: $kib-blue-2-next-200,
300: $kib-blue-2-next-300,
400: $kib-blue-2-next-400,
500: $kib-blue-2-next-500,
600: $kib-blue-2-next-600,
700: $kib-blue-2-next-700,
800: $kib-blue-2-next-800,
900: $kib-blue-2-next-900
),
neutral: (
base: $kib-neutral-next-500,
minimal: $kib-neutral-next-100,
low: $kib-neutral-next-200,
high: $kib-neutral-next-600,
highest: $kib-neutral-next-800,
50: $kib-neutral-next-50,
100: $kib-neutral-next-100,
200: $kib-neutral-next-200,
300: $kib-neutral-next-300,
400: $kib-neutral-next-400,
500: $kib-neutral-next-500,
600: $kib-neutral-next-600,
700: $kib-neutral-next-700,
800: $kib-neutral-next-800,
900: $kib-neutral-next-900
),
accent: (
base: $kib-green-1-next-100,
low: $kib-green-1-next-50,
high: $kib-green-1-next-700,
50: $kib-green-1-next-50,
100: $kib-green-1-next-100,
200: $kib-green-1-next-200,
300: $kib-green-1-next-300,
400: $kib-green-1-next-400,
500: $kib-green-1-next-500,
600: $kib-green-1-next-600,
700: $kib-green-1-next-700,
800: $kib-green-1-next-800,
900: $kib-green-1-next-900
),
caution: (
base: $kib-yellow-next-400,
low: $kib-yellow-next-50,
high: $kib-yellow-next-800,
50: $kib-yellow-next-50,
100: $kib-yellow-next-100,
200: $kib-yellow-next-200,
300: $kib-yellow-next-300,
400: $kib-yellow-next-400,
500: $kib-yellow-next-500,
600: $kib-yellow-next-600,
700: $kib-yellow-next-700,
800: $kib-yellow-next-800,
900: $kib-yellow-next-900
),
danger: (
base: $kib-red-2-next-700,
low: $kib-red-2-next-50,
high: $kib-red-2-next-900,
50: $kib-red-2-next-50,
100: $kib-red-2-next-100,
200: $kib-red-2-next-200,
300: $kib-red-2-next-300,
400: $kib-red-2-next-400,
500: $kib-red-2-next-500,
600: $kib-red-2-next-600,
700: $kib-red-2-next-700,
800: $kib-red-2-next-800,
900: $kib-red-2-next-900
),
success: (
base: $kib-green-2-next-800,
low: $kib-green-2-next-50,
high: $kib-green-2-next-900,
50: $kib-green-2-next-50,
100: $kib-green-2-next-100,
200: $kib-green-2-next-200,
300: $kib-green-2-next-300,
400: $kib-green-2-next-400,
500: $kib-green-2-next-500,
600: $kib-green-2-next-600,
700: $kib-green-2-next-700,
800: $kib-green-2-next-800,
900: $kib-green-2-next-900
),
rating: (
base: $kib-orange-1-next-500,
low: $kib-orange-1-next-50,
high: $kib-orange-1-next-900,
50: $kib-orange-1-next-50,
100: $kib-orange-1-next-100,
200: $kib-orange-1-next-200,
300: $kib-orange-1-next-300,
400: $kib-orange-1-next-400,
500: $kib-orange-1-next-500,
600: $kib-orange-1-next-600,
700: $kib-orange-1-next-700,
800: $kib-orange-1-next-800,
900: $kib-orange-1-next-900
),
transactional: (
base: $kib-orange-2-next-400,
low: $kib-orange-2-next-50,
high: $kib-orange-2-next-800,
50: $kib-orange-2-next-50,
100: $kib-orange-2-next-100,
200: $kib-orange-2-next-200,
300: $kib-orange-2-next-300,
400: $kib-orange-2-next-400,
500: $kib-orange-2-next-500,
600: $kib-orange-2-next-600,
700: $kib-orange-2-next-700,
800: $kib-orange-2-next-800,
900: $kib-orange-2-next-900
)
)
)
) !default;Multiple theme definitions.
Map
map-deep-getmap-deep-getsetmap-deep-settheme-gettheme-get$theme: core !default;Default theme definition.
String
map-deep-getmap-deep-getsettheme-gettheme-gettheme-gettheme-get yarn add @chewy/kib-datepicker-styles @use '~@chewy/kib-datepicker-styles/src/styles' as kib-datepicker;@mixin input-readonly() { ... }Override input used to render the datepicker and remove readonly styling if rendered on mobile.
None.
@mixin input-field-icon() { ... }Override input icon wrapper to allow clicks
None.
Find a different way of doing this.
@mixin input-adornment-new() { ... }MUI adornment added to input
None.
@mixin button-new() { ... }Default button styles
None.
@mixin input-adornment() { ... }MUI adornment added to input deprecrate when field new is supported
None.
get@mixin button() { ... }Default button styles deprecate when field new is supported
None.
@mixin button-action-expanded() { ... }KibField action button expanded styles
None.
picker-open-action-icon-bg-color@mixin button-action-disabled() { ... }KibField action button disabled styles
None.
@mixin input-adornment-icon() { ... }MUI adornment icon
None.
adornment-icon-color@mixin input-adornment-icon-expanded() { ... }MUI adornment icon expanded
None.
picker-open-action-icon-focus-color@mixin input-adornment-icon-disabled() { ... }MUI adornment icon when disabled
None.
adornment-icon-disabled-opacity@mixin icon() { ... }Icons in calendar component
None.
icon-sizeicon-sizeicon-coloraction-wrapper@mixin icon-disabled() { ... }Disabled icon
None.
icon-disabled-opacity@mixin button-focus() { ... }Focus styles for any MUI button inside component
None.
button-focus-bg-color@mixin button-action-focus() { ... }Focus styles for any MUI button inside of component with action enabled
None.
button-focus-bg-color@mixin wrapper() { ... }Wrapper around calendar (MuiPaper)
None.
wrapper-radius@mixin picker-calendar-container() { ... }Calendar container
None.
get@mixin picker-controls-bar() { ... }Controls section above calendar
None.
@mixin picker-month-name() { ... }Styles for month names at the top of calendar
None.
picker-month-name-color@mixin picker-selected-month-year() { ... }Current month/year text
None.
@mixin picker-choice() { ... }Base styles for all picker choices (day, month or year)
None.
@mixin picker-choice-default() { ... }Styles for default state of all picker choices
None.
picker-choice-text-color@mixin picker-choice-hover() { ... }Hovered choice
None.
picker-choice-hover-bg-color@mixin picker-choice-focus() { ... }Focused choice
None.
picker-choice-focus-outline-widthpicker-choice-focus-outline-color@mixin picker-choice-selected() { ... }Selected choice
None.
picker-choice-selected-bg-color@mixin picker-choice-disabled() { ... }Disabled choice
None.
picker-choice-disabled-line-colorpicker-choice-disabled-color@mixin picker-choice-today() { ... }Today choice
None.
picker-choice-today-dot-sizepicker-choice-today-dot-sizepicker-choice-today-dot-sizepicker-choice-today-dot-sizepicker-choice-today-dot-colorpicker-choice-today-dot-size@mixin picker-toolbar() { ... }Toolbar
None.
get@mixin picker-toolbar-title() { ... }Toolbar title
None.
get@mixin picker-toolbar-selected-date() { ... }Current selected date
None.
get@mixin picker-toolbar-switch-button() { ... }Toolbar switch view button
None.
icon-color@mixin picker-dialog-content() { ... }Mobile dialog content container
None.
get@mixin picker-dialog-content-input() { ... }Styles for input when inside mobile dialog
None.
get@mixin picker-dialog-action-button() { ... }Mobile dialog action button
None.
// deprecate when fields new is suppored
@mixin button-action { ... }KibField action button styles
$icon-size: kib-core.dimensions-get('large') !default;Size for icons inside calendar widget
Number
iconiconclear-control-with-iconiconiconicon-with-actionicon-with-actionloading-spinnerloading-spinneractionactionstop-sizeiconicon$icon-color: color.get('link', 'active', 'primary') !default;Color for icons inside calendar widget
Color
iconpicker-toolbar-switch-buttoniconloader$icon-disabled-opacity: kib-button-new.$disabled-opacity !default;Disabled opacity for icons inside calendar widget
Color
icon-disabled$adornment-icon-color: color.get('text', 'primary') !default;Color for adornment icon placed on text input
Color
input-adornment-icon$adornment-icon-disabled-opacity: $icon-disabled-opacity !default;Disabled opacity for adornment icon placed on text input
Number
input-adornment-icon-disabled$button-focus-bg-color: color.get('action', 'utility', 'alternate', '03') !default;Focus background color for all MUI buttons in the component
Color
button-focusbutton-action-focus$wrapper-radius: border.get('br02') !default;Border radius for Popper/Dialog wrapper around picker
Number
wrapper$picker-month-name-color: color.get('text', 'primary') !default;Color for month names at the top row of calendar
Color
picker-month-name$picker-choice-text-color: color.get('link', 'active', 'primary') !default;Choice default text color
Color
picker-choice-default$picker-choice-hover-bg-color: color.get('action', 'cta', 'alternate', '03') !default;Choice hover background color
Color
picker-choice-hover$picker-choice-focus-outline-width: unit.rem(2px) !default;Choice focus outline width
Number
picker-choice-focus$picker-choice-focus-outline-color: color.get('action', 'cta', 'primary', 'primary') !default;Choice focus outline color
Color
picker-choice-focus$picker-choice-selected-bg-color: color.get('action', 'cta', 'alternate', '02') !default;Selected choice background color
Color
picker-choice-selected$picker-choice-disabled-color: color.get('link', 'active', 'secondary') !default;Disabled choice text color
Color
picker-choice-disabled$picker-choice-disabled-line-color: color.get('ui-bg', '05') !default;Disabled line color across choice
Color
picker-choice-disabled$picker-choice-today-dot-color: color.get('link', 'active', 'primary') !default;Color for dot on choice representing current day
Color
picker-choice-today$picker-choice-today-dot-size: kib-core.dimensions-get('tiny') !default;Size of dot on choice representing current day
Number
picker-choice-todaypicker-choice-todaypicker-choice-todaypicker-choice-todaypicker-choice-today$picker-toolbar-border-color: color.get('ui-bg', '04') !default;Border color below toolbar on mobile dialog
Color
$picker-toolbar-border-width: unit.rem(1px) !default;Border width below toolbar on mobile dialog
Color
$picker-open-action-icon-focus-color: color.get('field', '04') !default;Color for action icon when picker is open or focus
Color
input-adornment-icon-expanded$picker-open-action-icon-bg-color: color.get('field', '03') !default;Color for icon background when picker is open
Color
button-action-expanded$_dialog-registry: bootstrap.register(dialog);Add storage elements before use.
String
$_dialog-zindex-registry: dialog-zindex-set-bootstrap();Register dialog z-index
Boolean
$backdrop-background: rgba(kib-core-theme-get('slate'), 0.6) !default;Dialog backdrop background color (overlay)
Color
backdrop$z-index: kib-core-zindex-get(dialog) !default;Dialog stacking z-index
Color
wrapperpanelcontent-containerroot$inner-max-width: calc(80ch + #{kib-core-dimensions-get(default)}) !default;Dialog inner max-width
Color
inner$container-background: map.get(kib-scroll.theme-get('neutral'), background) !default;Dialog container background color
Color
containertriggers--fullscreen$container-background-chirp: kib-core-theme-get('fair') !default;Dialog container background color chirp
Color
container-chirp$container-border-color: kib-core-theme-get('outline') !default;Dialog container border color
Color
container$container-border-radius: kib-core-dimensions-get(tiny) !default;Dialog container border radius
Number
container$container-border-radius-chirp: kib-core-dimensions-get(small) !default;Dialog container border radius chirp
Number
container-chirp$container-min-width: kib-core-px-to-relative(320px) - kib-core-dimensions-get(small) * 2 !default;Dialog container min width
Number
container$container-border-width: kib-core-px-to-relative(1px) !default;Dialog container border width
Number
container$title-border-width: kib-core-px-to-relative(2px) !default;Dialog title border width
Number
titletriggers--fullscreen$title-padding-right: (kib-core-dimensions-get(huge) + kib-core-dimensions-get(large)) !default;Dialog title padding right
Number
$title-border-color: $container-border-color !default;Dialog title border color
Color
titletriggers--fullscreen$title-color: kib-core-theme-get('text') !default;Dialog title text color
Color
title$title-font-size: kib-core-get-type-property(large, size) !default;Dialog title font size
Number
titletitle-chirp$title-font-weight: map.get($kib-core-type-weights, bold) !default;Dialog title font weight
Number
$title-line-height: kib-core-type-line-height(large) !default;Dialog title line-height
Number
title$summary-color: kib-core-theme-get('ash', 'surface') !default;Dialog summary text color
Color
summary$summary-font-size: kib-core-get-type-property(tiny, size) !default;Dialog summary font size.
String
summary$summary-line-height: kib-core-type-line-height(tiny) !default;Dialog summary line height
String
summary$content-color: kib-core-theme-get('text') !default;Dialog content text color
Color
content$content-font-size: kib-core-get-type-property(base, size) !default;Dialog content font size
Number
content$content-line-height: kib-core-type-line-height(base) !default;Dialog content line-height
Number
content$close-text-color: kib-core-theme-get('text') !default;Set the color of the close button.
Color
close-button-classic$close-text-color-chirp: kib-core-theme-get('next', 'neutral', 900) !default;Set the color of the close button chirp styles.
Color
close-button-chirpclose-button-chirpclose-button-chirp$close-background: kib-core-theme-get('fair') !default;Set the background color of the close button.
Color
close-button-classic$close-border-width: kib-core-px-to-relative(1px) !default;Set the size of the close button border on focus.
Color
close-button-classicclose-button-chirp$close-border-color: transparent !default;Set the size of the close button border on focus.
Color
close-button-classicclose-button-chirp$close-emphasis-color: kib-core-theme-get('link', 'deep') !default;Set the color of the close button on hover/focus.
Color
close-button-classicclose-button-classic$close-background-focus-chirp: kib-core-theme-get('next', 'brand', 600) !default;Default variant background color on close button focus
Color
close-button-chirp$close-size: kib-core-dimensions-get(large) + kib-core-dimensions-get(small) !default;Calculated minimum size for the close button.
Number
close-buttonclose-button$backdrop-filter: blur(kib-core-px-to-relative(2px)) !default;Dialog backdrop filter value
Color
backdrop$backdrop-z-index: kib-core-zindex-get(dialog-backdrop) !default;Dialog backdrop stacking z-index value
Color
$controls-divider-border-width: kib-core-px-to-relative(1px) !default;Dialog controls divider border width
Number
controls$controls-divider-border-color: $container-border-color !default;Dialog controls divider border color
Number
controls$fullscreen-close-color: kib-core-theme-get('link', 'deep') !default;Set the color of the close button on mobile variant.
Color
close-button--fullscreen@function dialog-zindex-set-bootstrap() { ... }Store the z-index values for dialog
None.
Booleansetincrement-setincrement-set@mixin wrapper() { ... }Dialog wrapper
None.
z-index@mixin inner() { ... }Dialog inner focusable wrapper
None.
inner-max-width@mixin container() { ... }Dialog container element
None.
container-min-widthcontainer-backgroundcontainer-border-widthcontainer-border-colorcontainer-border-radius@mixin container-chirp() { ... }Dialog container element with Chirp styles
None.
container-border-radius-chirpcontainer-background-chirp@mixin scroll() { ... }Dialog scrolling container for overflow content
None.
@mixin title() { ... }Dialog title heading element
None.
title-padding-righttitle-border-widthtitle-border-colortitle-colortitle-font-sizetitle-font-weighttitle-line-heighttitle-padding-right@mixin title-chirp() { ... }Dialog title with chirp styling
None.
title-font-size@mixin content() { ... }Dialog content wrapper element
None.
content-colorcontent-font-sizecontent-line-height@mixin body() { ... }Dialog content body container
None.
@mixin body-chirp() { ... }Dialog content body with chirp styles
None.
@mixin summary() { ... }Dialog summary wrapper
None.
summary-colorsummary-font-sizesummary-line-height@mixin controls() { ... }Dialog controls wrapper
None.
controls-divider-border-widthcontrols-divider-border-color@mixin controls-chirp() { ... }Dialog controls with chirp styles
None.
@mixin close-button() { ... }Dialog default close button
None.
close-sizeclose-size@mixin close-button-classic() { ... }Dialog default close button classic theme
None.
close-text-colorclose-backgroundclose-border-widthclose-border-colorclose-emphasis-colorclose-emphasis-color@mixin close-button-chirp() { ... }Dialog default close button chirp theme
None.
close-text-color-chirpclose-border-widthclose-border-colorclose-text-color-chirpclose-background-focus-chirpclose-text-color-chirp@mixin close-icon() { ... }Dialog close icon svg
None.
@mixin close-label() { ... }Dialog close text label.
None.
@mixin backdrop() { ... }Dialog backdrop.
None.
backdrop-backgroundbackdrop-filterbackdrop-z-index@mixin backdrop-transition() { ... }Dialog backdrop fade transition
None.
Remove once there is a React transition component
@mixin dialog-transition() { ... }Dialog scale transition on open/close
None.
Remove once there is a React transition component
@mixin dialog-slide-transition() { ... }Fullscreen dialog slide transition on open/close
None.
Remove once there is a React transition component
@mixin inner--full() { ... }Full size dialog inner wrapper
None.
@mixin wrapper--fullscreen() { ... }Fullscreen dialog wrapper
None.
@mixin inner--fullscreen() { ... }Fullscreen dialog inner focusable wrapper
None.
@mixin container--fullscreen() { ... }Fullscreen dialog container element
None.
@mixin title--fullscreen() { ... }Fullscreen dialog title heading element
None.
@mixin content--fullscreen() { ... }Fullscreen dialog content wrapper element
None.
@mixin body--fullscreen() { ... }Fullscreen dialog content body container
None.
@mixin triggers--fullscreen() { ... }Fullscreen dialog triggers wrapper
None.
container-backgroundtitle-border-widthtitle-border-color@mixin close-button--fullscreen() { ... }Fullscreen dialog close button
None.
fullscreen-close-color@mixin close-icon--fullscreen() { ... }Fullscreen dialog close icon svg
None.
$_drawer-registry: bootstrap.register(drawer);Add storage elements before use.
String
$_drawer-zindex-registry: drawer-zindex-set-bootstrap();Register drawer z-index
Boolean
$background-color: kib-core-theme-get('fair') !default;Drawer background color
Color
panelroot-containercontainerdefaultcontent-containercontent-arrowcontent-arrowcontent-arrowcontent-arrowprogressbutton$text-color: kib-core-theme-get('text') !default;Drawer text color
Color
$common-background-focus-chirp: kib-core-theme-get('next', 'brand', 600) !default;Default variant background color on close button focus
Color
$control-icon-color: inherit !default;Drawer control button icon color
Color
$control-icon-color-emphasis: kib-core-theme-get('link', 'deep') !default;Drawer control button icon color on hover/focus
Color
$control-icon-back-size: kib-core-px-to-relative(36px) !default;Drawer control back button icon size
Number
control-icon-backcontrol-icon-back$control-icon-close-size: kib-core-dimensions-get(default) !default;Drawer control close button icon size
Number
control-icon-closecontrol-icon-close$default-max-width: kib-core-px-to-relative(400px) !default;Drawer default maximum size
Number
panel$z-index: kib-core-zindex-get(drawer) !default;Drawer stacking z-index
Number
$header-border-width: kib-core-px-to-relative(1px) !default;Drawer header divider border width
Number
header$header-border-color: kib-core-theme-get('outline') !default;Drawer header divider border color
Color
header$backdrop-background-color: rgba(kib-core-theme-get('slate'), 0.5) !default;Drawer backdrop background color
Color
backdrop$backdrop-z-index: kib-core-zindex-get(drawer-backdrop) !default;Drawer backdrop stacking z-index value
Number
$sizes: (
small: kib-core-px-to-relative(280px),
large: kib-core-px-to-relative(600px),
largest: kib-core-px-to-relative(1200px)
) !default;Drawer width size modifiers
List
get-type-sizeget-type-size@function drawer-zindex-set-bootstrap() { ... }Store the z-index values for drawer
None.
Booleansetincrement-set@mixin panel() { ... }Drawer panel base styles
None.
z-indexdefault-max-widthbackground-colortext-color@mixin panel-size($max-width) { ... }Drawer panel size variant styles
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$max-width | panel's maximum allowed width | Number | — none |
@mixin panel-from-right() { ... }Panel variant when positioned on the right
None.
@mixin panel-from-left() { ... }Panel variant when positioned on the left
None.
@mixin content-wrapper() { ... }Drawer content wrapper styles
None.
@mixin header() { ... }Drawer header container styles
None.
header-border-widthheader-border-color@mixin title() { ... }Drawer's title heading styles
None.
get@mixin body() { ... }Drawer content body container
None.
@mixin steps-wrapper() { ... }Drawer steps wrapper styles
None.
@mixin control-common() { ... }Drawer control buttons common styles
None.
@mixin control-back() { ... }Drawer back button styles
None.
@mixin control-close() { ... }Drawer close button styles
None.
@mixin control-icon-common() { ... }Drawer control icon common styles
None.
@mixin control-icon-back() { ... }Drawer back button icon styles
None.
control-icon-back-sizecontrol-icon-back-size@mixin control-icon-close() { ... }Drawer close control icon
None.
control-icon-close-sizecontrol-icon-close-size@mixin backdrop() { ... }Drawer backdrop overlay
None.
backdrop-z-indexbackdrop-background-color@mixin step() { ... }Drawer step container
None.
@mixin step-vue-transition-common() { ... }Styles for custom Vue
None.
@mixin step-vue-transition-forward() { ... }Vue transition styles for forward step animation
None.
@mixin step-vue-transition-backward() { ... }Vue transition styles for backward step animation
None.
@mixin step-react-transitions() { ... }Custom classes for React component open/close animation
None.
Remove once there is a React transition component
$field-group-legend-typography: 'form-grouping' !default;Field Group Legend typography token name
String
label$field-group-legend-padding: spacing.get('s3') !default;Field Group Legend padding
Number
$field-group-legend-transition-duration: 0.2s !default;Field Group transitions duration
Number
$icon-size: $field-group-line-height;Field Group icon size
Number
$help-text-color: color.get('text', 'secondary') !default;Field Group Help text color
Color
$error-text-color: color.get('text', 'error') !default;Text color in error state
Color
error-messagestate-error$error-message-token-size: 'form-error' !default;Field Group error typography token size
String
error-messageerror-message@mixin root-container() { ... }Root container
None.
get@mixin root-container-disabled() { ... }Root container when control is disabled
None.
@mixin label() { ... }Field label
None.
label-text-color@mixin label-disabled() { ... }Disabled field label
None.
@mixin field() { ... }Wrapper around control and icon
None.
getcontrol-border-widthcontrol-border-widthcontrol-border-width-largecontrol-text-color@mixin control() { ... }Field control
None.
field-control-typographycontrol-paddingcontrol-background-colorcontrol-border-radiuscontrol-border-widthcontrol-border-colorcontrol-outline-colorcontrol-background-color-autofillcontrol-border-widthcontrol-text-colorcontrol-transition-duration@mixin control-on-hover() { ... }Control when hovered
None.
control-border-width-largecontrol-border-width-large@mixin control-on-focus() { ... }Control when focused
None.
control-border-color-focuscontrol-border-width-largecontrol-outline-widthcontrol-outline-width@mixin control-on-invalid() { ... }Invalid control
None.
control-border-color-errorcontrol-border-width-large@mixin control-disabled() { ... }Disabled control
None.
@mixin control-read-only() { ... }Read only control
None.
control-read-only-text-colorcontrol-background-color-read-only@mixin control-placeholder() { ... }Control's placeholder text
None.
placeholder-text-color@mixin control-autofill() { ... }Control's autofill state
None.
control-text-color@mixin clear-control-with-icon() { ... }Control styles when it contains an icon
None.
icon-sizeclear-icon-offset@mixin help() { ... }Helper text
None.
help-text-color@mixin help-bottom() { ... }Helper text when on bottom position
None.
@mixin clear-icon() { ... }Clear icon
None.
clear-icon-sizeclear-icon-sizeclear-icon-color@mixin icon() { ... }Field icon
None.
icon-sizeicon-sizecontrol-paddingcontrol-transition-duration@mixin icon-on-focus() { ... }Field icon when control is focused
None.
control-border-color-focus@mixin icon-with-action() { ... }Field icon with action behavior
None.
geticon-with-action-coloricon-sizeicon-sizeaction-wrapper@mixin icon-with-action-on-focus() { ... }Field icon with action behavior is focused
None.
icon-with-action-focus-coloricon-with-action-focus-color@mixin loading-spinner() { ... }Generates the styles for the loading spinner
None.
@mixin action-wrapper() { ... }styles applied to action wrapper
None.
iconicon-with-actionaction@mixin action() { ... }styles for the content within action
None.
getgetgetgetaction-heightaction-heightaction-heightaction-heighticon-sizeicon-sizeicon-with-action-color@mixin error() { ... }Error wrapper
None.
@mixin error-message() { ... }Error message
None.
geterror-message-token-sizecontrol-error-text-color@mixin error-icon() { ... }Error icon
None.
get$control-background-color: color.get('field', 'primary') !default;Control background color
Color
$control-background-color-read-only: color.get('field', '02') !default;Control background readonly color
Color
control-read-only$control-background-color-autofill: color.get('field', '03');Control field autofill text color
Color
control$control-text-color: color.get('text', 'primary') !default;Control text color
Color
fieldcontrolcontrol-autofill$control-border-color: color.get('field', '07') !default;Control border color
Color
control$control-border-color-focus: color.get('field', '04') !default;Control border color on focus
Color
control-on-focusicon-on-focusroot-container$control-border-color-error: color.get('field', '06') !default;Control border color when invalid
Color
control-on-invalid$control-border-radius: border.get('br02') !default;Control border radius
Number
$control-border-width: unit.rem(1px) !default;Control border default width
Number
$control-border-width-large: unit.rem(2px) !default;Control border large width
Number
fieldcontrol-on-hovercontrol-on-hovercontrol-on-focuscontrol-on-invalidroot-container$control-outline-color: color.get('field', '08') !default;Control outline color
Color
controlroot-container$control-outline-width: unit.rem(6px) !default;Control outline width
Number
control-on-focuscontrol-on-focus$control-transition-duration: 0.2s !default;Control transitions duration
Number
$control-padding: spacing.get('s3') !default;Control padding
Number
$field-control-typography: 'form-text' !default;Form text typography token name
String
control$label-text-color: color.get('text', 'fields') !default;Label text color
Color
label$help-text-color: color.get('text', 'secondary') !default;Label text color
Color
$clear-control-size: unit.rem(14px) !default;Cleara control size
Number
$clear-control-background-color: color.get('text', 'tertiary') !default;Clear control background color
Color
$clear-control-hover-color: color.get('action', 'utility', 'primary', '03') !default;Clear control hover color
Color
$clear-icon-size: unit.rem(12px) !default;Clear icon size
Number
clear-iconclear-icon$icon-size: $input-field-line-height;icon size
Number
$action-height: calc($input-field-line-height + spacing.get('s3') * 2) !default;Action size
Number
$clear-icon-offset: calc(#{$control-padding} + #{spacing.get('s2')}) !default;Clear icon position offset
Number
clear-control-with-icon$clear-icon-color: color.get('field', 'primary') !default;Clear icon color
Color
clear-icon$icon-with-action-color: color.get('text', 'primary') !default;Icon with action color
Color
icon-with-actionaction$icon-with-action-focus-color: color.get('field', '04') !default;Icon with action focus color
Color
icon-with-action-on-focusicon-with-action-on-focus$placeholder-text-color: color.get('text', 'tertiary') !default;Placeholder text color
Color
control-placeholdermultiselect-placeholder$control-with-icon-padding: calc(
#{$icon-size} + #{$clear-icon-offset} + #{spacing.get('s2')}
) !default;Control with icon padding
Number
$control-error-text-color: color.get('text', 'error') !default;Control text color in error state
Color
error-message$control-read-only-text-color: color.get('text', 'secondary') !default;Control text color in readonly
Color
control-read-only$error-message-token-size: 'form-error' !default;Form error token size
String
$action-right-spacing: unit.rem(10px) !default;position the action button to the right length
Number
$icon-size: $input-field-line-height;icon size
Number
yarn add @chewy/kib-fields-new-styles @use '~@chewy/kib-fields-new-styles/src/kib-field-group/styles' as kib-field-group;@mixin root-container() { ... }Root container
None.
get@mixin label() { ... }Styles for the label of a container of a collection of related fields.
None.
getfield-group-legend-typography@mixin label-with-message() { ... }Styles for the label of a container of a collection of related fields.
None.
get@mixin help() { ... }Helper text
None.
gethelp-text-color@mixin help-bottom() { ... }Helper text when on bottom position
None.
get@mixin content() { ... }Content spacing positioning
None.
get@mixin alert() { ... }Custom alert message
None.
get@mixin icon() { ... }Field icon
None.
getgetgetline-heightfont-sizeline-heightfont-sizeline-heightfont-size@mixin error() { ... }Error wrapper
None.
@mixin error-message() { ... }Error message
None.
geterror-message-token-sizeerror-text-color@mixin error-icon() { ... }Error icon
None.
get$error-color: kib-core-theme-get('error') !default;Form error color.
Color
item-is-errorcontent-wrapper-has-error$warning-color: kib-core-theme-get('warning') !default;Form warning color.
Color
item-is-warning$control-vertical-padding: kib-core-px-to-relative(24px * 0.5) !default;Form control vertical padding.
Number
field-control$control-horizontal-padding: kib-core-dimensions-get(small) !default;Form control horizontal padding.
Number
field-control$input-height: (
kib-core-dimensions-get(large) +
(kib-core-type-line-height(base) * kib-core-get-type-property(base, size))
);Form input height size.
Number
field-controlmenu$control-font-style: map.get(kib-type.style-get(body-desktop), size) !default;Form control font styles.
Map
field-control$control-line-height: kib-core-type-line-height(base) !default;Form control line height.
Number
$input-background-default: kib-core-theme-get('fair') !default;Form control default background color.
Color
indicator-boolean-sizelabel-radio-is-checkedlabel-radio-is-checked-and-focusedindicator-booleanfield-controlfield-control-selectfield-control-select-has-errorlistboxmultiselect-optionlabel-radio-is-checkedradio-outer-is-focused$input-border-size: kib-core-px-to-relative(1px) !default;Form control border size.
Number
indicator-boolean-sizelabel-switch-knob-baselabel-radio-is-checked-and-focusedindicator-booleanfield-is-focusedfield-controlfield-controlfield-controlfield-control-is-focusedfield-control-has-error-basefield-label-is-placeholderstates-property-generatemenumenulistboxradio-outer-is-focusedlabel-has-error$input-border-gray: kib-core-theme-get('outline', 'form') !default;Form control border color.
Color
indicator-boolean-sizelabel-switch-knob-baselabel-switch-disabledindicator-booleanfield-controllistboxmultiselect-caret$input-border-radius: kib-core-px-to-relative(2px) !default;Form control border radius.
Number
label-mixinfield-controllistboxlistboxinput-checkbox-outerlabel-checkbox$input-color: kib-core-theme-get('text') !default;Form control default text color.
Color
label-boolean-sizedfield-controlfield-control-select$input-color-active: kib-core-theme-get('warning', 'surface') !default;Form input interactive color.
Color
label-radio-is-checkedlabel-radio-is-checked-and-focusedlabel-radio-is-checked-and-focusedfield-is-hoveredfield-is-focusedfield-is-focusedfield-control-is-hoveredfield-control-is-focusedfield-control-is-focusedlistbox-is-hoveredmultiselect-content-wrapperlabel-radio-is-checkedradio-outer-is-focusedradio-outer-is-focused$control-autofill-padding-top: kib-core-px-to-relative(20px) !default;Form control webkit autofill top padding.
Number
field-control$control-autofill-padding-bottom: kib-core-px-to-relative(4px) !default;Form control webkit autofill bottom padding.
Number
field-control$control-label-top-position: kib-core-dimensions-get(small) - ($input-border-size * 2) !default;Form control label top position.
Number
field-controlfield-control$input-border-error: $error-color !default;Form control border error color.
Color
field-control-has-error-basefield-control-has-error-baselabel-has-error$control-error-padding-right: kib-core-px-to-relative(38px) !default;Form control error padding right.
Number
field-control-has-error$label-font-style: map.get(kib-type.style-get(body-desktop), size) !default;Form label font styles.
Map
field-label$label-color: darken(kib-core-theme-get('fair'), 40%) !default;Form label color.
Color
multiselect-input-placeholder$inactive-placeholder-top-position: kib-core-dimensions-get(small) - ($input-border-size * 2) !default;Form label inactive placeholder top position.
Number
$inactive-placeholder-font-size: kib-core-get-type-property(
map.get(kib-type.style-get(modifier), size),
size
) !default;Form label inactive placeholder font size.
Number
$input-placeholder-color: kib-core-theme-get('ash', 'surface') !default;Form control placeholder color.
Color
field-label-is-placeholder$help-color: kib-core-theme-get('ash', 'surface') !default;Form help text color
Color
field-help$active-placeholder-top-position: kib-core-px-to-relative(26px * 0.5) + ($input-border-size * 2) !default;Form label active placeholder top position.
Number
$label-placeholder-padding-top: kib-core-px-to-relative(20px) !default;Form label placeholder top position.
Number
$label-placeholder-padding-bottom: kib-core-px-to-relative(4px) !default;Form label placeholder bottom position.
Number
$password-toggle-index: 2;z-index of password toggle.
Number
toggle$password-toggle-color: kib-core-theme-get('link', 'deep');Password toggle color.
Color
toggle$select-arrows: kib-core-svg-encode(
"<svg width='23.88' height='43.81' viewBox='0 0 23.88 43.81' preserveAspectRatio='xMinYMid' xmlns='http://www.w3.org/2000/svg'><polyline fill='none' points='23.91 0.03 23.91 43.86 -0.03 43.86 -0.03 0.03'/><path fill='#{$help-color}' d='M16.88,23.41H8.63l4.12,4.7,4.12-4.71Zm0-2.86H8.63l4.12-4.71,4.12,4.71Z'/></svg>"
) !default;Form select arrows icon.
String
field-control-selectfield-control-select-has-error$select-background-position-width: kib-core-px-to-relative(2px) !default;Form select background position width.
Number
field-control-select$select-padding-right: kib-core-dimensions-get(large) !default;Form select padding right.
Number
field-control-select$select-error-background-position-width: kib-core-px-to-relative(2px) !default;Form select error background position width.
Number
field-control-select-has-error$label-overlayed-background: rgba(kib-core-theme-get('fair'), 0.8) !default;Form label background color when overlayed over scrolling controls.
Color
field-label-is-overlayed$check-size: kib-core-dimensions-get(large) !default;Form checkbox control check size.
Number
indicator-checkbox-is-checkedindicator-checkbox-is-checkedindicator-checkbox-is-checked$check-size-default: $check-size;Form checkbox control check default size.
Number
$check-size-small: kib-core-dimensions-get(default) !default;Form checkbox control check small size.
Number
$binary-size: kib-core-px-to-relative(30px) !default;Form binary input size.
Number
label-mixincontrol-mixinindicator-booleanindicator-booleanlabel-with-input-is-left-is-inlinelabel-with-input-is-right-is-inlineinput-radio-outer$check-offset: ($binary-size - $check-size) *0.5;Form checkbox check offset size.
Number
label-checkbox-is-checkedlabel-checkbox-is-checkedinput-checkbox-inner-is-leftinput-checkbox-inner-is-rightinput-checkbox-outer-is-checkedlabel-checkbox-is-checkedlabel-checkbox-is-checked$icon-checkbox: kib-core-svg-encode(
"<svg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path fill='#{$input-color-active}' d='M4.452 11.28a2.028 2.028 0 0 0-2.88.052 2.059 2.059 0 0 0 .05 2.898l6.23 6.052c.864.84 2.259.748 3.007-.197L22.556 5.328a2.058 2.058 0 0 0-.323-2.88 2.029 2.029 0 0 0-2.863.324L9.07 15.768 4.452 11.28z'/></svg>"
) !default;Form checkbox icon.
String
indicator-checkbox-is-checkedindicator-checkbox-is-checked$radio-check-radius-default: kib-core-px-to-relative(7px) !default;Form radio check size.
Number
label-radio-is-checkedlabel-radio-is-checked-and-focused$binary-size-default: $binary-size;Form binary input size.
Number
$binary-size-small: kib-core-px-to-relative(22px) !default;Form binary input size.
Number
$radio-check-radius-small: kib-core-px-to-relative(5px) !default;Form radio check small size.
Number
$binary-sizes: (
default: (
size: $binary-size-default,
spacing: small,
padding: kib-core-dimensions-get(tiny) 0 0 0,
padding-min-medium: 0,
check-size: $check-size-default,
radio-size: $radio-check-radius-default
),
small: (
size: $binary-size-small,
spacing: small,
padding: 0 0 kib-core-px-to-relative(1px) kib-core-dimensions-get(tiny),
padding-min-medium: kib-core-dimensions-get(tiny),
check-size: $check-size-small,
radio-size: $radio-check-radius-small
)
) !default;Map of binary input sizes.
Map
label-boolean-sizedindicator-boolean-sizefield-booleanlabel-checkbox-is-checkedindicator-checkbox-is-checkedlabel-radiolabel-radio-is-checkedradio-outer-is-focused$label-padding-right: kib-core-dimensions-get(tiny) !default;Form label padding right.
Number
label-boolean$label-boolean-color: kib-core-theme-get('text') !default;Form label boolean color.
Color
label-boolean$label-pseudo-left-position: -1 * ($binary-size + kib-core-dimensions-get(small)) !default;Form label pseudo left position.
Number
label-boolean$switch-size: kib-core-px-to-relative(44px) !default;Form switch input size.
Number
$switch-height: kib-core-px-to-relative(19px) !default;Form switch input height.
Number
$switch-height-small: kib-core-px-to-relative(18px) !default;Form switch input height.
Number
$switch-height-default: $switch-height;Form switch input height.
Number
$switch-size-default: $switch-size;Form switch input size.
Number
$switch-color-base: kib-core-theme-get('text', 'surface') !default;Form switch input base color
Color
label-switch-track-base$switch-color-active: $input-color-active !default;Form switch input active color
Color - color theme on switch only
label-switch-is-checkedlabel-switch-is-checked$switch-color-active-opacity: 0.4 !default;Form switch input active color opacity
Number
label-switch-is-checked$switch-size-small: kib-core-px-to-relative(35px) !default;Form switch input size.
Number
$switch-border-radius: $switch-size * 0.5 !default;Form switch input border-radius.
Number
$switch-border-radius-default: $switch-border-radius;Form switch input border-radius.
Number
$switch-border-radius-small: $switch-size-small * 0.5 !default;Form switch input border-radius.
Number
$switch-position-top-offset: kib-core-px-to-relative(4px) !default;Form switch input top offset position.
Number
$switch-position-top-offset-default: $switch-position-top-offset;Form switch input top offset osition.
Number
$switch-position-top-offset-small: kib-core-px-to-relative(3px) !default;Form switch input top offset position.
Number
$switch-knob-size: $switch-height + kib-core-px-to-relative(9px) !default;Form switch input knob size.
Number
$switch-knob-size-default: $switch-knob-size;Form switch input knob size.
Number
$switch-knob-size-small: $switch-height-small + kib-core-px-to-relative(5px) !default;Form switch input knob size.
Number
$switch-knob-top-offset: kib-core-px-to-relative(1px) * -1 !default;Form switch knob top offset position.
Number
$switch-knob-top-offset-default: $switch-knob-top-offset;Form switch input top offset osition.
Number
$switch-knob-top-offset-small: 0 !default;Form switch input top offset position.
Number
$switch-knob-left-offset: ($switch-size + $switch-knob-size*0.2) * -1 !default;Form switch knob left offset position.
Number
$switch-knob-left-offset-default: $switch-knob-left-offset;Form switch input left offset position.
Number
$switch-knob-left-offset-small: ($switch-size-small + $switch-knob-size-small*0.2) * -1 !default;Form switch input lef offset position.
Number
$switch-knob-checked-position: $switch-knob-size*0.2 * -4 !default;Form switch input knob checked position.
Number
$switch-knob-checked-position-default: $switch-knob-checked-position;Form switch input knob checked position.
Number
$switch-knob-checked-position-small: $switch-knob-size-small*0.2 * -4 !default;Form switch input knob checked position.
Number
$switch-sizes: (
default: (
size: $switch-size-default,
height: $switch-height-default,
border-radius: $switch-border-radius-default,
top-position: $switch-position-top-offset-default,
knob-top-offset: $switch-knob-top-offset-default,
knob-left-offset: $switch-knob-left-offset-default,
knob-size: $switch-knob-size-default,
knob-checked-position: $switch-knob-checked-position-default,
label-vertical-align: bottom,
space-between-label-and-switch: kib-core-dimensions-get(default)
),
small: (
size: $switch-size-small,
height: $switch-height-small,
border-radius: $switch-border-radius-small,
top-position: $switch-position-top-offset-small,
knob-top-offset: $switch-knob-top-offset-small,
knob-left-offset: $switch-knob-left-offset-small,
knob-size: $switch-knob-size-small,
knob-checked-position: $switch-knob-checked-position-small,
label-vertical-align: baseline,
space-between-label-and-switch: kib-core-dimensions-get(default)
)
);Switch: Map of switch input sizes.
Map
label-switch-track-baselabel-switch-knob-baselabel-switchlabel-switch-is-checkedcontainer-sizecontainer-is-endcontrol-sizecontrol-size$switch-hovered-and-focused-states: (
default: (
hovered: 0 0 2px 12px rgba($switch-color-base, 0.1),
focused: 0 0 2px 10px rgba($switch-color-base, 0.3),
active: 0 0 2px 14px rgba($switch-color-base, 0.4),
checked-and-hovered: 0 0 2px 12px rgba($switch-color-active, 0.1),
checked-and-active: 0 0 2px 14px rgba($switch-color-active, 0.3),
checked-and-focused: 0 0 2px 10px rgba($switch-color-active, 0.3)
),
small: (
hovered: 0 0 2px 8px rgba($switch-color-base, 0.1),
focused: 0 0 2px 7px rgba($switch-color-base, 0.2),
active: 0 0 2px 9px rgba($switch-color-base, 0.3),
checked-and-hovered: 0 0 2px 8px rgba($switch-color-active, 0.1),
checked-and-active: 0 0 2px 9px rgba($switch-color-active, 0.3),
checked-and-focused: 0 0 2px 7px rgba($switch-color-active, 0.2)
)
);Switch - Map of switch input hovered and focused states.
Map
@mixin label-boolean-sized($size) { ... }Generate styles for a boolean input label by size.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
getgetgetgetbinary-sizesinput-color@mixin indicator-boolean-size($size) { ... }Generate styles for a boolean input by size.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
getgetbinary-sizesinput-background-defaultinput-border-sizeinput-border-gray@mixin label-mixin($type) { ... }Generate styles for a form label radio/checkbox.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$type | — none | String | — none |
label-booleanindicator-booleaninput-border-radiusbinary-size@mixin control-mixin($type) { ... }Generate styles for a form control radio/checkbox.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$type | — none | String | — none |
control-booleanbinary-size@mixin field-boolean($size) { ... }Generates the form boolean styles.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
getgetbinary-sizes@mixin label-switch-base($size) { ... }Generate switch base styles.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
label-switch@mixin label-switch-track-base($size) { ... }Generate switch - track base styles.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
getgetgetgetgetswitch-sizesswitch-color-baselabel-switch@mixin label-switch-knob-base($size) { ... }Generate switch - knob base styles.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
getgetgetgetswitch-sizesinput-border-sizeinput-border-graylabel-switch@mixin label-switch($size: 'default', $label-placement: 'end') { ... }Generate switch styles
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | default size | String | 'default' |
$label-placement | label placement of the switch | String | 'end' |
label-switch-baselabel-switch-track-baselabel-switch-knob-basegetgetgetgetgetgetgetswitch-sizes@mixin label-switch-is-checked($size) { ... }Label styles for switch controls that are checked.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
getgetgetgetgetswitch-sizesswitch-color-activeswitch-color-active-opacityswitch-color-active@mixin label-switch-hovered-and-focused-states($size: default, $state: hovered) { ... }Label styles for switch controls that are hovered or focus.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | Default or small size of switch | String | default |
$state | Hovered, focused, active, checked-and-hovered, check-and-active and or checked-and-focused state | String | hovered |
getgetswitch-hovered-and-focused-states@mixin label-switch-disabled() { ... }Label styles for switch controls that are disabled.
None.
input-border-gray@mixin label-boolean-is-hovered() { ... }Label styles for when its boolean input is hovered over.
None.
@mixin label-boolean-is-focused() { ... }Label styles for a boolean control when it is focused.
None.
@mixin indicator-checkbox-is-checked() { ... }Checkbox indicator styles when it is checkedß.
None.
check-sizecheck-sizeicon-checkboxcheck-sizelabel-checkbox-is-checkedlabel-checkbox-is-checked@mixin label-radio-is-checked() { ... }Label styles for radio controls when the control is checked.
None.
input-color-activeradio-check-radius-defaultinput-background-default@mixin label-checkbox-is-checked() { ... }Label styles for checkbox controls that are checked.
None.
indicator-checkbox-is-checkedcheck-offsetcheck-offset@mixin label-radio-is-checked-and-focused() { ... }Label styles for radio controls that are checked and focused.
None.
input-color-activeinput-border-sizeinput-color-activeradio-check-radius-defaultinput-background-default@mixin indicator-boolean() { ... }Generate default styles for a boolean input.
None.
binary-sizebinary-sizeinput-background-defaultinput-border-sizeinput-border-graylabel-mixin@mixin control-boolean() { ... }Generate styles for a boolean control.
None.
control-mixin@mixin label-boolean() { ... }Generate styles for a boolean input label.
None.
label-padding-rightlabel-boolean-colorlabel-pseudo-left-positionlabel-mixin@mixin field-container() { ... }General styles for a form field container.
None.
@mixin field-container-nested() { ... }General style for a nested form field container.
None.
@mixin field-help() { ... }General styles for form help text.
None.
help-color@mixin field-inner-wrapper() { ... }General styles for form inner wrapper.
None.
@mixin field-is-hovered() { ... }General styles for form hover state.
None.
input-color-active@mixin field-is-focused() { ... }General styles for form focused state.
None.
input-color-activeinput-border-sizeinput-color-active@mixin field-is-disabled() { ... }General styles for form disabled state.
None.
@mixin field-is-inline() { ... }Variant styles for inline form components.
None.
@mixin transition() { ... }General styles for the form transitions.
None.
@mixin field-control() { ... }General styles for all form controls.
None.
control-font-stylecontrol-vertical-paddingcontrol-horizontal-paddinginput-heightinput-background-defaultinput-border-sizeinput-border-grayinput-border-radiusinput-colorinput-border-sizeinput-border-sizecontrol-autofill-padding-topcontrol-autofill-padding-bottomcontrol-label-top-positioncontrol-label-top-position@mixin field-control-is-hovered() { ... }Control styles for radio controls when the control is hovered.
None.
input-color-active@mixin field-control-is-focused() { ... }Control styles for radio controls when the control is focused.
None.
input-color-activeinput-border-sizeinput-color-active@mixin field-control-has-label-placholder() { ... }Control styles for labels being used as placeholders.
None.
label-placeholder-padding-toplabel-placeholder-padding-bottom@mixin field-control-input() { ... }Control styles for input controls.
None.
@mixin field-control-textarea() { ... }Control styles for textarea controls.
None.
@mixin field-control-select() { ... }Control styles for select controls.
None.
input-colorinput-background-defaultselect-arrowsselect-background-position-widthselect-padding-right@mixin field-control-has-error-base() { ... }General styles for control error states.
None.
input-border-errorinput-border-sizeinput-border-errorfield-control-has-error-is-hoveredfield-control-has-error-is-focusedfield-control-has-error@mixin field-control-has-error-is-hovered() { ... }General styles for control error hover states.
None.
field-control-has-error-basefield-control-has-error@mixin field-control-has-error-is-focused() { ... }General styles for control error focus states.
None.
field-control-has-error-basefield-control-has-error@mixin field-control-has-error() { ... }Control styles for error states.
None.
field-control-has-error-basefield-control-has-error-is-hoveredfield-control-has-error-is-focusedcontrol-error-padding-right@mixin field-control-select-has-error() { ... }Control styles for select error states.
None.
input-background-defaultselect-arrowsselect-error-background-position-width@mixin field-label() { ... }General styles for all form labels.
None.
label-font-style@mixin field-label-is-placeholder() { ... }Label styles for when they are being used as placeholders.
None.
input-border-sizeinput-placeholder-color@mixin field-label-is-placeholder-is-active() { ... }Label styles for when the placeholder is active.
None.
active-placeholder-top-position@mixin field-label-is-placeholder-is-inactive() { ... }Label styles for when the placeholder is inactive.
None.
inactive-placeholder-font-sizeinactive-placeholder-top-position@mixin field-label-is-overlayed() { ... }Label styles for when it must be positioned over scolling controls.
None.
label-overlayed-background@mixin field-label-is-hovered() { ... }Label styles for when its boolean input is hovered over.
None.
@mixin field-label-is-focused() { ... }Label styles for a boolean control when it is focused.
None.
@mixin states-property-generate($type) { ... }Generate styles for autocomplete states
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$type | — none | String | — none |
getgetgetstates-mapinput-border-sizelistbox-is-focusedlistbox-has-error@mixin loader-property-generate($type) { ... }Generate styles for autocomplete loader
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$type | — none | String | — none |
getgetgetloader-maploader-right-positionloader-baseloader@mixin listbox() { ... }Generate styles for autocomplete listbox
None.
listbox-maxheightinput-background-defaultinput-border-sizeinput-border-grayinput-border-radiusinput-border-radius@mixin listbox-is-hovered() { ... }Generate styles for autocomplete listbox hover state
None.
input-color-active@mixin listbox-is-focused() { ... }Generate styles for autocomplete listbox focus state
None.
states-property-generate@mixin listbox-has-error() { ... }Generate styles for autocomplete listbox error state
None.
states-property-generate@mixin option() { ... }Generate styles for autocomplete option
None.
option-font-sizeoption-font-weight@mixin option-is-active() { ... }Generate styles for autocomplete option active state
None.
option-emphasis-background@mixin highlight() { ... }Generate styles for autocomplete highlight
None.
highlight-font-weight@mixin appended-control() { ... }Generate styles for autocomplete appended controls
None.
@mixin icon-base() { ... }Generate styles for autocomplete base icon styles
None.
icon-dimensionsicon-dimensionsicon-dimensionsicon-dimensions@mixin loader-base() { ... }Generate styles for autocomplete base loader styles
None.
loader-property-generate@mixin clear-button() { ... }Generate styles for autocomplete clear button
None.
clear-right-positionclear-colorclear-emphasis-color@mixin clear-button-no-icon() { ... }Generate styles for autocomplete clear button variant with no icon
None.
clear-noicon-right-position@mixin icon() { ... }Generate styles for autocomplete icon
None.
icon-color@mixin loader() { ... }Generate styles for autocomplete loader
None.
loader-property-generateicon-color@mixin loader-no-icon() { ... }Generate styles for autocomplete loader variant with no icon
None.
@mixin control-has-suggestions() { ... }Generate styles for autocomplete control variant with suggestions
None.
@mixin transition() { ... }Generate styles for the autocomplete transitions
None.
This style is just a placeholder until we have react transition component ready
$option-emphasis-background: kib-core-theme-get(
'background',
'header'
) !default;Autocomplete option with emphasis background color
Color
option-is-active$clear-color: kib-core-theme-get('text', 'surface') !default;Autocomplete clear button icon color
Color
clear-button$clear-emphasis-color: kib-core-theme-get('text', 'secondary') !default;Autocomplete clear button icon color when on hover/focus
Color
clear-button$icon-color: kib-core-theme-get('link') !default;Autocomplete search and loading icons color
Color
$listbox-maxheight: kib-core-px-to-relative(240px) !default;Autocomplete listbox max-height
Number
listbox$option-font-size: kib-core-get-type-property(tiny, size) !default;Autocomplete option font size
Number
option$option-font-weight: map.get($kib-core-type-weights, bold) !default;Autocomplete option font weight
Number
option$highlight-font-weight: map.get($kib-core-type-weights, regular) !default;Autocomplete highlight font weight
Number
highlight$icon-dimensions: kib-core-dimensions-get(default) !default;Autocomplete highlight font weight
Number
$loader-right-position: kib-core-dimensions-get(default) !default;Autocomplete loader right position
Number
loader-property-generate$loader-margin-top: -1 * kib-core-dimensions-get(small) !default;Autocomplete loader margin top
Number
$clear-right-position: kib-core-dimensions-get(huge) +
kib-core-dimensions-get(small) !default;Autocomplete clear right position
Number
clear-button$clear-noicon-right-position: kib-core-dimensions-get(default) !default;Autocomplete clear no icon right position
Number
clear-button-no-icon$states-map: (
active: (
color: settings.$input-color-active
),
error: (
color: settings.$input-border-error
)
);Autocomplete map for different states
Map
states-property-generate$loader-map: (
loader: (
top: settings.$input-height * 0.5,
margin-top: (
kib-core-dimensions-get(small) - settings.$input-border-size
) * -1
),
clear: (
top: settings.$input-height * 0.5 + settings.$input-border-size,
margin-top: $loader-margin-top
)
);Autocomplete map for loader properties
Map
loader-property-generate@mixin container() { ... }Generates container styles for the button toggle
None.
@mixin control() { ... }Generates control styles for the button toggle
None.
@mixin label() { ... }Generates label styles for the button toggle
None.
label-border-radiuscontrol-label-background-colorcontrol-label-text-colorcontrol-label-boxshadow-colorcontrol-label-boxshadow-coloryellowyellow@mixin label-is-disabled() { ... }Generates label styles for the button toggle disabled state
None.
disabled-background-color@mixin label-is-disabled-is-hovered() { ... }Generates label styles for the button toggle disabled hover state
None.
disabled-border-colordisabled-border-color@mixin label-is-invalid() { ... }Generates label styles for the button toggle invalid state
None.
@mixin label-is-invalid-is-hovered() { ... }Generates label styles for the button toggle invalid hover state
None.
@mixin label-text() { ... }Generates label text styles for the button toggle
None.
@mixin label-text-is-disabled() { ... }Generates label text styles for the button toggle disabled state
None.
@mixin label-text-is-invalid() { ... }Generates label text styles for the button toggle invalid state
None.
@mixin label-text-is-invalid-is-hovered() { ... }Generates label text styles for the button toggle invalid hover state
None.
@mixin label-is-selected() { ... }Generates label styles for the button toggle selected state
None.
active-background-colorcontrol-label-text-coloryellowyellow@mixin label-is-focused() { ... }Generates label styles for the button toggle focus state
None.
label-boxshadow-color@mixin label-with-input() { ... }Generates label with input styles for the button toggle
None.
@mixin label-input-indicator() { ... }Generates label input indicator styles for the button toggle
None.
@mixin label-with-input-is-left-is-inline() { ... }Generates label input styles for the button toggle when left aligned
None.
binary-size@mixin label-with-input-is-right-is-inline() { ... }Generates label input styles for the button toggle when right aligned
None.
binary-size@mixin label-with-input-is-hovered() { ... }Generates label input styles for the button toggle when hovered
None.
@mixin label-with-input-is-focused() { ... }Generates label input styles for the button toggle when focused
None.
@mixin input-outer() { ... }Generates input outer styles for the button toggle
None.
@mixin input-outer-is-left() { ... }Generates input outer styles for the button toggle when left aligned
None.
@mixin input-outer-is-right() { ... }Generates input outer styles for the button toggle when right aligned
None.
@mixin input-inner() { ... }Generates input inner styles for the button toggle
None.
@mixin input-checkbox-inner-is-left() { ... }Generates checkbox inner styles for the button toggle when left aligned
None.
check-offset@mixin input-checkbox-inner-is-right() { ... }Generates checkbox inner styles for the button toggle when right aligned
None.
check-offset@mixin input-checkbox-outer() { ... }Generates checkbox outer styles for the button toggle
None.
input-border-radius@mixin input-checkbox-is-checked() { ... }Generates checkbox styles for the button toggle when checked
None.
@mixin input-checkbox-outer-is-checked() { ... }Generates checkbox outer styles for the button toggle when checked
None.
check-offset@mixin input-radio-outer() { ... }Generates radio outer styles for the button toggle
None.
binary-size@mixin input-radio-is-checked() { ... }Generates radio outer styles for the button toggle when checked
None.
$yellow: #f5a623 !default;Colors -- Orange
Color
$disabled-background-color: $kib-gray-100 !default;Button toggle disabled background color
Color
label-is-disableddisabled$disabled-border-color: kib-core-theme-get('outline') !default;Button toggle disabled border color
Color
label-is-disabled-is-hoveredlabel-is-disabled-is-hovered$label-boxshadow-color: kib-core-theme-get('link') !default;Button toggle label boxshadow color
Color
label-is-focused$label-border-radius: kib-core-dimensions-get(tiny) !default;Button toggle label border radius
Number
label$control-label-boxshadow-color: kib-core-theme-get('outline') !default;Button toggle control label boxshadow color
Color
$control-label-background-color: kib-core-theme-get('fair') !default;Button toggle control label background color
Color
label$control-label-text-color: kib-core-theme-get('text') !default;Button toggle control label text color
Color
labellabel-is-selected$active-background-color: kib-core-theme-get('warning', 'highlight') !default;Button toggle active background color
Color
label-is-selected$bezier: cubic-bezier(0.23, 1, 0.32, 1) !default;Calendar cubic bezier value
Animation
$slide-time: 400ms !default;Calendar slide time
Number
$day-size: (kib-core-dimensions-get(large) * 1.35) !default;Calendar day size
Number
$padding: kib-core-dimensions-get(default) !default;Calendar padding
Number
containercontainercontainercontent-containerbasebase-styles$day-margin: kib-core-px-to-relative(2px) !default;Calendar day margin
Number
$days-width: (($day-size * 7) + ($day-margin * 14)) !default;Calendar day width
Number
$calendar-width: $days-width + ($padding * 2) !default;Calendar width
Number
$weekdays-height: kib-core-dimensions-get(huge) !default;Calendar weekdays height
Number
$time-height: kib-core-dimensions-get(huge) !default;Calendar time height
Number
$no-calendar-border: false !default;Calendar picker border
Boolean
$calendar-background: kib-core-theme-get('fair') !default;Calendar background color
Color
$calendar-border-color: kib-core-theme-get('outline') !default;Calendar border color
Color
$month-foreground: rgba(kib-core-theme-get('slate'), 0.9) !default;Calendar month foreground color
Color
$arrow-hover-color: darken(kib-core-theme-get('link'), 20) !default;Calendar arrow hover color
Color
$month-background: kib-core-theme-get('fair') !default;Calendar month background color
Color
$weekdays-background: transparent !default;Calendar weekdays background color
Color
$weekdays-foreground: rgba(kib-core-theme-get('slate'), 0.54) !default;Calendar weekdays foreground color
Color
$day-foreground: kib-core-theme-get('text') !default;Calendar day foreground color
Color
$day-hover-background: kib-core-theme-get('outline') !default;Calendar day hover background color
Color
$today-fg-color: kib-core-theme-get('fair') !default;Calendar today foreground color
Color
$today-color: kib-core-theme-get('outline') !default;Calendar today text color
Color
$selected-day-foreground: null !default;Calendar selected day foreground color
Color
$selected-day-background: kib-core-theme-get('success') !default;Calendar selected day background color
Color
$inverted-bg: color.invert($calendar-background) !default;Calendar inverted color
Color
$disabled-border-color: transparent !default;Calendar disabled border color
Color
$arrow-color: kib-core-theme-get('link') !default;Calendar arrow color
Color
$arrow-disabled: rgba($day-foreground, 0.1) !default;Calendar arrow disabled color
Color
$transform: translate3d(0, 0, 0);Calendar transform
Transform
$transform-negative-100: translate3d(-100%, 0, 0);Calendar transform negative 100
Transform
$transform-100: translate3d(100%, 0, 0);Calendar transform 100
Transform
$inline-top-position: kib-core-px-to-relative(2px) !default;Calendar inline top position
Number
$input-time-border: kib-core-px-to-relative(1px) solid $calendar-border-color !default;Calendar input time border
Border
$arrow-border: kib-core-dimensions-get(tiny) solid transparent !default;Calendar arrow border
Border
$calendar-pseudo-position: kib-core-px-to-relative(22px) !default;Calendar calendar pseudo position
Number
@mixin label-checkbox-is-checked($size) { ... }Label styles for checkbox controls that are checked.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
indicator-checkbox-is-checkedgetbinary-sizescheck-offsetcheck-offset@mixin label-checkbox($size) { ... }Generate checkbox styles.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
input-border-radius@mixin indicator-checkbox-is-checked($size) { ... }Generate checkbox checked styles.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
getgetgetbinary-sizesicon-checkbox@mixin label-base() { ... }Generate checkbox base label styles.
None.
@mixin popup() { ... }Generates popup styles for the dropdown
None.
@mixin list() { ... }Generates list styles for the dropdown
None.
list-maxheight@mixin option() { ... }Generates option styles for the dropdown
None.
@mixin radio-wrapper() { ... }Generates radio wrapper styles for the dropdown
None.
@mixin radio-label() { ... }Generates radio label styles for the dropdown
None.
label-font-sizelabel-line-height@mixin radio-label-is-hovered() { ... }Generates radio label state styles for the dropdown when hovered
None.
@mixin radio-label-is-selected() { ... }Generates radio label state styles for the dropdown when selected
None.
$list-maxheight: kib-core-px-to-relative(224px) !default;Dropdown list max-height
Number
list$label-font-size: kib-core-get-type-property(base, size) !default;Dropdown label font size
Number
radio-label$label-line-height: kib-core-get-type-property(base, height) !default;Dropdown label line height
Number
radio-label@mixin kib-form-group-label() { ... }Styles for the label of a container of a collection of related fields.
None.
label-font-weight@mixin messages-above() { ... }Styles when messages are displayed above
None.
$label-font-weight: map.get($kib-core-type-weights, regular) !default;Form group label font weight.
Color
kib-form-group-label@mixin container() { ... }styles for the form message container.
None.
@mixin list() { ... }Styles for the form message list.
None.
@mixin item() { ... }General/default styles for form messages.
None.
font-sizefont-weightcolor@mixin item-is-error() { ... }Style for form related error messages
None.
error-color@mixin item-is-warning() { ... }Style for form related error messages
None.
warning-color$font-size: kib-core-get-type-property(micro, size) !default;Form messages font size
Number
$font-weight: map.get($kib-core-type-weights, normal) !default;Form messages font weight
Number
$color: kib-core-theme-get('ash', 'surface') !default;Form messages default text color
Color
itemrange-thumbdropshadowdropshadowdropshadowdefaultdefaultdefaultfilledfilledfilledcontrol-itemencode-color$error-color: settings.$error-color !default;Form messages error text color
Color
$warning-color: settings.$warning-color !default;Form messages warning text color
Color
@mixin multiselect-option-pseudo-properties($type) { ... }Generate styles for multiselect option pseudo elements.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$type | — none | String | — none |
getgetgetgetgetgetoption-pseudo-mapmultiselect-optionmultiselect-option@mixin multiselect-spinner-pseudo-properties($type) { ... }Generate styles for multiselect spinner pseudo elements.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$type | — none | String | — none |
getgetspinner-pseudo-mapspinner-pseudo-marginspinner-pseudo-marginspinner-pseudo-dimensionsspinner-pseudo-dimensionsspinner-pseudo-border-colorspinner-pseudo-border-widthspinner-pseudo-shadow-offsetmultiselect-spinnermultiselect-spinner@mixin multiselect-select-properties($type) { ... }Generate styles for multiselect select element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$type | — none | String | — none |
getgetselect-properties-mapselect-widthselect-heightselect-positionselect-positioncurrent-min-heightcurrent-padding-rightcurrent-border-radiuscurrent-border-widthcurrent-border-color@mixin multiselect-option() { ... }Common styles for multiselect option.
None.
multiselect-option-pseudo-propertiesmultiselect-option-pseudo-propertiesoption-padding-leftoption-before-border-widthoption-before-border-coloroption-before-border-radiusinput-background-defaultoption-highlight-background-coloroption-highlight-selected-background-image@mixin multiselect-caret() { ... }Common styles for multiselect caret.
None.
caret-right-positioninput-border-gray@mixin multiselect-spinner() { ... }Common styles for multiselect spinner.
None.
multiselect-spinner-pseudo-propertiesmultiselect-spinner-pseudo-propertiesspinner-positionspinner-positionspinner-widthspinner-heightspinner-background-color@mixin multiselect-input-border() { ... }Common styles for multiselect input border.
None.
@mixin multiselect-select-pseudo() { ... }Common styles for multiselect select pseudo element.
None.
select-pseudo-text-colorselect-pseudo-border-widthselect-pseudo-border-widthselect-pseudo-border-widthselect-pseudo-text-color@mixin multiselect-placeholder() { ... }Common styles for multiselect placeholder element.
None.
placeholder-text-colorplaceholder-margin-bottomplaceholder-padding-top@mixin multiselect-content-wrapper() { ... }Common styles for multiselect content wrapper.
None.
wrapper-left-positionwrapper-widthwrapper-min-heightwrapper-max-heightwrapper-border-widthinput-color-activewrapper-border-radiuswrapper-border-radius@mixin multiselect-above-content-wrapper() { ... }Common styles for multiselect above content wrapper.
None.
multiselect-input-borderwrapper-border-radiuswrapper-border-radius@mixin multiselect-content() { ... }Common styles for multiselect content.
None.
@mixin control() { ... }Common styles for the control.
None.
@mixin noresult() { ... }Common styles for no results.
None.
@mixin loader() { ... }Common styles for the loader.
None.
@mixin after-list-message() { ... }Common styles for the after list message.
None.
@mixin label-is-active() { ... }Common styles for the label active state.
None.
@mixin container-is-active() { ... }Common styles for the container active state.
None.
@mixin caret-is-active() { ... }Common styles for the caret active state.
None.
@mixin content-wrapper-has-error() { ... }Common styles for content wrapper error state.
None.
error-color@mixin fieldset-is-disabled() { ... }Common styles for fieldset disabled state.
None.
@mixin multiselect-loading-is-in() { ... }Common styles for multiselect loader in view state.
None.
@mixin multiselect-loading-is-out() { ... }Common styles for multiselect loading out of view state.
None.
@mixin multiselect-fonts() { ... }Common styles for multiselect base fonts.
None.
@mixin multiselect-is-disabled() { ... }Common styles for multiselect disabled state.
None.
@mixin multiselect-is-active() { ... }Common styles for multiselect active state.
None.
@mixin multiselect-select-is-active() { ... }Common styles for multiselect select active state.
None.
@mixin multiselect-input-is-above-is-active() { ... }Common styles for multiselect input state when above and active.
None.
@mixin multiselect-input-base() { ... }Common styles for base multiselect input.
None.
@mixin multiselect-input() { ... }Common styles for multiselect input.
None.
@mixin multiselect-input-placeholder() { ... }Common styles for multiselect input placeholder.
None.
label-color@mixin multiselect-tags-container() { ... }Common styles for multiselect tags container.
None.
@mixin multiselect-strong() { ... }Common styles for multiselect strong.
None.
@mixin multiselect-element() { ... }Common styles for multiselect element.
None.
@mixin multiselect-is-in() { ... }Common styles for multiselect in view state.
None.
@mixin multiselect-is-out() { ... }Common styles for multiselect out of view state.
None.
$option-padding-left: kib-core-dimensions-get(small) * 2 + kib-core-dimensions-get(default) !default;Multiselect option padding left
Number
multiselect-option$option-before-top-position: (
math.div(kib-core-dimensions-get(default), 6) + kib-core-dimensions-get(small)
) !default;Multiselect option before pseudo element top position
Number
$option-before-left-position: kib-core-dimensions-get(small) !default;Multiselect option before pseudo element left position
Number
$option-before-dimensions: kib-core-dimensions-get(default) !default;Multiselect option before pseudo element dimensions
Number
$option-before-border-width: kib-core-px-to-relative(1px) !default;Multiselect option before pseudo element border width
Number
multiselect-option$option-before-border-color: rgba(kib-core-theme-get('slate'), 0.3) !default;Multiselect option before pseudo element border color
Number
multiselect-option$option-before-border-radius: kib-core-px-to-relative(2px) !default;Multiselect option before pseudo element border radius
Number
multiselect-option$option-after-top-position: (
math.div(kib-core-dimensions-get(default), 6) + kib-core-dimensions-get(small) +
(kib-core-dimensions-get(default) - kib-core-dimensions-get(default) * 0.9)
) !default;Multiselect option after pseudo element top position
Number
$option-after-left-position: kib-core-dimensions-get(small) +
(kib-core-dimensions-get(default) - kib-core-dimensions-get(default) * 0.9) * 0.5 !default;Multiselect option after pseudo element left position
Number
$option-after-dimensions: kib-core-dimensions-get(default) !default;Multiselect option after pseudo element dimensions
Number
$option-highlight-background-color: kib-core-theme-get('background', 'container') !default;Multiselect option highlight background color
Color
multiselect-option$option-highlight-selected-background-image: url(kib-core-svg-base64-encode(
$kib-asset-icon-multi-option-selected
)) !default;Multiselect option highlight selected background image
Color
multiselect-option$caret-right-position: kib-core-dimensions-get(small) !default;Multiselect caret right position
Number
multiselect-caret$spinner-position: kib-core-px-to-relative(1px) !default;Multiselect spinner position
Number
multiselect-spinnermultiselect-spinner$spinner-width: kib-core-px-to-relative(48px) !default;Multiselect spinner width
Number
multiselect-spinner$spinner-height: kib-core-px-to-relative(35px) !default;Multiselect spinner height
Number
multiselect-spinner$spinner-background-color: kib-core-theme-get('fair') !default;Multiselect spinner background color
Color
multiselect-spinner$spinner-pseudo-margin: -1 * kib-core-dimensions-get(small) !default;Multiselect spinner pseudo margin
Number
$spinner-pseudo-dimensions: kib-core-dimensions-get(default) !default;Multiselect spinner pseudo dimensions
Number
$spinner-pseudo-border-width: kib-core-px-to-relative(2px) !default;Multiselect spinner pseudo border width
Number
$spinner-pseudo-border-color: kib-core-px-to-relative(2px) !default;Multiselect spinner pseudo border color
Color
$spinner-pseudo-shadow-offset: #41b883 !default;Multiselect spinner pseudo box shadow offset
Color
$current-line-height: kib-core-dimensions-get(default) !default;Multiselect current line height
Number
$current-min-height: kib-core-px-to-relative(40px) !default;Multiselect current min height
Number
multiselect-select-properties$current-border-radius: kib-core-dimensions-get(tiny) !default;Multiselect current border radius
Number
multiselect-select-properties$current-border-width: kib-core-px-to-relative(1px) !default;Multiselect current border width
Number
multiselect-select-properties$current-border-color: #e8e8e8 !default;Multiselect current border color
Color
multiselect-select-properties$current-padding-right: kib-core-px-to-relative(30px) !default;Multiselect current padding right
Number
multiselect-select-properties$select-line-height: kib-core-dimensions-get(default) !default;Multiselect select padding right
Number
$select-width: kib-core-px-to-relative(40px) !default;Multiselect select width
Number
multiselect-select-properties$select-height: kib-core-px-to-relative(38px) !default;Multiselect select height
Number
multiselect-select-properties$select-position: kib-core-px-to-relative(1px) !default;Multiselect select position
Number
multiselect-select-propertiesmultiselect-select-properties$select-pseudo-text-color: kib-core-theme-get('text', 'surface') !default;Multiselect select pseudo text color
Color
multiselect-select-pseudomultiselect-select-pseudo$select-pseudo-border-width: kib-core-px-to-relative(5px) !default;Multiselect select pseudo border width
Number
multiselect-select-pseudomultiselect-select-pseudomultiselect-select-pseudo$placeholder-text-color: #adadad !default;Multiselect placeholder text color
Color
$placeholder-margin-bottom: kib-core-px-to-relative(10px) !default;Multiselect placeholder margin bottom
Number
multiselect-placeholder$placeholder-padding-top: kib-core-px-to-relative(2px) !default;Multiselect placeholder padding top
Number
multiselect-placeholder$wrapper-left-position: -1 * kib-core-px-to-relative(2px) !default;Multiselect wrapper left position
Number
multiselect-content-wrapper$wrapper-width: kib-core-dimensions-get(tiny) !default;Multiselect wrapper width
Number
multiselect-content-wrapper$wrapper-min-height: (kib-core-dimensions-get(small) * 2 + kib-core-type-line-height(base) * 1rem) *
2 !default;Multiselect wrapper min height
Number
multiselect-content-wrapper$wrapper-max-height: kib-core-px-to-relative(240px) !default;Multiselect wrapper max height
Number
multiselect-content-wrapper$wrapper-border-width: kib-core-px-to-relative(2px) !default;Multiselect wrapper border width
Number
multiselect-content-wrapper$wrapper-border-radius: kib-core-dimensions-get(tiny) !default;Multiselect wrapper border radius
Number
multiselect-content-wrappermultiselect-content-wrappermultiselect-above-content-wrappermultiselect-above-content-wrapper$option-pseudo-map: (
before: (
z-index: 1,
top: $option-before-top-position,
left: $option-before-left-position,
width: $option-before-dimensions,
height: $option-before-dimensions
),
after: (
z-index: 2,
top: $option-after-top-position,
left: $option-after-left-position,
width: $option-after-dimensions,
height: $option-after-dimensions
)
);Multiselect option pseudo properties map
Map
$spinner-pseudo-map: (
before: (
animation-function: cubic-bezier(0.41, 0.26, 0.2, 0.62)
),
after: (
animation-function: cubic-bezier(0.51, 0.09, 0.21, 0.8)
)
);Multiselect spinner pseudo properties map
Map
$select-properties-map: (
current: (
line-height: $current-line-height
),
select: (
line-height: $select-line-height
)
);Multiselect select properties map
Map
multiselect-select-properties@mixin toggle() { ... }Generates styles for the password toggle
None.
password-toggle-indexpassword-toggle-color@mixin label-radio($size) { ... }Generate radio styles.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
getgetbinary-sizes@mixin label-radio-is-checked($size) { ... }Generate radio checked styles.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
getgetbinary-sizesinput-color-activeinput-background-default@mixin container-is-small() { ... }Generate small container styles.
None.
@mixin label-base() { ... }Generate base label styles.
None.
@mixin label() { ... }Generate label styles.
None.
@mixin radio-outer-is-focused($size) { ... }Generate radio outer focused state styles.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
getgetbinary-sizesinput-color-activeinput-border-sizeinput-color-activeinput-background-default@function kib-form-range-get-fill($lowerFill, $upperFill) { ... }Calculate the fill color of the range
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$lowerFill | The color of the lower fill | Color | — none |
$upperFill | The color of the upper fill | Color | — none |
thumb-sizethumb-sizerange-trackrange-fill-disabled@mixin range-track($fill) { ... }Generate styles for range's track
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$fill | — none | Number | — none |
kib-form-range-get-fillfill-grey-colorheightfill-colorfill-grey-color@mixin range-fill() { ... }Generate styles for range's fill
None.
fill-colorheight@mixin range-fill-disabled($fill) { ... }Generate styles for range's fill when disabled
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$fill | — none | Number | — none |
kib-form-range-get-fillfill-grey-colorgrey-colorfill-grey-color@mixin range-thumb() { ... }Generate styles for range's thumb
None.
range-thumb-focusedthumb-sizethumb-sizecolorthumb-sizerange-thumb-disabled@mixin range-thumb-focused() { ... }Generate styles for range's thumb when focused
None.
thumb-sizerange-thumb@mixin range-thumb-disabled() { ... }Generate styles for range's thumb when disabled
None.
range-thumbgrey-color$height: kib-core-px-to-relative(8px);Range's track height.
Number
range-trackrange-fillindicatorshapeshapetype-line-heighttype-line-heighttype-baseline-distancetype-baseline-distancetype-block-space-bottomtype-block-space-bottomtype-block-adjust-toptype-block-adjust-topsize-block-element$thumb-size: kib-core-px-to-relative(24px);Range's thumb size.
Number
kib-form-range-get-fillkib-form-range-get-fillrange-thumbrange-thumbrange-thumbrange-thumb-focused$color: kib-core-theme-get('link', 'base');Range's primary color
Color
$grey-color: kib-core-theme-get('text', 'surface');Range's secondary color.
Color
range-fill-disabledrange-thumb-disabled$fill-color: kib-core-theme-get('link', 'base');Range's primary fill color
Color
range-trackrange-fill$fill-grey-color: kib-core-theme-get('outline', 'base');Range's secondary fill color
Color
range-trackrange-trackrange-fill-disabledrange-fill-disabled@mixin control-ms-value() { ... }Generate control ms-value styles for the select
None.
@mixin control-moz-focusring() { ... }Generate control moz-focusring styles for the select
None.
$sizes: default, small;Generate styles depending on the specified size: default, small
@param {String} $size
@mixin container() { ... }Container styles
None.
@mixin container-size() { ... }Container styles for variant sizes
None.
switch-sizes@mixin container-is-start() { ... }Container styles for variant sizes when label is first
None.
@mixin container-is-end() { ... }Container styles for variant sizes when label is at the end
None.
switch-sizes@mixin label() { ... }Label styles for variant sizes
None.
@mixin label-is-disabled() { ... }Label styles for switch disabled state
None.
@mixin label-is-start() { ... }Switch variant styles when label is first
None.
@mixin label-is-spaced-apart() { ... }Switch label is space apart from the switch (only when switch starts with label first)
None.
@mixin switch-is-start() { ... }Switch itself when the label placement is at 'start'
None.
@mixin control() { ... }Control styles for variant sizes
None.
@mixin control-size() { ... }Control styles for variant sizes
None.
switch-sizesswitch-sizes@mixin label-has-error() { ... }Label styles for switch disabled variant
None.
input-border-sizeinput-border-error@mixin base-styles() { ... }Base styles
None.
root-fontroot-minmedium-line-heightbody-font-sizelist-padding-rightlist-padding-leftdescription-list-padding-horizontaldescription-list-padding-horizontallistitem-margin-bottomnested-list-margin-topnested-list-padding-leftdescription-term-font-weightsmall-font-sizeitalic-font-stylebold-font-weighttable-border-widthtable-border-colorcaption-padding-verticalcaption-padding-horizontaltable-header-font-weighttable-header-background-colortable-border-widthtable-border-colorcode-font-familycode-background-colortable-border-widthtable-border-colorcode-padding-horizontalcode-padding-horizontalcode-paddingblockquote-font-sizeblockquote-padding-horizontalblockquote-padding-horizontalblockquote-before-text-colorblockquote-font-size-minmediumblockquote-padding-horizontal-minmediumblockquote-padding-horizontal-minmedium$root-font: map.get($kib-core-type-weights, regular)
list.slash(
math.div(kib-core-theme-get('font', 'base', 'size'), 16px) * 100%,
kib-core-type-line-height(base)
)
#{kib-core-theme-get('font', 'base', 'family')} !default;Root font
List</code> or <code>Number
base-styles$root-minmedium-line-height: kib-core-type-line-height(small) !default;Root line height for min-medium media query
Number
base-styles$body-font-size: kib-core-get-type-property(base, size) !default;Body font size
Number
base-styles$list-padding-right: kib-core-dimensions-get(default, em) !default;List padding right
Number
base-styles$list-padding-left: kib-core-dimensions-get(large, em) !default;List padding left
Number
base-styles$listitem-margin-bottom: kib-core-dimensions-get(small, em) !default;List item margin bottom
Number
base-styles$description-list-padding-horizontal: kib-core-dimensions-get(default, em) !default;Description list padding horizontal
Number
base-stylesbase-styles$description-term-font-weight: map.get($kib-core-type-weights, medium) !default;Description term font weight
Number
base-styles$nested-list-margin-top: kib-core-dimensions-get(small, em) !default;Nested List margin top
Number
base-styles$nested-list-padding-left: kib-core-dimensions-get(default, em) !default;Nested List padding left
Number
base-styles$small-font-size: kib-core-get-type-property(
micro,
size,
(
base: 16px,
inline: true
)
) !default;Small tag font size
Number
base-styles$italic-font-style: italic !default;Italic font style
Number
base-styles$bold-font-weight: map.get($kib-core-type-weights, bold) !default;Bold font weight
Number
base-styles$table-border-width: kib-core-px-to-relative(1px) !default;Table border width
Number
base-stylesbase-stylesbase-styles$table-border-color: kib-core-theme-get('outline', 'form') !default;Table border color
Color
base-stylesbase-stylesbase-styles$table-border-width: kib-core-px-to-relative(1px) !default;Table border width
Number
$caption-padding-vertical: kib-core-dimensions-get(small, em) !default;Caption vertical padding
Number
base-styles$caption-padding-horizontal: kib-core-dimensions-get(small) !default;Caption horizontal padding
Number
base-styles$table-header-font-weight: map.get($kib-core-type-weights, medium) !default;Table header font weight
Number
base-styles$table-header-background-color: kib-core-theme-get('background', 'header') !default;Table header background color
Color
base-styles$code-padding-horizontal: kib-core-dimensions-get(tiny, em) !default;Code tag horizontal padding
Number
base-stylesbase-styles$code-padding: kib-core-dimensions-get(small, em) !default;Pre tag padding
Number
base-styles$code-font-family: kib-core-theme-get('font', 'monospace', 'family') !default;Code font family
String
base-styles$code-background-color: kib-core-theme-get('outline') !default;Code background color
Color
base-styles$blockquote-font-size: map.get(kib-core-get-type-size(giant), size) * 2 !default;Blockquote font size
Number
base-styles$blockquote-font-size-minmedium: map.get(kib-core-get-type-size(epic), size) * 2 !default;Blockquote font size for min-medium media query
Number
base-styles$blockquote-padding-horizontal: kib-core-dimensions-get(large) + kib-core-dimensions-get(tiny) !default;Blockquote horizontal padding
Number
base-stylesbase-styles$blockquote-before-text-color: kib-core-theme-get('outline') !default;Blockquote before text color
Color
base-styles$blockquote-padding-horizontal-minmedium: kib-core-dimensions-get(huge) +
kib-core-dimensions-get(tiny) !default;Blockquote horizontal padding for min-medium media query
Number
base-stylesbase-styles@mixin box-sizing() { ... }Set box sizing to include padding and borders in the dimensions of an element.
None.
@mixin box-sizing-reset() { ... }Reset element box sising to default.
None.
@mixin clearfix() { ... }Ensure an element's bottom edge clears all of its content.
None.
.container {
@include kib-helpers-clearfix;
}@mixin clearfix-reset() { ... }Disable a previously added clearfix.
None.
.container {
@include kib-helpers-clearfix-reset;
}@mixin container($padding: null, $padding: all) { ... }Add common styles between card containers and rows
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$padding | Spacing alias name | String | null |
$padding | Spacing direction alias | String | all |
paddingpaddingborder-widthborder-radiustext-color@mixin dropshadow($preset, $inset: false) { ... }Apply a dropshadow preset to an element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$preset | The name of a preset from | String | — none |
$inset | If | Boolean | false |
Use small for elements laying directlyon the page.
.element {
@include kib-helpers-dropshadow(small);
}Use medium for elements that are overlayed, but not blocking. Examples like tooltips and popovers.
.element-overlayed {
@include kib-helpers-dropshadow(medium);
}Use large for blocking elements like modals.
.element-blocking {
@include kib-helpers-dropshadow(large);
}Set the $inset argument to true on any preset to givethe appearance of a sunken element.
.element-sunk {
@include kib-helpers-dropshadow(medium, true);
}@mixin fontface($family, $name, $weight: 400, $style: normal, $path: "/static/fonts/") { ... }Define a new webfont
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$family | Sets the name to be used for the | String | — none |
$name | The name of the file sans suffix to be referenced. | String | — none |
$weight | The weight to be represented by this declaration. | Number | 400 |
$style | The style type to be used. | String | normal |
$path | Where your webfont files will be located. | String | "/static/fonts/" |
@mixin media-query($preset, $extend: null) { ... }Wrap styles in a media query using a preset definition.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$preset | The id of the query preset to use. | String | — none |
$extend | Optionally extend the preset with extra definitions. | Null or List or String | null |
get@mixin overflow($type: visible, $direction: all) { ... }Apply overflow properties to an element.
This mixin will apply overflow properties to elements. It is recommended to use this mixin instead of adding the property directly to your styles. Eventually this mixin will be used to apply extra visual affordances to styles and allow for easy resettign of existing styles.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$type | Select the type of overflow value. This matches the values for the | String | visible |
$direction | Select the direction in which overflow should be applied.. Available options are "all", "horizontal", or "vertical". | String | all |
Apply overflow to an element.
.element {
// Set overflow to `visible`.
@include overflow;
@include overflow(visible);
@include overflow(visible, all);
@include overflow(visible, horizontal);
@include overflow(visible, vertical);
// Set overflow to `auto`.
@include overflow(auto);
@include overflow(auto, all);
@include overflow(auto, horizontal);
@include overflow(auto, vertical);
// Set overflow to `hidden`.
@include overflow(hidden);
@include overflow(hidden, all);
@include overflow(hidden, horizontal);
@include overflow(hidden, vertical);
// Set overflow to `scroll`.
@include overflow(scroll);
@include overflow(scroll, all);
@include overflow(scroll, horizontal);
@include overflow(scroll, vertical);
}overflow-reset@mixin overflow-reset() { ... }Reset a scroll lock on an element to default behavior.
None.
Prevent a body element from scrolling in all directions.
body {
@include overflow-reset;
}overflow@mixin scroll-shadow($background: theme.get('fair')) { ... }Add scroll shadows to an element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$background | Set the background element of the element that he scrolling shadow is being applied to. | Color | theme.get('fair') |
getgetgetgetgetgetbackgroundbackgroundbackgroundbackgroundbackground@mixin spacing($type, $size: default, $direction: all) { ... }Set padding or margin on an element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$type | Identifies the type of spacing. This is either margin or padding. | String (padding or Margin) | — none |
$size | A string identifier for a value in | String | default |
$direction | Sets the position of the spacing. | String (all or Top or End or Bottom or Start or Vertical or Horizontal) | all |
get@mixin supports-flex() { ... }Declare styles for modern browsers that support flexbox.
None.
Create flex styles and fallback styles.
.sidebar {
@include kib-helpers-supports-flex-legacy {
float: left;
}
@include kib-helpers-supports-flex {
@include kib-helpers-supports-reset {
float: none;
}
flex: 1 1 30%;
}
}When $kib-helpers-supports-legacy is true...
.sidebar {
float: left;
@supports (display: flex) {
float: none;
flex: 1 1 30%;
}
}When $kib-helpers-supports-legacy is false...
.sidebar {
flex: 1 1 30%;
}When $kib-helpers-supports-legacy-debug is true...
.sidebar {
float: left;
}debug@mixin supports-flex-legacy() { ... }Declare fallback styles for legacy browsers that do not support flexbox.
This is to be used in conjuction with the supports-flex mixin and should be used before it in source order. When $kib-helpers-supports-flex-legacy is set to false, the styles this mixin wraps will not be output.
None.
supports-flexsupports-flex-legacy@mixin supports-reset() { ... }Declare styles to reset legacy defaults for flexbox supporting browsers.
This is to be used within the context of the kib-helpers-supports-flex mixin and should only be used when reseting styles set with the kib-helpers-supports-flex-legacy mixin.
When $kib-helpers-supports-flex-legacy is set to false, the contents of the mixin will not be output.
None.
supports-flex-legacysupports-flexsupports-flex-legacy$border-width: conversions.px-to-relative(
$kib-container-border-dimension
) !default;Size of the container border.
Number
containercontainerdefaultdefaultfilledcontent-containercontent-arrowcontent-arrowcontent-arrowcontent-arrowstop-sizeprogress-has-stopsstop-fillsize-has-stopstag-variantsecondarybutton$border-radius: dimensions.get(tiny) !default;Radius of the container border.
Number
containercontainerdefaultlargecontent-containerprogressindicatorroot-container$text-color: theme.get('text') !default;Text color of container content.
Color
$presets: (
small: (
x-offset: 0,
y-offset: conversions.px-to-relative(1px),
blur: 0,
spread: 0,
color: rgba(theme.get('slate'), $kib-helpers-dropshadow-opacity)
),
medium: (
x-offset: 0,
y-offset: conversions.px-to-relative(3px),
blur: conversions.px-to-relative(5px),
spread: 0,
color: rgba(theme.get('slate'), $kib-helpers-dropshadow-opacity)
),
large: (
x-offset: 0,
y-offset: conversions.px-to-relative(5px),
blur: conversions.px-to-relative(10px),
spread: 0,
color: rgba(theme.get('slate'), $kib-helpers-dropshadow-opacity)
)
) !default;Drop shadow preset definitions.
Map
| Map key Name | Map key Description | Map key Type | Map key Value |
|---|---|---|---|
small | Used for general elements that do not overlap other elements | Map | — none |
small.x-offset | — none | Number | 0 |
small.y-offset | — none | Number | kib-core-px-to-relative(1px) |
small.blur | — none | Number | kib-core-px-to-relative(1px) |
small.spread | — none | Number | 0 |
small.color | — none | Color | rgba(kib-core-theme-get('slate'), $kib-helpers-dropshadow-opacity) |
medium | Used for elements that overlay parts of the page, but are non-blocking. | Map | — none |
medium.x-offset | — none | Number | 0 |
medium.y-offset | — none | Number | kib-core-px-to-relative(3px) |
medium.blur | — none | Number | kib-core-px-to-relative(5px) |
medium.spread | — none | Number | 0 |
medium.color | — none | Color | rgba(kib-core-theme-get('slate'), $kib-helpers-dropshadow-opacity) |
large | Used on overlaying page-blocking elements such as modals | Map | — none |
large.x-offset | — none | Number | 0 |
large.y-offset | — none | Number | kib-core-px-to-relative(5px) |
large.blur | — none | Number | kib-core-px-to-relative(10px) |
large.spread | — none | Number | 0 |
large.color | — none | Color | rgba(kib-core-theme-get('slate'), $kib-helpers-dropshadow-opacity) |
dropshadow$light-background-color: kib-core.theme-get('fair') !default;Light Background Color
Color
$white-text-color: kib-core.theme-get('fair') !default;White text Color
Color
$body-text-color: kib-core.theme-get('text') !default;Body text Color
Color
$secondary-text-color: kib-core.theme-get('text', 'secondary') !default;Secondary text Color
Color
$light-text-color: kib-core.theme-get('text', 'surface') !default;Secondary text Color
Color
$dark-background-color: kib-core.theme-get('text') !default;Dark Background Color
Color
$black-text-color: kib-core.theme-get('slate') !default;Black text Color
Color
$dark-text-color: kib-core.theme-get('fair') !default;Dark text Color
Color
$warning-background-color: kib-core.theme-get('notice') !default;Warning Background Color
Color
state-warning$warning-text-color: kib-core.theme-get('notice') !default;Warning Text Color
Color
state-warning$success-background-color: kib-core.theme-get('success') !default;Success Background Color
Color
state-success$success-text-color: kib-core.theme-get('success') !default;Success Text Color
Color
state-success$error-background-color: kib-core.theme-get('error') !default;Error Background Color
Color
state-error$error-text-color: kib-core.theme-get('error') !default;Error text Color
Color
$blue-background-color: kib-core.theme-get('link') !default;Blue Background Color
Color
$blue-text-color: kib-core.theme-get('link') !default;Blue Text Color
Color
$dark-blue-background-color: kib-core.theme-get('link', 'deep') !default;Dark Blue Background Color
Color
$dark-blue-text-color: kib-core.theme-get('fair') !default;Dark Blue text Color
Color
$teal-background-color: kib-core.theme-get('dignify') !default;Teal Background Color
Color
$container-background-color: kib-core.theme-get('background', 'container') !default;Default Container Background Color
Color
$page-background-color: kib-core.theme-get('background') !default;Default Page Background Color
Color
@mixin root() { ... }Hero slider root element styles
None.
@mixin root-container() { ... }Hero slider root container styles
None.
@mixin ratio-element() { ... }Hero slider aspect ratio element
None.
@mixin slides-container() { ... }Hero slider aspect ratio element
None.
@mixin slide() { ... }Hero slide element
None.
@mixin tablist() { ... }Hero slider tablist container
None.
tablist-background-colortablist-border-radiustablist-border-radius@mixin tablist-noncollapsible() { ... }Hero slider tablist container for noncollapsible tabs
None.
tablist-noncollapsible-spacing@mixin tablist-active() { ... }Hero slider tablist container when active
None.
tablist-active-outline-widthtablist-active-outline-color@mixin tab() { ... }Hero slider tab dot
None.
tab-spacingtab-spacingtab-sizetab-sizetab-background-colortab-border-widthtab-border-colortab-hover-border-color@mixin tab-active() { ... }Hero slider tab dot when active
None.
tab-active-background-color@mixin control() { ... }Hero arrow control
None.
control-widthcontrol-backgroundcontrol-colorcontrol-width-mediumcontrol-width-largecontrol-emphasis-border-widthcontrol-emphasis-border-colorcontrol-emphasis-color@mixin control-prev() { ... }Hero previous arrow control
None.
control-emphasis-prev-background@mixin control-next() { ... }Hero next arrow control
None.
control-emphasis-next-background@mixin control-icon($control-selector) { ... }Hero control arrow icon
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$control-selector | Selector class for hero control element | String | — none |
control-icon-sizecontrol-icon-sizecontrol-icon-size-largecontrol-icon-size-large@mixin control-icon-prev() { ... }Hero control prev arrow icon
None.
control-icon-offsetcontrol-icon-offset-giant@mixin control-icon-next() { ... }Hero control next arrow icon
None.
control-icon-offsetcontrol-icon-offset-giant@mixin slide-react-transition() { ... }Custom slide React transition
None.
slide-transition-timingslide-transition-durationslide-transition-timingslide-transition-durationslide-transition-timingslide-transition-durationslide-transition-timingslide-transition-durationRemove once there is a React transition component
@mixin slide-vue-transition() { ... }Custom slide Vue transition for <transition /> component
None.
slide-transition-durationslide-transition-timing$control-background: transparent !default;Hero control default background color
List
control$control-color: kib-core-theme-get('fair') !default;Hero control default color
Color
controlcontrolcontrolcontrol-vertical$control-emphasis-color: $control-color !default;Hero control color on hover/focus
Color
$control-emphasis-border-width: kib-core-px-to-relative(2px) !default;Hero control border width on hover/focus
Number
control$control-emphasis-border-color: kib-core-theme-get('link') !default;Hero control border color on hover/focus
Color
$control-emphasis-prev-background: linear-gradient(
to left,
rgba(#000, 0) 0%,
rgba(#000, 0.15) 100%
) !default;Hero 'previous' control background on hover/focus
List
control-prev$control-emphasis-next-background: linear-gradient(
to right,
rgba(#000, 0) 0%,
rgba(#000, 0.15) 100%
) !default;Hero 'next' control background on hover/focus
List
control-next$control-width: kib-core-dimensions-get('huge') !default;Hero control default width
Number
control$control-width-medium: kib-core-dimensions-get('huge') * 1.5 !default;Hero control width on medium screens
Number
control$control-width-large: kib-core-dimensions-get('huge') * 3 !default;Hero control width on large screens
Number
control$control-icon-size: kib-core-dimensions-get('huge') !default;Hero control icon default size
Number
control-iconcontrol-icon$control-icon-size-large: kib-core-dimensions-get('large') * 3 !default;Hero control icon size on larger screens
Number
control-iconcontrol-icon$control-icon-offset: kib-core-dimensions-get('default') !default;Hero control icon offset away from the hero edges on huge screens
Number
control-icon-prevcontrol-icon-next$control-icon-offset-giant: kib-core-dimensions-get('large') !default;Hero control icon offset away from the hero edges on giant screens
Number
control-icon-prevcontrol-icon-next$tablist-background-color: kib-core-theme-get('fair') !default;Hero tablist background color
Color
tablist$tablist-border-radius: kib-core-dimensions-get('tiny') !default;Hero tablist border-radius
Number
$tablist-active-outline-color: kib-core-theme-get('link') !default;Hero tablist outline color when active
Color
tablist-active$tablist-active-outline-width: kib-core-dimensions-get('tiny') !default;Hero tablist outline width when active
Number
tablist-active$tablist-noncollapsible-spacing: kib-core-px-to-relative(6px) !default;Hero noncollapsible tablist spacing
Number
tablist-noncollapsible$tab-background-color: transparent !default;Hero tab background color
Color
tab$tab-border-width: kib-core-px-to-relative(1px) !default;Hero tab border width
Number
tab$tab-border-color: kib-core-theme-get('link', 'deep') !default;Hero tab default border color
Color
tab$tab-hover-border-color: kib-core-theme-get('warning') !default;Hero tab border color on hover
Color
tab$tab-active-background-color: kib-core-theme-get('link', 'deep') !default;Hero tab background color when active
Color
tab-active$tab-spacing: kib-core-dimensions-get('tiny') !default;Spacing between each hero slider tab dot
Number
$tab-size: kib-core-px-to-relative(10px) !default;Hero tab dot size
Number
$slide-transition-duration: 600ms !default;Hero slide transition duration
Number
slide-react-transitionslide-react-transitionslide-react-transitionslide-react-transitionslide-vue-transition$slide-transition-timing: ease-in-out !default;Hero slide transition timing function
String
slide-react-transitionslide-react-transitionslide-react-transitionslide-react-transitionslide-vue-transition@mixin root-container() { ... }Root container
None.
getbackground-colorcontrol-border-width-largecontrol-border-color-focuscontrol-outline-colorcontrol-border-radius@mixin options() { ... }Option container
None.
@mixin status() { ... }Status bar at the top of listbox
None.
getgetgetgetcontrol-border-radiuscontrol-border-radius@mixin no-results() { ... }No results message
None.
@mixin item() { ... }Listbox item container
None.
getgetcontrol-border-radiuscontrol-border-radius@mixin item-active() { ... }Highlighted/selected item
None.
getitem-hover@mixin item-hover() { ... }Hovered item
None.
item-active@mixin checkbox() { ... }Checkbox
None.
get@mixin checkbox-fill() { ... }Checkbox fill
None.
@mixin selected-checkbox() { ... }Selected checkbox
None.
@mixin selected-checkbox-fill() { ... }Selected checkbox fill
None.
$background-color: color.get('field', 'primary') !default;background-color
@mixin common() { ... }Default styles for a loader.
None.
spacing-verticalspacing-verticalwidthbackgroundforeground@mixin background-style($name) { ... }| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name of the type style to generate the style for. | String | — none |
background-marginsbackground-marginsbackground-marginsstyle-getstyle-is-responsivegetgetgetgetgetgetgetgetstylesstylesstylesbackgroundbackground@mixin background-margins($name) { ... }| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name of the type style to generate the style for. | String | — none |
getgetline-heightline-heightbackground-stylebackground-stylebackground-style@mixin small-style() { ... }Styles for small loader
None.
size-smallsize-smallbutton-foregroundsize-smallsize-small@mixin screen() { ... }Styles for loader screen
None.
zindexscreen-background@mixin section() { ... }Styles for loader section
None.
zindexsection-background@mixin background() { ... }Styles for loader background
None.
background-stylebackground-styleplaceholder-backgroundplaceholder-radius@mixin holder() { ... }Styles for content holder
None.
size-smallscreen-holder-backgroundscreen-holder-radiusmessage-max-dimensionsmessage-max-dimensionsmessage-widthmessage-widthsize-large@mixin message() { ... }Styles for loader message
None.
$indexes: kib-core-zindex-set(kib-loader, 10000);Set z-index of fullscreen loader
$zindex: kib-core-zindex-get(kib-loader) !default;z-index of fullscreen loader
Number
screensectionsetsetsetgetgetincrement-setincrement-set$background: rgba(0, 0, 0, 0.2) !default;Loader spinner background color
Color
scroll-shadowscroll-shadowscroll-shadowscroll-shadowscroll-shadowcommoncontainercontainercoverscoverscoverscoverscoverscoverscovers$foreground: kib-core-theme-get('link', 'deep') !default;Loader spinner foreground color
Color
common$width: kib-core-px-to-relative(2px) !default;Loader spinner stroke width
Color
commoncontent-arrowcontent-arrowcontent-arrowcontent-arrowcontent-arrowcontent-arrowitem-spanitem-spanitem-spanitem-spanitem-spanitem-pullitem-pullitem-pushitem-pushitem-prefixitem-prefixitem-suffixitem-suffixshapeshape$spacing-vertical: kib-core-px-to-relative(60px) !default;Loader vertical spacing
Number
$button-background: $background !default;Button loader background color
Color
$button-foreground: kib-core-theme-get('fair') !default;Button loader foreground color
Color
small-style$section-background: rgba(kib-core-theme-get('fair'), 0.6) !default;Section loader background color
Color
section$screen-background: rgba(kib-core-theme-get('fair'), 0.6) !default;Fullscreen loader background color
Color
screen$screen-holder-background: kib-core-theme-get('fair') !default;Fullscreen loader holder background color
Color
holder$screen-holder-radius: kib-core-dimensions-get(tiny) !default;Fullscreen loader holder corner radius
Number
holder$placeholder-background: rgba(kib-core-theme-get('text', 'surface'), 0.5) !default;Placeholder loader background color
Color
background$placeholder-radius: kib-core-px-to-relative(3px) !default;Placeholder loader corner radius
Number
background$dark-screen-background: rgba(kib-core-theme-get('slate'), 0.6) !default;Fullscreen dark loader background color
Color
$dark-screen-holder-border-color: kib-core-theme-get('outline') !default;Fullscreen dark loader holder border color
Color
$dark-screen-holder-border-width: kib-core-px-to-relative(1px) !default;Fullscreen dark loader holder border-width
Number
$dark-screen-holder-shadow: kib-core-px-to-relative(0 5px 10px)
rgba(kib-core-theme-get('slate'), 0.5) !default;Fullscreen dark loader holder box shadow
Shadow
$size-large: kib-core-px-to-relative(40px) !default;Size when the loader is large.
Number
holderprogress-largestar-svg-iconstar-svg-icon$size-small: kib-core-px-to-relative(20px) !default;Size when the loader is small.
Number
small-stylesmall-stylesmall-stylesmall-styleholderprogress-small$screen-holder-offset: -1 * ($size-small + kib-core-dimensions-get(default) * 2) * 0.5 !default;Fullscreen loader holder offset
Number
$message-max-dimensions: 2 * kib-core-dimensions-get(default) !default;Message max dimensions.
Number
$message-width: kib-core-px-to-relative(326px) !default;Message max width.
Number
@mixin base-styles() { ... }Media figure base element styles
None.
@mixin caption-styles() { ... }Media figure caption element styles
None.
caption-color@mixin caption-hide() { ... }Media figure caption hide styles
None.
$caption-color: kib-core-theme-get('ash', 'surface') !default;Figure caption color
Color
caption-styles@mixin common() { ... }Common styles for any icon root container.
None.
@mixin svg-common() { ... }Common styles for all icon svg elements.
None.
@mixin generate-size($size, $block) { ... }Generate styles for an icon size variant.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | icon size | String | — none |
$block | root class of parent block element | String | — none |
@mixin generate-position($direction, $justify, $align) { ... }Generate styles for an icon position variant.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$direction | The main axis of the icon and label. Can be row, row-reverse, column, or column-reverse. | String | — none |
$justify | The alignment along the main axis for icon and label. | String | — none |
$align | The alignment along the cross axis for icon and label. | String | — none |
vertical-center-stylesvertical-stylesvertical-center-reverse-stylesvertical-reverse-stylesreverse-stylescenter-reverse-styles@mixin generate-label-size($label-size) { ... }Generate styles for an icon label size variant.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$label-size | The general size of the label font. This will be a key in the | String | — none |
label-styles@mixin icon-image() { ... }Icon image styles
None.
@mixin media-styles() { ... }Actual media element styles
None.
@mixin label-styles() { ... }Icon label styles
None.
generate-label-size@mixin vertical-center-styles($label-selector) { ... }| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$label-selector | selector class of label element | String | — none |
generate-position@mixin vertical-styles($label-selector) { ... }| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$label-selector | selector class of label element | String | — none |
generate-position@mixin vertical-center-reverse-styles($label-selector) { ... }| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$label-selector | selector class of label element | String | — none |
generate-position@mixin vertical-reverse-styles($label-selector) { ... }| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$label-selector | selector class of label element | String | — none |
generate-position@mixin reverse-styles($label-selector) { ... }| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$label-selector | selector class of label element | String | — none |
generate-position@mixin center-reverse-styles($label-selector) { ... }| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$label-selector | selector class of label element | String | — none |
generate-position$sizes: small, large, huge, huger, giant;Definitions of size variants for icons.
List
$label-sizes: micro, medium, large, giant, huge, epic;Definitions of size variants for icon labels.
List
@mixin base-styles() { ... }Media image base element styles
None.
@mixin hide-image() { ... }Media image hide styles
None.
@mixin loader-wrapper() { ... }Media image loader wrapper styles
None.
@mixin loader-styles() { ... }Media image loader styles
None.
@mixin figure-styles() { ... }Figure element styles
None.
@mixin resize() { ... }Image resize styles
None.
@mixin object-fit() { ... }Image object fit styles
None.
@mixin fade-react-transitions() { ... }Custom classes for React component animation
None.
Remove once there is a React transition component
@mixin root() { ... }Root container styles
None.
@mixin container() { ... }Styles for message container
None.
background-colorborder-widthborder-colorborder-radiustext-color@mixin state-success() { ... }Styles for success message variant
None.
success-background-colorsuccess-text-color@mixin state-error() { ... }Styles for error message variant
None.
error-background-colorerror-text-color@mixin state-warning() { ... }Styles for warning message variant
None.
warning-background-colorwarning-text-color@mixin content() { ... }Styles for message content
None.
content-font-weight@mixin title() { ... }Styles for message title
None.
title-font-weight@mixin description() { ... }Styles for message title
None.
@mixin icon() { ... }Styles for message icon
None.
@mixin compact() { ... }Styles for compact variant
None.
@mixin compact-title() { ... }Styles for compact message title
None.
compact-title-right-spacing@mixin compact-description() { ... }Styles for compact message description
None.
$background-color: kib-core-theme-get('link', 'messageBackground') !default;Default background color
Color
$border-color: kib-core-theme-get('link', 'deep') !default;Default border color
Color
containercontent-containercontent-arrowcontent-arrowcontent-arrowcontent-arrowsecondarysecondaryheaderheader-summary$border-width: kib-core-px-to-relative(1px) !default;Default border width
Number
$border-radius: kib-core-dimensions-get(tiny) !default;Default border radius
Number
$text-color: kib-core-theme-get('text') !default;Default text color
Color
$success-background-color: kib-core-theme-get('success', 'messageBackground') !default;Success background color
$success-text-color: kib-core-theme-get('success') !default;color for the success message
Color
$error-background-color: kib-core-theme-get('error', 'messageBackground') !default;background color for the error message
Color
$error-text-color: kib-core-theme-get('error') !default;color for the error message
Color
$warning-background-color: kib-core-theme-get('warning', 'messageBackground') !default;background color for the warning message
Color
$warning-text-color: kib-core-theme-get('warning', 'surface') !default;color for the warning message
Color
$title-icon-dimensions: kib-core-dimensions-get(large) !default;Title message icon dimensions
Number
$title-font-weight: map.get($kib-core-type-weights, bold) !default;Title message font weight
Number
$content-font-weight: map.get($kib-core-type-weights, regular) !default;Message content font weight
Number
content$compact-title-right-spacing: kib-core-px-to-relative(2px) !default;compact title right spacing
Number
compact-title$padding-left: kib-core-dimensions-get(large) + kib-core-dimensions-get(small);Left padding for notification title
Number
$icon-top-position: -1 * kib-core-px-to-relative(1px);Icon top position
Number
@mixin list-wrapper() { ... }Pagination list styles.
None.
@mixin list-item($block) { ... }Pagination list item styles.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$block | root class of parent block element | String | — none |
compact-contentcompact-content@mixin arrow-svg-icon() { ... }Pagination control arrow icon styles.
None.
arrow-sizearrow-size@mixin ellipsis-item($block) { ... }Pagination ellipsis item styles.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$block | root class of parent block element | String | — none |
compact-contentellipsis-font-sizeellipsis-text-color@mixin ellipsis-item-chirp($block) { ... }Pagination ellipsis item styles in Chirp.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$block | root class of parent block element | String | — none |
@mixin sr-status() { ... }Pagination status text for screen readers.
None.
@mixin compact-content($block) { ... }Helper mixin to add overrides for compact modifier and small breakpoint
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$block | root class of parent block element | String | — none |
list-itemlist-itemnav-itemnav-item-chirpnav-item-with-arrownav-item-with-arrow-chirpellipsis-item$item-font-size: kib-core-get-type-property(base, size) !default;Text font size of pagination controls
Number
$item-font-weight: map.get($kib-core-type-weights, regular) !default;Font weight of pagination controls
String
$item-text-color: kib-core-theme-get('link', 'deep') !default;Default text color of pagination controls
Color
nav-item$item-background-color: kib-core-theme-get('fair') !default;Default background color of pagination controls
Color
nav-item$item-border-color: kib-core-theme-get('outline') !default;Default border color of pagination controls
Color
$item-border-color-chirp: kib-core-theme-get('next', 'neutral', 'minimal') !default;Default border color of pagination controls for Chirp
Color
nav-item-chirp$item-border-radius: kib-core-px-to-relative(4px) !default;Border radius of pagination controls
Number
nav-item$item-border-width: kib-core-px-to-relative(1px) !default;Border width of pagination controls
Number
$item-background-color-hover: $item-background-color !default;Background color of pagination controls on hover/focus
Color
$item-border-color-hover: kib-core-theme-get('link', 'deep') !default;Default border color of pagination controls
Color
$item-text-color-hover: kib-core-theme-get('link', 'deep') !default;Default text color of pagination controls
Color
nav-item$item-background-color-disabled: $item-background-color !default;Default background color of disabled controls in pagination
Color
nav-item-disabled$item-border-color-disabled: $item-border-color !default;Default border color of disabled controls in pagination
Color
nav-item-disablednav-item-disabled$item-border-color-disabled-chirp: $item-border-color-chirp !default;Default border color of disabled controls in pagination for Chirp
Color
nav-item-disabled-chirp$item-text-color-disabled: kib-core-theme-get('outline') !default;Default color of disabled controls text in pagination
Color
nav-item-disabled$item-text-color-disabled-chirp: kib-core-theme-get('next', 'neutral', 'low') !default;Default color of disabled controls text in pagination for Chirp
Color
nav-item-disabled-chirp$item-background-color-active: kib-core-theme-get('link', 'deep') !default;Background color of active control in pagination
Color
nav-item-active$item-border-color-active: kib-core-theme-get('link', 'deep') !default;Border color of active control in pagination
Color
nav-item-activenav-item-active$item-text-color-active: kib-core-theme-get('fair') !default;Text color of active control in pagination
Color
nav-item-active$ellipsis-text-color: kib-core-theme-get('ash', 'surface') !default;Text color of in-between pages indicator in pagination
Color
ellipsis-item$ellipsis-font-size: kib-core-get-type-property(tiny, size) !default;Text size of in-between pages indicator in pagination
Color
ellipsis-item$arrow-size: kib-core-dimensions-get('default') !default;The size of the arrow element in pagination
Number
arrow-svg-iconarrow-svg-iconcontent-arrow@mixin default() { ... }Base styles for a default pill and color variants Variant names taken from settings.$colors map
None.
margin-verticalmargin-verticalpadding-verticalpadding-verticalbackground-colorborder-widthborderborder-radiustext-colorfont-sizefont-weightline-heightcolorcolorsborder-widthcolorcolor@mixin large() { ... }Large pill variant styles
None.
border-radiuslarge-font-sizelarge-line-height@mixin filled($block) { ... }Filled pill variant styles with color variants
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$block | root class of parent block element | String | — none |
getfilled-textcolorscolorcolorscolorborder-widthcolor@mixin filter($control-selector) { ... }Filter pill variant styles
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$control-selector | custom selector for inner pill control | String | — none |
filter-text-colorfilter-background-colorfilter-control-text-color@mixin disabled() { ... }Disabled pill styles
None.
disabled-margin-horizontaldisabled-margin-horizontaldisabled-background-color@mixin has-control() { ... }Pill with control variant styles
None.
control-min-height@mixin control() { ... }Pill control base styles
None.
control-margin-verticalcontrol-margin-verticalcontrol-margin-start@mixin control-large() { ... }Large pill control styles
None.
@mixin control-item($block) { ... }Pill control item styles with color variants
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$block | root class of parent block element | String | — none |
getgetcontrol-item-margin-topcontrol-item-padding-verticalcontrol-item-padding-horizontalcontrol-item-border-widthcontrol-font-sizefont-familycolorscolorcolorscolors@mixin control-item-large() { ... }Large pill control item
None.
control-item-large-line-height@mixin control-item-filter() { ... }Filter pill control item
None.
control-item-filter-background-color$font-family: kib-core-theme-get('font', 'base', 'family') !default;Pill font family.
String
$font-size: kib-core-px-to-relative(13px) !default;Pill font size.
Number
$font-weight: map.get($kib-core-type-weights, regular) !default;Pill font weight.
Number
$line-height: kib-core-type-line-height(small) !default;Pill line height
Number
iconiconiconbackground-marginsbackground-marginsdefault$background-color: kib-core-theme-get('fair') !default;Pill background color
Color
$border: kib-core-theme-get('ash', 'surface') !default;Pill border color
Color
default$border-width: kib-core-px-to-relative(2px) !default;Pill border width
Number
$margin-vertical: kib-core-px-to-relative(2px) !default;Pill vertical margin
Number
$padding-vertical: kib-core-px-to-relative(2px) !default;Pill vertical padding
Number
$padding-horizontal: kib-core-dimensions-get(tiny) !default;Pill horizontal padding
Number
$text-color: kib-core-theme-get('ash', 'surface') !default;Pill text color
Color
$border-radius: kib-core-dimensions-get(tiny) !default;Pill border radius
Number
$control-font-size: 1em !default;Pill control font size
Number
control-item$control-margin-start: kib-core-px-to-relative(5px) !default;Pill control left margin
Number
control$control-margin-vertical: -1 * kib-core-px-to-relative(9px) !default;Pill control vertical margin
Number
$control-min-height: kib-core-px-to-relative(5px, $inline: true) +
kib-core-type-line-height(micro) !default;Pill control min height
Number
has-control$control-item-margin-top: -1 * kib-core-px-to-relative(1px) !default;Pill control item top margin
Number
control-item$control-item-padding-vertical: kib-core-dimensions-get(tiny) !default;Pill control item vertical padding
Number
control-item$control-item-padding-horizontal: kib-core-dimensions-get(small) !default;Pill control item horizontal padding
Number
control-item$control-item-border-width: kib-core-px-to-relative(1px) !default;Pill control item border width
Number
control-item$control-item-large-line-height: kib-core-get-type-property(
large,
height
) !default;Large Pill control item line height
Number
control-item-large$control-item-filter-background-color: kib-core-theme-get(
'link',
'deepest'
) !default;Filter Pill control item background color
Color
control-item-filter$large-font-size: kib-core-get-type-property(base, size) !default;Large pill font size
Number
large$large-line-height: kib-core-get-type-property(large, height) !default;Large pill line height
Number
large$filled-text: kib-core-theme-get('fair') !default;Filled pill text color
Color
filled$filter-background-color: kib-core-theme-get('link', 'deep') !default;Filter pill background color
Color
filter$filter-text-color: kib-core-theme-get('text') !default;Filter pill text color
Color
filter$filter-control-text-color: kib-core-theme-get('fair') !default;Filter pill control color
Color
filter$disabled-background-color: kib-core-theme-get('background', 'header') !default;Disabled pill background color
Color
$disabled-margin-horizontal: kib-core-px-to-relative(6px) !default;Disabled pill horizontal margin
Color
$colors: (
default: kib-core-theme-get('ash', 'surface'),
primary: kib-core-theme-get('link', 'deep'),
success: kib-core-theme-get('success'),
error: kib-core-theme-get('error'),
disabled: kib-core-theme-get('ash', 'surface'),
tag: kib-core-theme-get('link', 'deep'),
filter: kib-core-theme-get('link', 'deep')
) !default;Define border color, font color and hover state color for pills.
Map
| Map key Name | Map key Description | Map key Type | Map key Value |
|---|---|---|---|
default | — none | String | — none |
primary | deprecrated | String | — none |
success | — none | String | — none |
error | — none | String | — none |
disabled | — none | String | — none |
tag | deprecrated | String | — none |
filter | — none | String | — none |
defaultfilledfilledcontrol-itemcontrol-itemcontrol-item@mixin root-container() { ... }Styles for the component root container
None.
@mixin content-container() { ... }Popper content container (popup) with modifiers
None.
paddingz-indexwidth-defaultbackground-colorborder-widthborder-colorborder-radiuswidth-largewidth-hugewidth-giant@mixin content-arrow() { ... }Popper arrow attached to content wrapper
None.
widtharrow-sizewidthbackground-colorbackground-colorbackground-colorbackground-colorborder-widthwidthborder-colorborder-widthwidthborder-colorborder-widthwidthborder-colorborder-widthwidthborder-color@mixin close-button() { ... }Close icon wrapper element
None.
close-positionclose-positionclose-icon-sizeclose-icon-size@mixin close-icon() { ... }Close icon SVG styles
None.
close-icon-sizeclose-icon-sizeclose-icon-color@mixin content-transition() { ... }Popper content open/close transition
None.
This style is just a placeholder until we have react transition component ready
$background-color: $kib-container-background-default !default;Popper background color
Color
$border-color: $kib-container-border-color !default;Popper border color
Color
$border-radius: $kib-core-container-border-radius !default;Popper border radius
Number
$border-width: kib-core-px-to-relative(
$kib-container-border-dimension
) !default;Popper border width
Number
$text-color: $kib-core-container-text-color !default;Popper text color
Color
$width-default: kib-core-px-to-relative(224px) !default;Popper default maximum width
Number
content-container$width-large: kib-core-px-to-relative(328px) !default;Large modifier maximum width
Number
content-container$width-huge: kib-core-px-to-relative(480px) !default;Huge modifier maximum width
Number
content-container$width-giant: kib-core-px-to-relative(960px) !default;Giant modifier maximum width
Number
content-container$arrow-size: kib-core-dimensions-get(large) !default;Popper arrow size. Equal height/width only.
Number
$z-index: kib-core-zindex-get(kib-popper) !default;Popper stacking z-index
Number
$close-icon-color: currentColor !default;Popper close svg fill color
Color
close-iconclose-buttonclose-button$close-icon-size: kib-core-dimensions-get(default) !default;Popper close icon svg size
Number
close-buttonclose-buttonclose-iconclose-icon$close-position: kib-core-dimensions-get(small) !default;Popper close trigger position
Number
close-buttonclose-button@mixin container() { ... }Root container of all progress bars.
None.
CDS
@mixin label() { ... }Progress bar label
None.
getCDS
$color-default: kib-core-theme-get('slate') !default;Color used for the default state
Color
$color-success: kib-core-theme-get('success') !default;Color used for the success state
Color
indicator-successstop-label-successstop-fill-successstop-fill-successstop-fill-success-without-icon$color-warn: kib-core-theme-get('warning') !default;Color used for the warn state
Color
indicator-warnstop-label-warnstop-fill-warnstop-fill-warn$color-error: kib-core-theme-get('error') !default;Color used for the error state
Color
indicator-errorstop-label-errorstop-fill-errorstop-fill-error$color-review: kib-core-theme-get('warning', 'surface') !default;Color used for the review state
Color
indicator-review$color-primary: kib-core-theme-get('link', 'base') !default;Color used for the primary state
Color
indicator-primarystop-label-primarystop-fill-primarystop-fill-primary$color-accent: kib-core-theme-get('next', 'brand', 500) !default;Color used for the chirp component
Color
indicator-accent@function stop-size($icon-size) { ... }Calculate the size of a stop based on its icon size
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$icon-size | — none | Number (rem) | — none |
border-widthstop-paddingicon-sizesize-has-stopssize-has-stopssize-has-stopsstop-sizestop-size@mixin display-wrapper() { ... }Styles for the progressbar display wrapper.
None.
@mixin progress() { ... }Styles for the kib-progress-bar indicator container.
None.
progress-mediumbackground-colorborder-radius@mixin progress-small() { ... }Styles for the kib-progress-bar small size.
None.
size-small@mixin progress-medium() { ... }Styles for the kib-progress-bar medium size.
None.
size-mediumprogress@mixin progress-large() { ... }Styles for the kib-progress-bar large size.
None.
size-large@mixin progress-has-stops() { ... }Styles for the kib-progress-bar with visible stops.
None.
border-widthbackground-gradient@mixin progress-accent() { ... }Styles for the accent kib-progress bar.
None.
indicator-accent-mediumaccent-background-color@mixin segment() { ... }Styles for the kib-progress-bar segment.
None.
@mixin indicator() { ... }Base styles for the kib-progress-bar indicator.
None.
color-default@mixin indicator-success() { ... }Styles for the kib-progress-bar success type.
None.
color-success@mixin indicator-warn() { ... }Styles for the kib-progress-bar warn type.
None.
color-warn@mixin indicator-error() { ... }Styles for the kib-progress-bar error type.
None.
color-error@mixin indicator-review() { ... }Styles for the kib-progress-bar error type.
None.
color-review@mixin indicator-primary() { ... }Styles for the kib-progress-bar primary type.
None.
color-primary@mixin indicator-accent() { ... }Styles for the kib-progress-bar accent type.
None.
color-accentaccent-medium-border-radius@mixin indicator-accent-small() { ... }Styles for the small kib-progress-bar accent type.
None.
accent-small-border-radius@mixin indicator-accent-medium() { ... }Styles for the medium kib-progress-bar accent type.
None.
accent-medium-border-radiusprogress-accent@mixin indicator-accent-large() { ... }Styles for the large kib-progress-bar accent type.
None.
accent-large-border-radius@mixin stop-container() { ... }Styles for the progressbar stops container.
None.
@mixin stop() { ... }Styles for the progressbar stop container.
None.
@mixin stop-label() { ... }Styles for the progressbar stop label.
None.
stop-label-font-sizestop-label-line-heightstop-label-text-color@mixin stop-label-is-current() { ... }Style for current stop.
None.
current-stop-label-text-colorcurrent-stop-label-font-weight@mixin stop-label-success() { ... }Styles for a stop that is successful
None.
color-success@mixin stop-label-warn() { ... }Styles for a stop that is successful
None.
color-warn@mixin stop-label-error() { ... }Styles for a stop that is successful
None.
color-error@mixin stop-label-primary() { ... }Styles for a stop that is a primary
None.
color-primary@mixin stop-fill() { ... }Styles for the progressbar stop fill.
None.
stop-sizeborder-widthcolor-defaultcolor-defaultstop-fill-background-color@mixin stop-fill-success() { ... }Styles for the progressbar stop fill when the stop has success type.
None.
stop-fill-success-text-colorcolor-successcolor-success@mixin stop-fill-success-without-icon() { ... }Styles for the progressbar stop fill when the stop has success type, but no status icon.
None.
color-successstop-fill-success-text-color@mixin stop-fill-warn() { ... }Styles for the progressbar stop fill when the stop has warn type.
None.
color-warncolor-warn@mixin stop-fill-error() { ... }Styles for the progressbar stop fill when the stop has error type.
None.
stop-fill-error-text-colorcolor-errorcolor-error@mixin stop-fill-inactive() { ... }Styles for the progressbar stop fill when the stop is inactive.
None.
stop-fill-inactive-text-colorstop-fill-inactive-background-color@mixin stop-fill-primary() { ... }Styles for the progressbar stop fill when the stop has warn type.
None.
stop-fill-success-text-colorcolor-primarycolor-primary@mixin stop-icon() { ... }Styles for the progressbar stop icon.
None.
@mixin stop-icon-small() { ... }Styles for small progressbar stop icon.
None.
@mixin stop-icon-large() { ... }Styles for large progressbar stop icon.
None.
@mixin value() { ... }Styles for the kib-progress-bar valuenow or valuetext.
None.
@mixin size-has-stops($size) { ... }Generate styles for a size variant when stops are displayed
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
stop-sizestop-sizestop-sizeborder-width@mixin stop-size($size) { ... }Generate styles for a progressbar stop size variant
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
stop-fill$size-small: kib-core-dimensions-get(small) !default;Size for a small progress bar.
Number (rem)
$size-medium: kib-core-dimensions-get(default) !default;Size for a medium progress bar.
Number (rem)
progress-medium$size-large: kib-core-dimensions-get(large) !default;Size for a large progress bar.
Number (rem)
$border-width: kib-core-dimensions-get(tiny) * 0.5 !default;Size for a progress bar border.
Number (rem)
$stop-padding: kib-core-dimensions-get(tiny) !default;Space to reserve around a stop icon.
Number (rem)
stop-size$background-color: kib-core-theme-get('outline') !default;Background color of progress bar
Color
$border-radius: kib-core-px-to-relative(3px) !default;Border radius of progress bar
Number (rem)
$accent-background-color: kib-core-theme-get('next', 'brand', 50) !default;Background color of accent progress bar
Color
progress-accent$accent-small-border-radius: $size-small !default;Border radius of small accent progress bar
Number (rem)
indicator-accent-small$accent-medium-border-radius: $size-medium !default;Border radius of medium accent progress bar
Number (rem)
indicator-accentindicator-accent-medium$accent-large-border-radius: $size-large !default;Border radius of accent progress bar
Number (rem)
indicator-accent-large$stop-label-font-size: kib-core-get-type-property(tiny, size) !default;Font size of progress bar stop label
Number (rem)
stop-label$stop-label-line-height: kib-core-type-line-height(tiny) !default;Line height of progress bar stop label
Number (rem)
stop-label$stop-label-text-color: kib-core-theme-get('text', 'surface') !default;Text color of progress bar stop label
Color (rem)
stop-label$stop-fill-background-color: kib-core-theme-get('fair') !default;Background color of progress bar stop fill
Color (rem)
stop-fill$current-stop-label-font-weight: map.get($kib-core-type-weights, bold) !default;Font weight of current progress bar stop label
Number
stop-label-is-current$current-stop-label-text-color: kib-core-theme-get('text') !default;Text color of current progress bar stop label
Color
stop-label-is-current$stop-fill-success-text-color: kib-core-theme-get('fair') !default;Text color of success stop fill
Color
stop-fill-successstop-fill-success-without-iconstop-fill-primary$stop-fill-error-text-color: kib-core-theme-get('fair') !default;Text color of error stop fill
Color
stop-fill-error$stop-fill-inactive-text-color: kib-core-theme-get('outline') !default;Text color of inactive stop fill
Color
stop-fill-inactive$stop-fill-inactive-background-color: kib-core-theme-get('fair') !default;Background color of inactive stop fill
Color
stop-fill-inactive$background-gradient: to right, transparent,
transparent kib-core-dimensions-get(tiny),
kib-core-theme-get('outline') kib-core-dimensions-get(tiny),
kib-core-theme-get('outline')
(kib-core-dimensions-get(small) + kib-core-dimensions-get(tiny)),
transparent (kib-core-dimensions-get(small) + kib-core-dimensions-get(tiny)) !default;Background gradient of progress bar
Color
progress-has-stops$sizes: small, medium, large;Definitions of size variants for progress bar
Map
yarn add @chewy/kib-progress-styles @use '~@chewy/kib-progress-styles/src/kib-progress-linear/styles' as kib-progress-linear;@mixin container() { ... }Root container of all progress linear
None.
@mixin label() { ... }Progress linear label
None.
label-spacing@mixin indicator() { ... }Base styles for the kib-progress-linear indicator.
None.
heightdefault-colorborder-radius@mixin value() { ... }Style for kib-progress-linear value
None.
value-color$height: kib-core.dimensions-get(small) !default;Height of progress-linear
Number (rem)
$background-color: color.get('action', 'switch', 'background', 'on', '03') !default;Background color for progress-linear indicator container
Color
$default-color: color.get('action', 'switch', 'background', 'on', 'primary') !default;Default color for progress-linear indicator
Color
indicator$border-radius: kib-core.dimensions-get(small) !default;Border radius of progress-linear
Number (rem)
$value-color: color.get('text', 'secondary') !default;Text Color for progress-linear value
Color
value$label-spacing: spacing.get('s2') !default;Label Spacing of progress-linear
Number (rem)
label$wrapper-spacing: spacing.get('s1') !default;Wrapper Spacing of progress-linear
Number (rem)
$indicator-spacing: spacing.get('s2') !default;Indicator Spacing of progress-linear
Number (rem)
@mixin path() { ... }root progress path styles
None.
@mixin step() { ... }root progress path step styles
None.
bar-marginstep-heightincomplete-colorcomplete-colorbar-margindot-heightdot-heightincomplete-color@mixin step-completed() { ... }completed step styles
None.
complete-color@mixin step-active() { ... }active step styles
None.
bar-marginactive-dot-heightactive-dot-height$step-height: spacing.get('s1') !default;Line height
Number
step$incomplete-color: color.get('action', 'switch', 'background', 'on', '03') !default;Incomplete step color
Color
$complete-color: color.get('action', 'switch', 'background', 'on', 'primary') !default;Completed step color
Color
stepstep-completed$dot-height: unit.rem(12px) !default;Step dot height
Number
$active-dot-height: spacing.get('s1') !default;Active step dot height
Number
step-activestep-active$bar-margin: unit.rem(-12px) !default;Spacing between label and the bar
Number
stepstepstep-active@mixin generate-size($size) { ... }Generate sizes for radial progress bars.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | The name of the variant to generate styles for. This will be a key in the | String | — none |
getgetcircle-sizes$size-medium: kib-core-dimensions-get(small) * 12 !default;Size of the medium variant radial
Number (rem)
$size-large: kib-core-dimensions-get(small) * 16 !default;Size of the large variant radial
Number (rem)
$background-color: kib-core-theme-get('background', 'header') !default;Color of the radial progress track
Color
$transition-duration: 1s !default;Length of the radial change animation
String
$circle-sizes: (
medium: (
size: $size-medium
),
large: (
size: $size-large
)
) !default;Definitions of size variants for radial progress bars.
Map
generate-size@mixin root-container() { ... }Root container styles
None.
getgetbase-paddingbase-bordermin-widthborder-radius@mixin count-wrapper() { ... }Wrapper for the quantity value
None.
@mixin action() { ... }Increment, decrement, and remove buttons
None.
get@mixin action-icon() { ... }Icons within buttons
None.
$min-width: unit.rem(140px) !default;Min component width
Number
root-container$base-padding: unit.rem(2px) !default;Base padding
Number
root-container$base-border: unit.rem(2px) !default;Base border
Number
root-container@function item-selector-generate($type, $value, $selectors) { ... }Generate class selector extensions for row items.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$type | Thew type of class to be generated. This is normally one of "span", "pull", "push", "suffix", or "prefix". | String | — none |
$value | The name of the specific selector being generated. This is normally related to a grid unit measurment. | String | — none |
$selectors | (both | class | attribute) [both] Select the types of selectors default styles will have. | String | — none |
String —Returns & prefixed selectors that are meant to be appended to a parent class designation.
@mixin container($id: default, $justify-content: flex-start, $align-content: flex-start, $inline: false, $query, $gutter: settings.$gutter) { ... }Generate styles for a row container.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$id | — none | String | default |
$justify-content | — none | String | flex-start |
$align-content | — none | String | flex-start |
$inline | — none | Boolean | false |
$query | $query is a named query that can be used with the kib-core.media-query mixin | String | — none |
$gutter | — none | Number | settings.$gutter |
align-contentgutteralign-content@mixin item-span($preset, $query) { ... }Generate styles for a alternate width for a row item.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$preset | — none | String | — none |
$query | $query is a named breakpoint found in $storage-queries | String | — none |
getwidthwidthswidthwidthwidthwidthitem@mixin item($preset: "1-1", $gutter: settings.$gutter, $query) { ... }Generate styles for a row item.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$preset | — none | String | "1-1" |
$gutter | — none | Number | settings.$gutter |
$query | $query is a named breakpoint found in $storage-queries | String | — none |
@mixin item-pull($preset, $query) { ... }Generate styles for shifting a row item toward the start of a line.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$preset | — none | String | — none |
$query | $query is a named breakpoint found in $storage-queries | String | — none |
@mixin item-push($preset, $query) { ... }Generate styles for shifting a row item toward the end of a line.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$preset | — none | String | — none |
$query | $query is a named breakpoint found in $storage-queries | String | — none |
@mixin item-prefix($preset, $query) { ... }Generate styles for prefixing a row item with a margin.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$preset | — none | String | — none |
$query | $query is a named breakpoint found in $storage-queries | String | — none |
@mixin item-suffix($preset, $query) { ... }Generate styles for suffixing a row item with a margin.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$preset | — none | String | — none |
$query | $query is a named breakpoint found in $storage-queries | String | — none |
$selectors: both !default;Select the types of selectors default styles will have.
String(both</code> or <code>Class</code> or <code>Attribute) [both]
map-deep-getgetitem-selector-generateitem-selector-generate$debug: false !default;Turn on or off a visual debug background.
Boolean [false]
supports-flexitem$gutter: kib-core.dimensions-get(default) !default;Set the default space between row items.
Number [kib-storage-dimensions-get(large)]
$widths: (
'1-12': math.div(100%, 12),
'1-8': (
100% * 0.125
),
'2-12': (
math.div(100%, 12) * 2
),
'1-4': (
100% * 0.25
),
'1-3': math.div(100%, 3),
'3-8': (
100% * 0.125 * 3
),
'5-12': (
math.div(100%, 12) * 5
),
'1-2': (
100% * 0.5
),
'7-12': (
math.div(100%, 12) * 7
),
'5-8': (
100% * 0.125 * 5
),
'2-3': (
math.div(100%, 3) * 2
),
'3-4': (
100% * 0.25 * 3
),
'10-12': (
math.div(100%, 12) * 10
),
'7-8': (
100% * 0.125 * 7
),
'11-12': (
math.div(100%, 12) * 11
),
'1-1': 100%
) !default;Defined width options for row items.
Map
item-spanitem-pullitem-pushitem-prefixitem-suffix$align-items: (
center: center,
end: flex-end,
start: flex-start,
stretch: stretch,
vertical: center
) !default;Defined align options for row items.
Map
$align-content: (
center: center,
end: flex-end,
start: flex-start,
normal: normal,
stretch: stretch,
space-around: space-around,
space-between: space-between,
space-evenly: space-evenly
) !default;Defined justified content options for row items.
Map
@function theme-get($name, $options: null) { ... }Get a theme definition
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | Theme defined in | String | — none |
$options | Theme overrides or new definition | Null or Map | null |
Map —Map of theme definitions
gettheme-defaultthemethemesthemesthemethemetheme@mixin container($name, $options: null) { ... }Scroll container styles for all variants
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | Theme name defined in | String | — none |
$options | Theme overrides or new definition | Null or Map | null |
theme-getgetgetgetgetbackgroundbackground@mixin covers($name, $options: null) { ... }Scroll content styles for all variants
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | Theme name defined in | String | — none |
$options | Theme overrides or new definition | Null or Map | null |
theme-getgetgetbackgroundbackgroundbackgroundbackgroundbackgroundbackgroundbackground@mixin content() { ... }General styles for the scrolling content to make sure all is cleared
None.
$themes: (
light: (
background: kib-core-theme-get('fair'),
opacity: 0.2,
shadow: kib-core-theme-get('slate'),
size: 0.8rem
),
neutral: (
background: kib-core-theme-get('background', 'container'),
opacity: 0.2,
shadow: kib-core-theme-get('slate'),
size: 0.8rem
)
) !default;Define alternate themes
Map
| Map key Name | Map key Description | Map key Type | Map key Value |
|---|---|---|---|
name | Theme definitions | Map | — none |
name.background | Scrollable area background color | Color | — none |
name.opacity | Shadow opacity level | Number | — none |
name.shadow | Shadow color | Color | — none |
name.size | Shadow size | Number | — none |
$theme-default: light !default;Set the default scroll theme
String
theme-get@mixin shape() { ... }Square shape skeleton with customizable aspect ratio through custom properties
None.
@mixin shape-circle() { ... }Circle shape skeleton
None.
@mixin wrapper() { ... }Text wrapper
None.
@mixin line($size) { ... }Generate text skeleton line
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$size | — none | String | — none |
@mixin length() { ... }Modifies text skeleton length
None.
@mixin root-container() { ... }Carousel root container
None.
@mixin root-container-vertical() { ... }Vertical carousel root container variant
None.
@mixin header() { ... }Carousel header container
None.
@mixin heading() { ... }Carousel heading element
None.
@mixin heading-chirp() { ... }Carousel heading element Chirp variant
None.
@mixin subtitle() { ... }Carousel subtitle element
None.
subtitle-margin-topsubtitle-text-colorsubtitle-font-size@mixin subtitle-chirp() { ... }Carousel subtitle element Chirp variant
None.
@mixin content-wrapper() { ... }Carousel content wrapper
None.
@mixin content-wrapper-vertical() { ... }Vertical carousel content wrapper variant
None.
@mixin content() { ... }Carousel content rail
None.
@mixin content-vertical() { ... }Vertical carousel content rail variant
None.
@mixin controls() { ... }Carousel controls container
None.
@mixin control() { ... }Carousel control element
None.
control-sizecontrol-sizecontrol-background-colorcontrol-border-widthcontrol-colorcontrol-colorcontrol-disabled-background-colorcontrol-disabled-colorcontrol-disabled-colorcontrol-emphasis-backgroundcontrol-emphasis-border-colorcontrol-emphasis-color@mixin control-chirp() { ... }Carousel control element Chirp variant
None.
@mixin control-vertical() { ... }Vertical carousel control element variant
None.
control-color@mixin control-icon() { ... }Carousel control icon
None.
control-sizecontrol-size@mixin item() { ... }Carousel slide item
None.
$control-color: kib-core-theme-get('link', 'deep') !default;Define the control's color
Color
$control-background-color: transparent !default;Define the control's color
Color
$control-border-width: kib-core-px-to-relative(2px) !default;Define the control's border width
Number
$control-size: kib-core-dimensions-get(huge) !default;Define the control size.
Number
controlcontrolcontrol-iconcontrol-icon$control-emphasis-color: kib-core-theme-get('fair') !default;Define the control's color on hover/focus
Color
$control-emphasis-background: kib-core-theme-get('link', 'deep') !default;Define the control's background color on hover/focus
Color
control$control-emphasis-border-color: $control-emphasis-background !default;Define the control's border color on hover
Color
$control-disabled-color: kib-core-theme-get('outline') !default;Define the control's color when disabled
Color
$control-disabled-background-color: transparent !default;Define the control's background color when disabled
Color
control$subtitle-text-color: kib-core-theme-get('ash', 'surface') !default;Header subtitle text color
Color
subtitle$subtitle-font-size: kib-core-get-type-property(tiny, size);Define the subtitle font-size
Color
subtitle$subtitle-margin-top: kib-core-px-to-relative(2px) !default;Define the subtitle margin top
Number
subtitle@mixin root-container() { ... }Styles for the component root container
None.
@mixin stars-wrapper() { ... }Wrapper for both empty and full stars groups
None.
brand@mixin stars-common() { ... }Common styles for empty and full stars groups
None.
@mixin stars-full() { ... }Styles for the full stars group only
None.
@mixin star-svg-icon($block) { ... }Base svg star icon styles and various size modifiers
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$block | root class of parent block element | String | — none |
size-defaultsize-defaultsize-largesize-large@mixin count-wrapper() { ... }Wrapper for count content
None.
count-text-color$brand: kib-core-theme-get('warning', 'surface') !default;Star rating icon color
Color
stars-wrapper$size-default: kib-core-dimensions-get('default') !default;Default star icon size
Number
star-svg-iconstar-svg-icon$size-large: kib-core-dimensions-get('large') !default;Large star icon size
Number
$count-text-color: kib-core-theme-get('ash', 'surface') !default;Count text color
Color
count-wrapper@mixin sticky() { ... }Sticky element styles
None.
@function get($name, $raw: false) { ... }Retrieve a dimension value from the store.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name of the dimension to retrieve. | String | — none |
$raw | Determine the unit type to return. | Boolean | false |
Number(px) or Number(rem) or Nullpx-to-relativepx-to-relativedimensionsdimensionsdimensionsdimensions@function set($name, $value) { ... }Add a value to the dimensions store.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | — none | String | — none |
$value | — none | Number(px) | — none |
Mapdimensionsdimensionsdimensions@function set($name) { ... }Add an entry for an existing placeholder.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name of the placeholder without the beginning | String | — none |
Map —Returns the updated placeholder references.
placeholdersplaceholdersplaceholders@function exists($name) { ... }Check if a placeholder exists.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name of the placeholder without the | String | — none |
Boolean —If there is a reference for the placeholder, true will be returned, otherwise false.
placeholders@function breakpoints-convert() { ... }Make sure all registered breakpoints are formatted to rem units.
None.
Map —Returns the modified $breakpoints values.
px-to-relativepx-to-relativebreakpointsbreakpointsbreakpointsbreakpoints@function breakpoints-set($values) { ... }Make sure all registered breakpoints are formatted to rem units.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$values | A map of new breakpoint values to add. | Map | — none |
Map —Returns the modified $breakpoints values.
px-to-relativepx-to-relativebreakpointsbreakpointsbreakpoints@function set($name, $query) { ... }Set a query string.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The id to give to the new query preset. | String | — none |
$query | The value of the new prest definition. | String | — none |
@function get($name) { ... }Get a query string.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name of the preset to get from storage. | String | — none |
queries@function extend($name, $preset, $query) { ... }Extend an existing query definition.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The id of the new preset to be created. | String | — none |
$preset | The id of the existing preset to merge into the new preset. | String | — none |
$query | The new query to merge into the existing preset. | String or List | — none |
@function set($name, $value) { ... }Add a value to the global z-index storage.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name/identifier for the | String | — none |
$value | The | Number | — none |
Map —Returns the new map with additions and changes.
Store z-index values.
// Set the z-index of the root component.
$index: zindex.set(component-name, 4);
// (base: 0, component-name: 4)
// Set the z-index of a component child.
$index: zindex.set(component-name__child, 5);
// (base: 0, component-name: 4, component-name__child: 5)@function get($name) { ... }Get a value from the global z-index storage.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name/identifier of the | String | — none |
Number or Boolean —Return the z-index value for $name if there is an entry. If there is no entry, false will be returned.
Get z-index values.
// Get the z-index of the root component.
$index: zindex.get(component-name);
// 4
// Get the z-index of a component child.
$index: zindex.get(component-name__child);
// 5@function increment-set($name, $preset: base, $increment: 1) { ... }Set a z-index incremented from an existing values.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name of the | String | — none |
$preset | The name of the base | String | base |
$increment | The numerical increment step to increase | Number | 1 |
Map or Boolean —If a value was able to be incremented, the new map of z-index values will be returned. If not, false will be returned.
Set a z-index value based on another.
$index: zindex.increment-set(component);
// (base: 0, component: 1)
$index: zindex.increment-set(component__child, component);
// (base: 0, component: 1, component__child: 2)
$index: zindex.increment-set(component__overlay, component, 10);
// (base: 0, component: 1, component__child: 2, component__overlay: 11)
$index: zindex.increment-set(component__new, component__null);
// falsedialog-zindex-set-bootstrapdialog-zindex-set-bootstrapdrawer-zindex-set-bootstraptoast-zindex-set-bootstrap$dimensions: (
default: ($kib-storage-dimensions-base * 2),
none: 0,
tiny: ($kib-storage-dimensions-base * 0.5),
small: $kib-storage-dimensions-base,
large: ($kib-storage-dimensions-base * 3),
huge: ($kib-storage-dimensions-base * 5),
huger: ($kib-storage-dimensions-base * 6),
giant: ($kib-storage-dimensions-base * 14),
);Define storage for all dimension entries along with defaults.
Map
| Map key Name | Map key Description | Map key Type | Map key Value |
|---|---|---|---|
default | — none | Number(px) | $kib-storage-dimensions-base * 2 |
small | — none | Number(px) | $kib-storage-dimensions-base |
large | — none | Number(px) | $kib-storage-dimensions-base * 3 |
huge | — none | Number(px) | $kib-storage-dimensions-base * 5 |
huger | — none | Number(px) | $kib-storage-dimensions-base * 6 |
giant | — none | Number(px) | $kib-storage-dimensions-base * 14 |
$placeholders: () !default;Storage for placeholders that exist.
This variable should not be accessed directly. See the placeholders-set() function for adding to the variable. To check if a value exists, see the placeholders-exists() function.
List
$queries: (
'small': '<medium',
'portrait-small': (
'<medium',
'portrait'
),
'min-small': '>=small',
'max-small': '<small',
'medium': (
'>=medium',
'<large'
),
'portrait-medium': (
'>=medium',
'<large',
'portrait'
),
'min-medium': (
'>=medium'
),
'portrait-min-medium': (
'>=medium',
'portrait'
),
'max-large': (
'<large'
),
'portrait-max-large': (
'<large',
'portrait'
),
'large': (
'>=large',
'<huge'
),
'portrait-large': (
'>=large',
'<huge',
'portrait'
),
'min-large': '>=large',
'portrait-min-large': (
'>=large',
'portrait'
),
'max-huge': (
'<huge'
),
'portrait-max-huge': (
'<huge',
'portrait'
),
'huge': (
'>=huge',
'<giant'
),
'portrait-huge': (
'>=huge',
'<giant',
'portrait'
),
'min-huge': (
'>=huge'
),
'portrait-min-huge': (
'>=huge',
'portrait'
),
'giant': '>=giant',
'portrait-giant': (
'>=giant',
'portrait'
)
);Global store for queries
This is a private global variable that should not be accessed diretly. Use the kib-storage-queries-set(), kib-storage-queries-get(), or kib-storage-queries-extend().
| key Name | key Description | key Type | key Value |
|---|---|---|---|
small | — none | String | — none |
medium | — none | String | — none |
large | — none | String | — none |
huge | — none | String | — none |
giant | — none | String | — none |
$zindex: (
base: $kib-storage-zindex-base
);Initialize storage for z-index values.
This is a storage map. This variable should not be accessed directly, but instead be altered via updating zindex-base, and using the zindex-set() and kib-storage-zindex-get() functions.
Map
@mixin cell-padding() { ... }Default table cell padding
None.
cell-padding@mixin cell-padding-large() { ... }Large table cell padding
None.
cell-padding-large@mixin cell-padding-compact() { ... }Compact table cell padding
None.
cell-padding-compact@mixin bordered-cell() { ... }Bordered table cell
None.
bordered-border-widthbordered-border-color@mixin hovered-row() { ... }Hovered table row styles
None.
hovered-row-background-color@mixin full-width() { ... }Full width table
None.
@mixin vertical() { ... }Vertical table
None.
@mixin cell-highlight() { ... }Table cell highlight
None.
cell-highlight-background-color@mixin header-sort() { ... }Sorted table header
None.
@mixin header-sort-icon-wrapper() { ... }Sorted table header icon
None.
@mixin header-sort-button() { ... }Sorted table header sort button
None.
header-sort-padding-verticalheader-sort-padding-horizontalbordered-border-widthheader-sort-focus-outline-widthheader-sort-focus-outline-colorheader-sort-focus-outline-offset@mixin header-sort-icon() { ... }Sorted table header sort icon
None.
header-sort-icon-sizeheader-sort-icon-sizeheader-sort-icon-color@mixin header-sort-icon-active() { ... }Sorted table header sort icon while active
None.
header-sort-icon-active-color@mixin stripe-pattern($row: even, $highlight: odd, $selector: .kib-table) { ... }Generate stripe patterns for table.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$row | — none | String | even |
$highlight | — none | String | odd |
$selector | — none | String | .kib-table |
striped-row-backgroundstriped-highlight-background$cell-highlight-background-color: #fff7ec !default;Table cell highlight background color
Color
cell-highlight$hovered-row-background-color: kib-core-theme-get(
'background',
'header'
) !default;Hovered table row background color on hover
Color
hovered-row$header-sort-icon-color: kib-core-theme-get('text', 'surface') !default;Table header sort icon color
Color
header-sort-icon$header-sort-icon-size: kib-core-dimensions-get('small') !default;Table header sort icon size
Number
header-sort-iconheader-sort-icon$header-sort-icon-active-color: kib-core-theme-get('link') !default;Table header sort icon color when active
Color
header-sort-icon-active$header-sort-padding-vertical: kib-core-dimensions-get(small, em) !default;Table header sort padding vertical
Number
header-sort-button$header-sort-padding-horizontal: kib-core-dimensions-get(small) !default;Table header sort padding horizontal
Number
header-sort-button$header-sort-focus-outline-color: kib-core-theme-get('link') !default;Table header button color of focus outline
Color
header-sort-button$header-sort-focus-outline-width: kib-core-px-to-relative(2px) !default;Table header sort padding horizontal
Number
header-sort-button$header-sort-focus-outline-offset: kib-core-px-to-relative(1px) !default;Table header sort padding horizontal
Number
header-sort-button$bordered-border-color: kib-core-theme-get('outline', 'form') !default;Bordered table border color
Color
bordered-cell$bordered-border-width: kib-core-px-to-relative(1px) !default;Bordered table border width
Number
bordered-cellheader-sort-button$striped-row-background: kib-core-theme-get('background', 'container');Striped table row background color
Color
stripe-pattern$striped-highlight-background: #fefcf7 !default;Striped table row highlight background color
Color
stripe-pattern$cell-padding: kib-core-dimensions-get(small, em) kib-core-dimensions-get(small) !default;Default table cell padding
Number</code> or <code>List
cell-padding$cell-padding-large: kib-core-dimensions-get(default, em)
kib-core-dimensions-get(large) !default;Large table cell padding
Number</code> or <code>List
cell-padding-large$cell-padding-compact: kib-core-dimensions-get(tiny, em)
kib-core-dimensions-get(tiny) !default;Small table cell padding
Number</code> or <code>List
cell-padding-compact@mixin bar-wrapper() { ... }Wrapper around bar of tab triggers
None.
bar-background-colorbar-divider-widthbar-divider-color@mixin bar() { ... }Horizontal bar of tab triggers
None.
@mixin bar-item() { ... }Wrapper around tab triggers
None.
@mixin trigger() { ... }Tab trigger
None.
trigger-spacing-verticaltrigger-spacing-horizontaltrigger-selected-emphasis-sizetrigger-text-colortrigger-font-familytrigger-font-sizetrigger-font-weighttrigger-line-heighttrigger-large-spacing-verticaltrigger-large-spacing-horizontaltrigger-emphasis-text-colortrigger-emphasis-background-colortrigger-focus-outline-widthtrigger-selected-background-colorbar-divider-colorbar-divider-colortrigger-selected-emphasis-sizetrigger-selected-emphasis-colorbar-divider-widthbar-divider-widthtrigger-selected-background-color@mixin trigger-small() { ... }Small tab trigger
None.
trigger-small-spacing-verticaltrigger-small-spacing-horizontal$bar-background-color: kib-core-theme-get('background', 'container') !default;Default background color of tabs bar
Color
bar-wrapper$bar-divider-color: kib-core-theme-get('outline') !default;Color of border divider between tabs and content
Color
bar-wrappertriggertrigger$bar-divider-width: kib-core-px-to-relative(1px) !default;Border divider width between tabs and content
Color
bar-wrappertriggertrigger$trigger-text-color: kib-core-theme-get('text') !default;Text color of the tab label
Color
trigger$trigger-font-family: kib-core-theme-get('font', 'base', 'family') !default;Tab label font family
String
trigger$trigger-font-size: kib-core-get-type-property(base, size) !default;Tab label font size
String
trigger$trigger-font-weight: $kib-type-weights-bold !default;Tab label font weight
Number
trigger$trigger-line-height: kib-core-get-type-property(base, height) !default;Tab label line height
Number
trigger$trigger-selected-background-color: kib-core-theme-get('fair') !default;Background color of selected tab
Color
$trigger-selected-text-color: $trigger-text-color !default;Text color of the selected tab label
Color
$trigger-selected-emphasis-color: kib-core-theme-get(
'warning',
'surface'
) !default;Color of the selected tab highlight
Color
trigger$trigger-selected-emphasis-size: kib-core-px-to-relative(3px) !default;Height of the selected tab highlight
Number
$trigger-emphasis-background-color: $trigger-selected-background-color !default;Background color of tab on hover/focus
Color
trigger$trigger-emphasis-text-color: $trigger-text-color !default;Text color of tab on hover/focus
Color
trigger$trigger-focus-outline-width: kib-core-px-to-relative(1px) !default;Outline width of focused tabs trigger
Number
trigger$trigger-spacing-vertical: (kib-core-dimensions-get(default) * 1.1875) !default;Default tab vertical spacing
Number
trigger$trigger-spacing-horizontal: (kib-core-dimensions-get(huge) * 1.25) !default;Default tab horizontal spacing
Number
trigger$trigger-large-spacing-vertical: (
kib-core-dimensions-get(small) * 1.625
) !default;Large tab vertical spacing
Number
trigger$trigger-large-spacing-horizontal: (
kib-core-dimensions-get(large) * 1.25
) !default;Large tab horizontal spacing
Number
trigger$trigger-small-spacing-vertical: kib-core-dimensions-get(small) !default;Small tab vertical spacing
Number
trigger-small$trigger-small-spacing-horizontal: kib-core-dimensions-get(large) !default;Small tab horizontal spacing
Number
trigger-small@mixin tag-variant($variant) { ... }Variant styles
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$variant | — none | String | — none |
getgetgetgetstylesvariant-statesstylesstylesstylesborder-width@mixin secondary() { ... }Default secondary emphasis styles
None.
background-color-secondaryborder-widthborder-colorborder-color@mixin secondary-variant($variant) { ... }Secondary emphasis variant
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$variant | — none | String | — none |
getgetstylesvariant-statesstyles@mixin icon() { ... }Icon styles
None.
icon-marginicon-sizeicon-size@mixin button() { ... }Button tag styles
None.
focus-border-distanceborder-widthbackground-colorfocus-border-radiusfocus-transition-duration@mixin button-hover() { ... }Button tag on hover
None.
hover-background-color@mixin button-focus() { ... }Button tag on focus
None.
@mixin button-variant() { ... }Button tag variant
None.
getvariant-states@mixin button-variant-hover() { ... }Button tag variant on hover
None.
getvariant-states$text-color: color.get('message', 'info', '04') !default;Default tag text color
String
$background-color: color.get('message', 'info', '03') !default;Default tag background color
String
$hover-background-color: color.get('message', 'info', '06') !default;Tag background color on hover
String
button-hover$border-color: color.get('message', 'info', '02') !default;Default tag border color
String
$border-width: unit.rem(1px) !default;Border width
Number
$border-radius: unit.rem(3px) !default;todo: should be updated with tokens in the future NOTE: this is defaulting to enterprise values, should be fixed when using tokenss tag border radius
Number
$padding: spacing.get(0, 's3') !default;Padding spacing
List
$focus-border-radius: unit.rem(4px) !default;todo: should be updated with tokens in the future NOTE: this is defaulting to enterprise values, should be fixed when using tokenss tag border radius
Number
button$icon-size: unit.rem(16px) !default;icon size
Number
$icon-margin: spacing.get(0, 0, 0, 's1') !default;icon margin
List
icon$background-color-secondary: color.get('ui-bg', 'primary') !default;background color when secondary emphasis
String
secondary$focus-border-distance: unit.rem(-2px) !default;Focus border distance
Number
button$focus-border-radius: unit.rem(4px) !default;Focus border radius
Number
$focus-transition-duration: 100ms !default;Ease out timer
Number
button$variant-states: (
'caution': (
'color': color.get('message', 'warning', '04'),
'background-color': color.get('message', 'warning', '03'),
'border-color': color.get('message', 'warning', '02'),
'hover-background-color': color.get('message', 'warning', '06')
),
'error': (
'color': color.get('message', 'error', '04'),
'background-color': color.get('message', 'error', '03'),
'border-color': color.get('message', 'error', '02'),
'hover-background-color': color.get('message', 'error', '06')
),
'neutral': (
'color': color.get('message', 'neutral', '04'),
'background-color': color.get('message', 'neutral', '03'),
'border-color': color.get('message', 'neutral', '02'),
'hover-background-color': color.get('message', 'neutral', '06')
),
'success': (
'color': color.get('message', 'success', '04'),
'background-color': color.get('message', 'success', '03'),
'border-color': color.get('message', 'success', '02'),
'hover-background-color': color.get('message', 'success', '06')
)
);Variant themes map
Map
tag-variantsecondary-variantbutton-variantbutton-variant-hover@mixin base() { ... }Base styles for the tile root container
None.
paddingtransition-durationtransition-duration@mixin gist() { ... }Styles for the tile gist variant
None.
@mixin no-header() { ... }Styles for the tile without a header displayed
None.
@mixin disabled() { ... }Styles for when a tile is in a disabled state
None.
@mixin header() { ... }Styles for the tile header content container
None.
border-colortransition-durationtransition-duration@mixin header-gist() { ... }Styles for when a tile is in a disabled state
None.
@mixin header-summary() { ... }Styles for the tile summary variant.
None.
border-sizeborder-color@mixin title() { ... }Styles for the tile title
None.
transition-duration@mixin actions() { ... }Styles for the tile actions container
None.
@mixin action-item() { ... }Styles for an individual tile action
None.
action-item-text-color@mixin content-row() { ... }General styles for tile content containers
None.
@mixin body() { ... }Styles for the tile body container
None.
content-row@mixin control() { ... }Styles for the tile control container
None.
content-row@mixin notation() { ... }Styles for the tile notation
None.
content-rownotation-colornotation-font-sizenotation-line-height$border-color: kib-core-theme-get('outline') !default;Color of the tile border.
Color
$border-size: $kib-core-container-border-width !default;Size of the tile border.
Number
$action-item-text-color: kib-core-theme-get('link', 'deep') !default;Color of the tile actions
Color
action-item$notation-color: kib-core-theme-get('text', 'surface') !default;Text color of the tile notation
Color
notation$notation-font-size: kib-core-get-type-property(tiny, size) !default;Font size of the tile notation
Number
notation$notation-line-height: kib-core-type-line-height(tiny) !default;Line height of the tile notation
Number
notation$transition-duration: 0.5s !default;Transition duration for tile.
Number
$_toast-registry: bootstrap.register(toast);Add storage elements before use.
String
$_toast-zindex-registry: toast-zindex-set-bootstrap();Register toast z-index
Boolean
$container-max-width: kib-core-px-to-relative(400px) !default;Max-width of toast container
Number
container$container-wide-width: kib-core-px-to-relative(600px) !default;Width of wide container
Number
container-wide$container-wide-max-width: kib-core-dimensions-get(small) * 2 !default;Max-width of wide toast container
Number
container-wide$container-box-shadow: kib-core-px-to-relative(-1px 0 3px 0)
rgba(kib-core-theme-get('outline', 'form'), 0.3),
kib-core-px-to-relative(1px 3px 3px 0)
rgba(kib-core-theme-get('outline', 'form'), 0.3) !default;Box shadow of toast container
Number
container$z-index: kib-core-zindex-get(toast) !default;Stacking z-index value for all toasts
Number
$close-top-pos: kib-core-px-to-relative(4px) !default;Close button top position
Number
close-button$close-button-dimensions: kib-core-px-to-relative(48px) !default;Close button dimensions
Number
close-buttonclose-button$close-content-padding-right: kib-core-dimensions-get(large) * 1.5 !default;Close content padding right
Number
content-with-close$close-icon-color: kib-message.$text-color !default;Close icon color
Color
$close-icon-dimensions: kib-core-dimensions-get(default) !default;Close icon dimensions
Number
close-iconclose-icon@function toast-zindex-set-bootstrap() { ... }Store the z-index value for toast
None.
Booleanincrement-set@mixin root() { ... }Root container styles
None.
z-index@mixin vertical() { ... }Vertically positioned toast variant
None.
@mixin top() { ... }Top positioned toast variant
None.
@mixin bottom() { ... }Bottom positioned toast variant
None.
@mixin top-right() { ... }Top right positioned toast variant
None.
@mixin top-left() { ... }Top left positioned toast variant
None.
@mixin bottom-right() { ... }Bottom right positioned toast variant
None.
@mixin bottom-left() { ... }Bottom left positioned toast variant
None.
@mixin container() { ... }Toast container
None.
container-max-widthcontainer-box-shadow@mixin container-full-width() { ... }Full width toast container
None.
@mixin container-wide() { ... }Wide toast container
None.
container-wide-widthcontainer-wide-max-width@mixin content-with-close() { ... }Styles for message toast content with visible close button
None.
close-content-padding-right@mixin close-button() { ... }Styles for toast close button
None.
close-top-posclose-button-dimensionsclose-button-dimensionsclose-icon-colorclose-icon-color@mixin close-icon() { ... }Styles for toast close button icon
None.
close-icon-dimensionsclose-icon-dimensions@mixin react-transition() { ... }Custom transition for open/close
None.
Remove once there is a React transition component
yarn add @chewy/kib-transition-styles @use '~@chewy/kib-transition-styles/src/styles' as kib-transition;$movement: kib-core-dimensions-get(large) !default;Default transition movement
Number
fade-down-hidefade-left-hidefade-right-hidefade-up-hide$collapse-perspective: kib-core-px-to-relative(1000px) !default;Transition collapse perspective
Number
collapse-show$durations: (
slow: 0.6s,
default: 0.4s,
fast: 0.2s
) !default;Map
@mixin collapse-transform() { ... }Collapse transform styles
None.
@mixin collapse-hide() { ... }Collapse hide styles
None.
@mixin collapse-show() { ... }Collapse show styles
None.
collapse-perspective@mixin collapse-reduced-motion-reset() { ... }Collapse reduced motion reset styles
None.
@mixin fade-down-transform() { ... }Fade down transform styles
None.
@mixin fade-down-hide() { ... }Fade down hide styles
None.
movement@mixin fade-down-show() { ... }Fade down show styles
None.
@mixin fade-left-transform() { ... }Fade left transform styles
None.
@mixin fade-left-hide() { ... }Fade left hide styles
None.
movement@mixin fade-left-show() { ... }Fade left show styles
None.
@mixin fade-right-transform() { ... }Fade right transform styles
None.
@mixin fade-right-hide() { ... }Fade right hide styles
None.
movement@mixin fade-right-show() { ... }Fade right show styles
None.
@mixin fade-up-transform() { ... }Fade up transform styles
None.
@mixin fade-up-hide() { ... }Fade up hide styles
None.
movement@mixin fade-up-show() { ... }Fade up show styles
None.
@mixin fade-transform() { ... }Fade transform styles
None.
@mixin fade-hide() { ... }Fade hide styles
None.
@mixin fade-show() { ... }Fade show styles
None.
@mixin slide-left-transform() { ... }Slide left transform styles
None.
@mixin slide-left-hide() { ... }Slide left hide styles
None.
@mixin slide-left-show() { ... }Slide left show styles
None.
@mixin slide-right-transform() { ... }Slide right transform styles
None.
@mixin slide-right-hide() { ... }Slide right hide styles
None.
@mixin slide-right-show() { ... }Slide right show styles
None.
@mixin slide-up-transform() { ... }Slide up transform styles
None.
@mixin slide-up-hide() { ... }Slide up hide styles
None.
@mixin slide-up-show() { ... }Slide up show styles
None.
@mixin zoom-transform() { ... }Zoom transform styles
None.
@mixin zoom-hide() { ... }Zoom hide styles
None.
@mixin zoom-show() { ... }Zoom show styles
None.
@mixin content() { ... }base styles for content subcomponent
None.
get@mixin toggle() { ... }base styles for toggle subcomponent
None.
@mixin focus-target() { ... }base styles for focus-target subcomponent
None.
@function style-get($name) { ... }Get a defined type style definition.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name of the defined type style. | String | — none |
Map —Return a map containing a style definition.
background-stylestylesgenerate-placeholdergenerate-placeholdergenerate-placeholdergenerate-placeholdergenerate-placeholdergenerate-placeholdergenerate-placeholder@function style-is-responsive($style) { ... }Determine if a style is defined as responsive.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$style | A type style definition. | Map | — none |
Boolean —If the style has min and max definitions, return true, else false.
background-stylegenerate-placeholder@function style-is-generated($name) { ... }Determine if a style placeholder has been generated.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name of the style definition to check for. | String | — none |
Boolean —If placeholders for the style have been generated, return true, else false.
generate-placeholder@function style-placeholder-register($name) { ... }Register generated placeholders for a style.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name of the style definition to check for. | String | — none |
Boolean —A value of true is returned when all placeholder are registered.
generate-placeholder@mixin styles() { ... }Generate classes and styles for all type style definitions.
None.
generate-placeholderstyle-getstyles@mixin generate-placeholder($name) { ... }Generate a placeholder for a type style.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$name | The name of the type style to generate a placeholder for. | String | — none |
style-blockstyle-inlinestyle-blockstyle-blockstyle-inlinestyle-blockstyle-getstyle-is-responsivegetgetstyle-is-generatedstyle-placeholder-registerstyle-getstyle-getstyle-getstyle-getstyle-getstyle-getstyles@mixin style($style) { ... }Generate common styles for a type variation.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$style | A type style definition. | Map | — none |
style-blockstyle-inline@mixin style-block($style, $is-heading: false) { ... }Generate styles for a type variation used as a block element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$style | A type style definition. | Map | — none |
$is-heading | If set to | Boolean | false |
generate-placeholdergenerate-placeholdergenerate-placeholdergenerate-placeholder@mixin style-inline($style) { ... }Generate styles for a type variation used as a block element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$style | A type style definition | Map | — none |
generate-placeholdergenerate-placeholder$styles: (
h1: (
min: h1-small,
max: h1-desktop
),
h1-desktop: (
size: epic,
weight: light,
properties: (
color: kib-core.theme-get('text'),
border: none
)
),
h1-small: (
size: giant,
weight: light,
properties: (
color: kib-core.theme-get('text'),
border: none
)
),
h2: (
min: h2-small,
max: h2-large
),
h2-small: (
size: large,
weight: regular,
properties: (
color: kib-core.theme-get('text'),
border: none
)
),
h2-large: (
size: huge,
weight: regular,
properties: (
color: kib-core.theme-get('text'),
border: none
)
),
h3: (
min: h3-small,
max: h3-large
),
h3-small: (
size: medium,
weight: regular,
properties: (
color: kib-core.theme-get('text'),
border: none
)
),
h3-large: (
size: giant,
weight: regular,
properties: (
color: kib-core.theme-get('text'),
border: none
)
),
h4: (
min: h4-small,
max: h4-large
),
h4-small: (
size: base,
weight: bold,
properties: (
color: kib-core.theme-get('text'),
border: none
)
),
h4-large: (
size: large,
weight: bold,
properties: (
color: kib-core.theme-get('text'),
border: none
)
),
h5: (
size: tiny,
weight: bold,
properties: (
color: kib-core.theme-get('text'),
border: none
)
),
h6: (
size: micro,
weight: bold,
properties: (
color: kib-core.theme-get('text'),
border: none
)
),
body: (
min: body-small,
max: body-desktop
),
body-desktop: (
size: base,
weight: regular,
properties: (
color: kib-core.theme-get('text'),
border: none
)
),
body-small: (
size: small,
weight: regular,
properties: (
color: kib-core.theme-get('text'),
border: none
)
),
data: (
size: tiny,
weight: regular
),
modifier: (
size: micro,
weight: regular,
properties: (
color: kib-core.theme-get('text')
)
),
meta: (
size: micro,
weight: regular,
properties: (
color: kib-core.theme-get('text', 'surface')
)
),
navigation: (
properties: (
color: kib-core.theme-get('link', 'deep'),
text-decoration: none,
background-color: transparent,
-webkit-text-decoration-skip: objects
)
),
navigation-hover: (
properties: (
color: kib-core.theme-get('link', 'deep'),
text-decoration: underline
)
)
) !default;Define alternate text styles.
{map}
background-stylebackground-stylebackground-styletag-varianttag-varianttag-varianttag-variantsecondary-variantsecondary-variantstyle-getstyle-getstyles& .kib-input-text__icon,
& .kib-field__icon--action { ... }deprecate when field new is supported
.kib-input-text__icon &__adornment { ... }deprecate when field new is supported
.kib-input-text__icon &__adornment-icon { ... }deprecate when field new is supported
.kib-field__action &__adornment { ... }new datepicker specific styles
.kib-field__action .Mui-disabled &__adornment-icon { ... }new datepicker specific styles
@mixin custom-properties($deprecated) { ... }Mixin to output CSS custom properties for this token set
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$deprecated | include deprecated tokens in the output | Boolean | — none |
@mixin custom-properties($deprecated) { ... }Mixin to output CSS custom properties for this token set
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$deprecated | include deprecated tokens in the output | Boolean | — none |
@mixin custom-properties($deprecated) { ... }Mixin to output CSS custom properties for this token set
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$deprecated | include deprecated tokens in the output | Boolean | — none |
@mixin custom-properties($deprecated) { ... }Mixin to output CSS custom properties for this token set
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$deprecated | include deprecated tokens in the output | Boolean | — none |
$chirp-typography-price-small-strikethrough-text-case: none !default;Sass variables
$chirp-typography: (
'display-typeface': $chirp-typography-display-typeface,
'text-typeface': $chirp-typography-text-typeface,
'ls-standard': $chirp-typography-ls-standard,
'ls-loose': $chirp-typography-ls-loose,
'ls-wide': $chirp-typography-ls-wide,
'ls-tight': $chirp-typography-ls-tight,
'weight-normal': $chirp-typography-weight-normal,
'weight-bold': $chirp-typography-weight-bold,
'weight-semibold': $chirp-typography-weight-semibold,
'weight-medium': $chirp-typography-weight-medium,
'weight-heavy': $chirp-typography-weight-heavy,
'display-1': (
'font-family': $chirp-typography-display-1-font-family,
'font-weight': $chirp-typography-display-1-font-weight,
'line-height': $chirp-typography-display-1-line-height,
'font-size': $chirp-typography-display-1-font-size,
'letter-spacing': $chirp-typography-display-1-letter-spacing,
'text-decoration': $chirp-typography-display-1-text-decoration,
'text-case': $chirp-typography-display-1-text-case
),
'display-2': (
'font-family': $chirp-typography-display-2-font-family,
'font-weight': $chirp-typography-display-2-font-weight,
'line-height': $chirp-typography-display-2-line-height,
'font-size': $chirp-typography-display-2-font-size,
'letter-spacing': $chirp-typography-display-2-letter-spacing,
'text-decoration': $chirp-typography-display-2-text-decoration,
'text-case': $chirp-typography-display-2-text-case
),
'display-3': (
'font-family': $chirp-typography-display-3-font-family,
'font-weight': $chirp-typography-display-3-font-weight,
'line-height': $chirp-typography-display-3-line-height,
'font-size': $chirp-typography-display-3-font-size,
'letter-spacing': $chirp-typography-display-3-letter-spacing,
'text-decoration': $chirp-typography-display-3-text-decoration,
'text-case': $chirp-typography-display-3-text-case
),
'display-4': (
'font-family': $chirp-typography-display-4-font-family,
'font-weight': $chirp-typography-display-4-font-weight,
'line-height': $chirp-typography-display-4-line-height,
'font-size': $chirp-typography-display-4-font-size,
'letter-spacing': $chirp-typography-display-4-letter-spacing,
'text-decoration': $chirp-typography-display-4-text-decoration,
'text-case': $chirp-typography-display-4-text-case
),
'display-5': (
'font-family': $chirp-typography-display-5-font-family,
'font-weight': $chirp-typography-display-5-font-weight,
'line-height': $chirp-typography-display-5-line-height,
'font-size': $chirp-typography-display-5-font-size,
'letter-spacing': $chirp-typography-display-5-letter-spacing,
'text-decoration': $chirp-typography-display-5-text-decoration,
'text-case': $chirp-typography-display-5-text-case
),
'display-6': (
'font-family': $chirp-typography-display-6-font-family,
'font-weight': $chirp-typography-display-6-font-weight,
'line-height': $chirp-typography-display-6-line-height,
'font-size': $chirp-typography-display-6-font-size,
'letter-spacing': $chirp-typography-display-6-letter-spacing,
'text-decoration': $chirp-typography-display-6-text-decoration,
'text-case': $chirp-typography-display-6-text-case
),
'section-1': (
'font-family': $chirp-typography-section-1-font-family,
'font-weight': $chirp-typography-section-1-font-weight,
'line-height': $chirp-typography-section-1-line-height,
'font-size': $chirp-typography-section-1-font-size,
'letter-spacing': $chirp-typography-section-1-letter-spacing,
'text-decoration': $chirp-typography-section-1-text-decoration,
'text-case': $chirp-typography-section-1-text-case
),
'section-2': (
'font-family': $chirp-typography-section-2-font-family,
'font-weight': $chirp-typography-section-2-font-weight,
'line-height': $chirp-typography-section-2-line-height,
'font-size': $chirp-typography-section-2-font-size,
'letter-spacing': $chirp-typography-section-2-letter-spacing,
'text-decoration': $chirp-typography-section-2-text-decoration,
'text-case': $chirp-typography-section-2-text-case
),
'section-3': (
'font-family': $chirp-typography-section-3-font-family,
'font-weight': $chirp-typography-section-3-font-weight,
'line-height': $chirp-typography-section-3-line-height,
'font-size': $chirp-typography-section-3-font-size,
'letter-spacing': $chirp-typography-section-3-letter-spacing,
'text-decoration': $chirp-typography-section-3-text-decoration,
'text-case': $chirp-typography-section-3-text-case
),
'paragraph-1': (
'font-family': $chirp-typography-paragraph-1-font-family,
'font-weight': $chirp-typography-paragraph-1-font-weight,
'line-height': $chirp-typography-paragraph-1-line-height,
'font-size': $chirp-typography-paragraph-1-font-size,
'letter-spacing': $chirp-typography-paragraph-1-letter-spacing,
'text-decoration': $chirp-typography-paragraph-1-text-decoration,
'text-case': $chirp-typography-paragraph-1-text-case
),
'paragraph-2': (
'font-family': $chirp-typography-paragraph-2-font-family,
'font-weight': $chirp-typography-paragraph-2-font-weight,
'line-height': $chirp-typography-paragraph-2-line-height,
'font-size': $chirp-typography-paragraph-2-font-size,
'letter-spacing': $chirp-typography-paragraph-2-letter-spacing,
'text-decoration': $chirp-typography-paragraph-2-text-decoration,
'text-case': $chirp-typography-paragraph-2-text-case
),
'caption': (
'font-family': $chirp-typography-caption-font-family,
'font-weight': $chirp-typography-caption-font-weight,
'line-height': $chirp-typography-caption-line-height,
'font-size': $chirp-typography-caption-font-size,
'letter-spacing': $chirp-typography-caption-letter-spacing,
'text-decoration': $chirp-typography-caption-text-decoration,
'text-case': $chirp-typography-caption-text-case
),
'button': (
'font-family': $chirp-typography-button-font-family,
'font-weight': $chirp-typography-button-font-weight,
'line-height': $chirp-typography-button-line-height,
'font-size': $chirp-typography-button-font-size,
'letter-spacing': $chirp-typography-button-letter-spacing,
'text-decoration': $chirp-typography-button-text-decoration,
'text-case': $chirp-typography-button-text-case
),
'button-medium': (
'font-family': $chirp-typography-button-medium-font-family,
'font-weight': $chirp-typography-button-medium-font-weight,
'line-height': $chirp-typography-button-medium-line-height,
'font-size': $chirp-typography-button-medium-font-size,
'letter-spacing': $chirp-typography-button-medium-letter-spacing,
'text-decoration': $chirp-typography-button-medium-text-decoration,
'text-case': $chirp-typography-button-medium-text-case
),
'overline': (
'font-family': $chirp-typography-overline-font-family,
'font-weight': $chirp-typography-overline-font-weight,
'line-height': $chirp-typography-overline-line-height,
'font-size': $chirp-typography-overline-font-size,
'letter-spacing': $chirp-typography-overline-letter-spacing,
'text-decoration': $chirp-typography-overline-text-decoration,
'text-case': $chirp-typography-overline-text-case
),
'form-grouping': (
'font-family': $chirp-typography-form-grouping-font-family,
'font-weight': $chirp-typography-form-grouping-font-weight,
'line-height': $chirp-typography-form-grouping-line-height,
'font-size': $chirp-typography-form-grouping-font-size,
'letter-spacing': $chirp-typography-form-grouping-letter-spacing,
'text-decoration': $chirp-typography-form-grouping-text-decoration,
'text-case': $chirp-typography-form-grouping-text-case
),
'form-label': (
'font-family': $chirp-typography-form-label-font-family,
'font-weight': $chirp-typography-form-label-font-weight,
'line-height': $chirp-typography-form-label-line-height,
'font-size': $chirp-typography-form-label-font-size,
'letter-spacing': $chirp-typography-form-label-letter-spacing,
'text-decoration': $chirp-typography-form-label-text-decoration,
'text-case': $chirp-typography-form-label-text-case
),
'form-dropdown-header': (
'font-family': $chirp-typography-form-dropdown-header-font-family,
'font-weight': $chirp-typography-form-dropdown-header-font-weight,
'line-height': $chirp-typography-form-dropdown-header-line-height,
'font-size': $chirp-typography-form-dropdown-header-font-size,
'letter-spacing': $chirp-typography-form-dropdown-header-letter-spacing,
'text-decoration': $chirp-typography-form-dropdown-header-text-decoration,
'text-case': $chirp-typography-form-dropdown-header-text-case,
'font-style': $chirp-typography-form-dropdown-header-font-style
),
'form-text': (
'font-family': $chirp-typography-form-text-font-family,
'font-weight': $chirp-typography-form-text-font-weight,
'line-height': $chirp-typography-form-text-line-height,
'font-size': $chirp-typography-form-text-font-size,
'letter-spacing': $chirp-typography-form-text-letter-spacing,
'text-decoration': $chirp-typography-form-text-text-decoration,
'text-case': $chirp-typography-form-text-text-case
),
'form-helper': (
'font-family': $chirp-typography-form-helper-font-family,
'font-weight': $chirp-typography-form-helper-font-weight,
'line-height': $chirp-typography-form-helper-line-height,
'font-size': $chirp-typography-form-helper-font-size,
'letter-spacing': $chirp-typography-form-helper-letter-spacing,
'text-decoration': $chirp-typography-form-helper-text-decoration,
'text-case': $chirp-typography-form-helper-text-case
),
'form-error': (
'font-family': $chirp-typography-form-error-font-family,
'font-weight': $chirp-typography-form-error-font-weight,
'line-height': $chirp-typography-form-error-line-height,
'font-size': $chirp-typography-form-error-font-size,
'letter-spacing': $chirp-typography-form-error-letter-spacing,
'text-decoration': $chirp-typography-form-error-text-decoration,
'text-case': $chirp-typography-form-error-text-case
),
'utility': (
'font-family': $chirp-typography-utility-font-family,
'font-weight': $chirp-typography-utility-font-weight,
'line-height': $chirp-typography-utility-line-height,
'font-size': $chirp-typography-utility-font-size,
'letter-spacing': $chirp-typography-utility-letter-spacing,
'text-decoration': $chirp-typography-utility-text-decoration,
'text-case': $chirp-typography-utility-text-case
),
'utility-small': (
'font-family': $chirp-typography-utility-small-font-family,
'font-weight': $chirp-typography-utility-small-font-weight,
'line-height': $chirp-typography-utility-small-line-height,
'font-size': $chirp-typography-utility-small-font-size,
'letter-spacing': $chirp-typography-utility-small-letter-spacing,
'text-decoration': $chirp-typography-utility-small-text-decoration,
'text-case': $chirp-typography-utility-small-text-case
),
'price-x-small': (
'font-family': $chirp-typography-price-x-small-font-family,
'font-weight': $chirp-typography-price-x-small-font-weight,
'line-height': $chirp-typography-price-x-small-line-height,
'font-size': $chirp-typography-price-x-small-font-size,
'letter-spacing': $chirp-typography-price-x-small-letter-spacing,
'text-decoration': $chirp-typography-price-x-small-text-decoration,
'text-case': $chirp-typography-price-x-small-text-case
),
'price-small': (
'font-family': $chirp-typography-price-small-font-family,
'font-weight': $chirp-typography-price-small-font-weight,
'line-height': $chirp-typography-price-small-line-height,
'font-size': $chirp-typography-price-small-font-size,
'letter-spacing': $chirp-typography-price-small-letter-spacing,
'text-decoration': $chirp-typography-price-small-text-decoration,
'text-case': $chirp-typography-price-small-text-case
),
'price-medium': (
'font-family': $chirp-typography-price-medium-font-family,
'font-weight': $chirp-typography-price-medium-font-weight,
'line-height': $chirp-typography-price-medium-line-height,
'font-size': $chirp-typography-price-medium-font-size,
'letter-spacing': $chirp-typography-price-medium-letter-spacing,
'text-decoration': $chirp-typography-price-medium-text-decoration,
'text-case': $chirp-typography-price-medium-text-case
),
'price-large': (
'font-family': $chirp-typography-price-large-font-family,
'font-weight': $chirp-typography-price-large-font-weight,
'line-height': $chirp-typography-price-large-line-height,
'font-size': $chirp-typography-price-large-font-size,
'letter-spacing': $chirp-typography-price-large-letter-spacing,
'text-decoration': $chirp-typography-price-large-text-decoration,
'text-case': $chirp-typography-price-large-text-case
),
'price-x-large': (
'font-family': $chirp-typography-price-x-large-font-family,
'font-weight': $chirp-typography-price-x-large-font-weight,
'line-height': $chirp-typography-price-x-large-line-height,
'font-size': $chirp-typography-price-x-large-font-size,
'letter-spacing': $chirp-typography-price-x-large-letter-spacing,
'text-decoration': $chirp-typography-price-x-large-text-decoration,
'text-case': $chirp-typography-price-x-large-text-case
),
'price-x-small-strikethrough': (
'font-family': $chirp-typography-price-x-small-strikethrough-font-family,
'font-weight': $chirp-typography-price-x-small-strikethrough-font-weight,
'line-height': $chirp-typography-price-x-small-strikethrough-line-height,
'font-size': $chirp-typography-price-x-small-strikethrough-font-size,
'letter-spacing': $chirp-typography-price-x-small-strikethrough-letter-spacing,
'text-decoration': $chirp-typography-price-x-small-strikethrough-text-decoration,
'text-case': $chirp-typography-price-x-small-strikethrough-text-case
),
'price-small-strikethrough': (
'font-family': $chirp-typography-price-small-strikethrough-font-family,
'font-weight': $chirp-typography-price-small-strikethrough-font-weight,
'line-height': $chirp-typography-price-small-strikethrough-line-height,
'font-size': $chirp-typography-price-small-strikethrough-font-size,
'letter-spacing': $chirp-typography-price-small-strikethrough-letter-spacing,
'text-decoration': $chirp-typography-price-small-strikethrough-text-decoration,
'text-case': $chirp-typography-price-small-strikethrough-text-case
)
);Modified 'scss/map-deep' template to output custom properties for properties that have references
$chirp-typography-price-small-strikethrough-text-case: none !default;Sass variables
$chirp-typography: (
'display-typeface': $chirp-typography-display-typeface,
'ls-wide': $chirp-typography-ls-wide,
'text-typeface': $chirp-typography-text-typeface,
'weight-heavy': $chirp-typography-weight-heavy,
'weight-bold': $chirp-typography-weight-bold,
'weight-semibold': $chirp-typography-weight-semibold,
'ls-standard': $chirp-typography-ls-standard,
'ls-loose': $chirp-typography-ls-loose,
'ls-tight': $chirp-typography-ls-tight,
'weight-normal': $chirp-typography-weight-normal,
'weight-medium': $chirp-typography-weight-medium,
'display-1': (
'font-family': $chirp-typography-display-1-font-family,
'font-weight': $chirp-typography-display-1-font-weight,
'line-height': $chirp-typography-display-1-line-height,
'font-size': $chirp-typography-display-1-font-size,
'letter-spacing': $chirp-typography-display-1-letter-spacing,
'text-decoration': $chirp-typography-display-1-text-decoration,
'text-case': $chirp-typography-display-1-text-case
),
'display-2': (
'font-family': $chirp-typography-display-2-font-family,
'font-weight': $chirp-typography-display-2-font-weight,
'line-height': $chirp-typography-display-2-line-height,
'font-size': $chirp-typography-display-2-font-size,
'letter-spacing': $chirp-typography-display-2-letter-spacing,
'text-decoration': $chirp-typography-display-2-text-decoration,
'text-case': $chirp-typography-display-2-text-case
),
'display-3': (
'font-family': $chirp-typography-display-3-font-family,
'font-weight': $chirp-typography-display-3-font-weight,
'line-height': $chirp-typography-display-3-line-height,
'font-size': $chirp-typography-display-3-font-size,
'letter-spacing': $chirp-typography-display-3-letter-spacing,
'text-decoration': $chirp-typography-display-3-text-decoration,
'text-case': $chirp-typography-display-3-text-case
),
'display-4': (
'font-family': $chirp-typography-display-4-font-family,
'font-weight': $chirp-typography-display-4-font-weight,
'line-height': $chirp-typography-display-4-line-height,
'font-size': $chirp-typography-display-4-font-size,
'letter-spacing': $chirp-typography-display-4-letter-spacing,
'text-decoration': $chirp-typography-display-4-text-decoration,
'text-case': $chirp-typography-display-4-text-case
),
'display-5': (
'font-family': $chirp-typography-display-5-font-family,
'font-weight': $chirp-typography-display-5-font-weight,
'line-height': $chirp-typography-display-5-line-height,
'font-size': $chirp-typography-display-5-font-size,
'letter-spacing': $chirp-typography-display-5-letter-spacing,
'text-decoration': $chirp-typography-display-5-text-decoration,
'text-case': $chirp-typography-display-5-text-case
),
'display-6': (
'font-family': $chirp-typography-display-6-font-family,
'font-weight': $chirp-typography-display-6-font-weight,
'line-height': $chirp-typography-display-6-line-height,
'font-size': $chirp-typography-display-6-font-size,
'letter-spacing': $chirp-typography-display-6-letter-spacing,
'text-decoration': $chirp-typography-display-6-text-decoration,
'text-case': $chirp-typography-display-6-text-case
),
'section-1': (
'font-family': $chirp-typography-section-1-font-family,
'font-weight': $chirp-typography-section-1-font-weight,
'line-height': $chirp-typography-section-1-line-height,
'font-size': $chirp-typography-section-1-font-size,
'letter-spacing': $chirp-typography-section-1-letter-spacing,
'text-decoration': $chirp-typography-section-1-text-decoration,
'text-case': $chirp-typography-section-1-text-case
),
'section-2': (
'font-family': $chirp-typography-section-2-font-family,
'font-weight': $chirp-typography-section-2-font-weight,
'line-height': $chirp-typography-section-2-line-height,
'font-size': $chirp-typography-section-2-font-size,
'letter-spacing': $chirp-typography-section-2-letter-spacing,
'text-decoration': $chirp-typography-section-2-text-decoration,
'text-case': $chirp-typography-section-2-text-case
),
'section-3': (
'font-family': $chirp-typography-section-3-font-family,
'font-weight': $chirp-typography-section-3-font-weight,
'line-height': $chirp-typography-section-3-line-height,
'font-size': $chirp-typography-section-3-font-size,
'letter-spacing': $chirp-typography-section-3-letter-spacing,
'text-decoration': $chirp-typography-section-3-text-decoration,
'text-case': $chirp-typography-section-3-text-case
),
'editorial-p-1': (
'font-family': $chirp-typography-editorial-p-1-font-family,
'font-weight': $chirp-typography-editorial-p-1-font-weight,
'line-height': $chirp-typography-editorial-p-1-line-height,
'font-size': $chirp-typography-editorial-p-1-font-size,
'letter-spacing': $chirp-typography-editorial-p-1-letter-spacing,
'text-decoration': $chirp-typography-editorial-p-1-text-decoration,
'text-case': $chirp-typography-editorial-p-1-text-case
),
'editorial-p-2': (
'font-family': $chirp-typography-editorial-p-2-font-family,
'font-weight': $chirp-typography-editorial-p-2-font-weight,
'line-height': $chirp-typography-editorial-p-2-line-height,
'font-size': $chirp-typography-editorial-p-2-font-size,
'letter-spacing': $chirp-typography-editorial-p-2-letter-spacing,
'text-decoration': $chirp-typography-editorial-p-2-text-decoration,
'text-case': $chirp-typography-editorial-p-2-text-case
),
'paragraph-1': (
'font-family': $chirp-typography-paragraph-1-font-family,
'font-weight': $chirp-typography-paragraph-1-font-weight,
'line-height': $chirp-typography-paragraph-1-line-height,
'font-size': $chirp-typography-paragraph-1-font-size,
'letter-spacing': $chirp-typography-paragraph-1-letter-spacing,
'text-decoration': $chirp-typography-paragraph-1-text-decoration,
'text-case': $chirp-typography-paragraph-1-text-case
),
'paragraph-2': (
'font-family': $chirp-typography-paragraph-2-font-family,
'font-weight': $chirp-typography-paragraph-2-font-weight,
'line-height': $chirp-typography-paragraph-2-line-height,
'font-size': $chirp-typography-paragraph-2-font-size,
'letter-spacing': $chirp-typography-paragraph-2-letter-spacing,
'text-decoration': $chirp-typography-paragraph-2-text-decoration,
'text-case': $chirp-typography-paragraph-2-text-case
),
'caption': (
'font-family': $chirp-typography-caption-font-family,
'font-weight': $chirp-typography-caption-font-weight,
'line-height': $chirp-typography-caption-line-height,
'font-size': $chirp-typography-caption-font-size,
'letter-spacing': $chirp-typography-caption-letter-spacing,
'text-decoration': $chirp-typography-caption-text-decoration,
'text-case': $chirp-typography-caption-text-case
),
'button': (
'font-family': $chirp-typography-button-font-family,
'font-weight': $chirp-typography-button-font-weight,
'line-height': $chirp-typography-button-line-height,
'font-size': $chirp-typography-button-font-size,
'letter-spacing': $chirp-typography-button-letter-spacing,
'text-decoration': $chirp-typography-button-text-decoration,
'text-case': $chirp-typography-button-text-case
),
'button-medium': (
'font-family': $chirp-typography-button-medium-font-family,
'font-weight': $chirp-typography-button-medium-font-weight,
'line-height': $chirp-typography-button-medium-line-height,
'font-size': $chirp-typography-button-medium-font-size,
'letter-spacing': $chirp-typography-button-medium-letter-spacing,
'text-decoration': $chirp-typography-button-medium-text-decoration,
'text-case': $chirp-typography-button-medium-text-case
),
'overline': (
'font-family': $chirp-typography-overline-font-family,
'font-weight': $chirp-typography-overline-font-weight,
'line-height': $chirp-typography-overline-line-height,
'font-size': $chirp-typography-overline-font-size,
'letter-spacing': $chirp-typography-overline-letter-spacing,
'text-decoration': $chirp-typography-overline-text-decoration,
'text-case': $chirp-typography-overline-text-case
),
'form-grouping': (
'font-family': $chirp-typography-form-grouping-font-family,
'font-weight': $chirp-typography-form-grouping-font-weight,
'line-height': $chirp-typography-form-grouping-line-height,
'font-size': $chirp-typography-form-grouping-font-size,
'letter-spacing': $chirp-typography-form-grouping-letter-spacing,
'text-decoration': $chirp-typography-form-grouping-text-decoration,
'text-case': $chirp-typography-form-grouping-text-case
),
'form-label': (
'font-family': $chirp-typography-form-label-font-family,
'font-weight': $chirp-typography-form-label-font-weight,
'line-height': $chirp-typography-form-label-line-height,
'font-size': $chirp-typography-form-label-font-size,
'letter-spacing': $chirp-typography-form-label-letter-spacing,
'text-decoration': $chirp-typography-form-label-text-decoration,
'text-case': $chirp-typography-form-label-text-case
),
'form-dropdown-header': (
'font-family': $chirp-typography-form-dropdown-header-font-family,
'font-weight': $chirp-typography-form-dropdown-header-font-weight,
'line-height': $chirp-typography-form-dropdown-header-line-height,
'font-size': $chirp-typography-form-dropdown-header-font-size,
'letter-spacing': $chirp-typography-form-dropdown-header-letter-spacing,
'text-decoration': $chirp-typography-form-dropdown-header-text-decoration,
'text-case': $chirp-typography-form-dropdown-header-text-case,
'font-style': $chirp-typography-form-dropdown-header-font-style
),
'form-text': (
'font-family': $chirp-typography-form-text-font-family,
'font-weight': $chirp-typography-form-text-font-weight,
'line-height': $chirp-typography-form-text-line-height,
'font-size': $chirp-typography-form-text-font-size,
'letter-spacing': $chirp-typography-form-text-letter-spacing,
'text-decoration': $chirp-typography-form-text-text-decoration,
'text-case': $chirp-typography-form-text-text-case
),
'form-helper': (
'font-family': $chirp-typography-form-helper-font-family,
'font-weight': $chirp-typography-form-helper-font-weight,
'line-height': $chirp-typography-form-helper-line-height,
'font-size': $chirp-typography-form-helper-font-size,
'letter-spacing': $chirp-typography-form-helper-letter-spacing,
'text-decoration': $chirp-typography-form-helper-text-decoration,
'text-case': $chirp-typography-form-helper-text-case
),
'form-error': (
'font-family': $chirp-typography-form-error-font-family,
'font-weight': $chirp-typography-form-error-font-weight,
'line-height': $chirp-typography-form-error-line-height,
'font-size': $chirp-typography-form-error-font-size,
'letter-spacing': $chirp-typography-form-error-letter-spacing,
'text-decoration': $chirp-typography-form-error-text-decoration,
'text-case': $chirp-typography-form-error-text-case
),
'utility': (
'font-family': $chirp-typography-utility-font-family,
'font-weight': $chirp-typography-utility-font-weight,
'line-height': $chirp-typography-utility-line-height,
'font-size': $chirp-typography-utility-font-size,
'letter-spacing': $chirp-typography-utility-letter-spacing,
'text-decoration': $chirp-typography-utility-text-decoration,
'text-case': $chirp-typography-utility-text-case
),
'utility-small': (
'font-family': $chirp-typography-utility-small-font-family,
'font-weight': $chirp-typography-utility-small-font-weight,
'line-height': $chirp-typography-utility-small-line-height,
'font-size': $chirp-typography-utility-small-font-size,
'letter-spacing': $chirp-typography-utility-small-letter-spacing,
'text-decoration': $chirp-typography-utility-small-text-decoration,
'text-case': $chirp-typography-utility-small-text-case
),
'price-small': (
'font-family': $chirp-typography-price-small-font-family,
'font-weight': $chirp-typography-price-small-font-weight,
'line-height': $chirp-typography-price-small-line-height,
'font-size': $chirp-typography-price-small-font-size,
'letter-spacing': $chirp-typography-price-small-letter-spacing,
'text-decoration': $chirp-typography-price-small-text-decoration,
'text-case': $chirp-typography-price-small-text-case
),
'price-medium': (
'font-family': $chirp-typography-price-medium-font-family,
'font-weight': $chirp-typography-price-medium-font-weight,
'line-height': $chirp-typography-price-medium-line-height,
'font-size': $chirp-typography-price-medium-font-size,
'letter-spacing': $chirp-typography-price-medium-letter-spacing,
'text-decoration': $chirp-typography-price-medium-text-decoration,
'text-case': $chirp-typography-price-medium-text-case
),
'price-large': (
'font-family': $chirp-typography-price-large-font-family,
'font-weight': $chirp-typography-price-large-font-weight,
'line-height': $chirp-typography-price-large-line-height,
'font-size': $chirp-typography-price-large-font-size,
'letter-spacing': $chirp-typography-price-large-letter-spacing,
'text-decoration': $chirp-typography-price-large-text-decoration,
'text-case': $chirp-typography-price-large-text-case
),
'price-x-large': (
'font-family': $chirp-typography-price-x-large-font-family,
'font-weight': $chirp-typography-price-x-large-font-weight,
'line-height': $chirp-typography-price-x-large-line-height,
'font-size': $chirp-typography-price-x-large-font-size,
'letter-spacing': $chirp-typography-price-x-large-letter-spacing,
'text-decoration': $chirp-typography-price-x-large-text-decoration,
'text-case': $chirp-typography-price-x-large-text-case
),
'price-x-small-strikethrough': (
'font-family': $chirp-typography-price-x-small-strikethrough-font-family,
'font-weight': $chirp-typography-price-x-small-strikethrough-font-weight,
'line-height': $chirp-typography-price-x-small-strikethrough-line-height,
'font-size': $chirp-typography-price-x-small-strikethrough-font-size,
'letter-spacing': $chirp-typography-price-x-small-strikethrough-letter-spacing,
'text-decoration': $chirp-typography-price-x-small-strikethrough-text-decoration,
'text-case': $chirp-typography-price-x-small-strikethrough-text-case
),
'price-small-strikethrough': (
'font-family': $chirp-typography-price-small-strikethrough-font-family,
'font-weight': $chirp-typography-price-small-strikethrough-font-weight,
'line-height': $chirp-typography-price-small-strikethrough-line-height,
'font-size': $chirp-typography-price-small-strikethrough-font-size,
'letter-spacing': $chirp-typography-price-small-strikethrough-letter-spacing,
'text-decoration': $chirp-typography-price-small-strikethrough-text-decoration,
'text-case': $chirp-typography-price-small-strikethrough-text-case
)
);Modified 'scss/map-deep' template to output custom properties for properties that have references
$chirp-typography-utility-small-text-case: none !default;Sass variables
$chirp-typography: (
'display-typeface': $chirp-typography-display-typeface,
'text-typeface': $chirp-typography-text-typeface,
'ls-standard': $chirp-typography-ls-standard,
'ls-loose': $chirp-typography-ls-loose,
'ls-wide': $chirp-typography-ls-wide,
'ls-tight': $chirp-typography-ls-tight,
'weight-normal': $chirp-typography-weight-normal,
'weight-bold': $chirp-typography-weight-bold,
'weight-semibold': $chirp-typography-weight-semibold,
'weight-medium': $chirp-typography-weight-medium,
'weight-heavy': $chirp-typography-weight-heavy,
'display-1': (
'font-family': $chirp-typography-display-1-font-family,
'font-weight': $chirp-typography-display-1-font-weight,
'line-height': $chirp-typography-display-1-line-height,
'letter-spacing': $chirp-typography-display-1-letter-spacing,
'text-decoration': $chirp-typography-display-1-text-decoration,
'text-case': $chirp-typography-display-1-text-case,
'font-size': $chirp-typography-display-1-font-size
),
'display-2': (
'font-family': $chirp-typography-display-2-font-family,
'font-weight': $chirp-typography-display-2-font-weight,
'line-height': $chirp-typography-display-2-line-height,
'font-size': $chirp-typography-display-2-font-size,
'letter-spacing': $chirp-typography-display-2-letter-spacing,
'text-decoration': $chirp-typography-display-2-text-decoration,
'text-case': $chirp-typography-display-2-text-case
),
'display-3': (
'font-family': $chirp-typography-display-3-font-family,
'font-weight': $chirp-typography-display-3-font-weight,
'line-height': $chirp-typography-display-3-line-height,
'font-size': $chirp-typography-display-3-font-size,
'letter-spacing': $chirp-typography-display-3-letter-spacing,
'text-decoration': $chirp-typography-display-3-text-decoration,
'text-case': $chirp-typography-display-3-text-case
),
'display-4': (
'font-family': $chirp-typography-display-4-font-family,
'font-weight': $chirp-typography-display-4-font-weight,
'line-height': $chirp-typography-display-4-line-height,
'font-size': $chirp-typography-display-4-font-size,
'letter-spacing': $chirp-typography-display-4-letter-spacing,
'text-decoration': $chirp-typography-display-4-text-decoration,
'text-case': $chirp-typography-display-4-text-case
),
'display-5': (
'font-family': $chirp-typography-display-5-font-family,
'font-weight': $chirp-typography-display-5-font-weight,
'line-height': $chirp-typography-display-5-line-height,
'font-size': $chirp-typography-display-5-font-size,
'letter-spacing': $chirp-typography-display-5-letter-spacing,
'text-decoration': $chirp-typography-display-5-text-decoration,
'text-case': $chirp-typography-display-5-text-case
),
'display-6': (
'font-family': $chirp-typography-display-6-font-family,
'font-weight': $chirp-typography-display-6-font-weight,
'line-height': $chirp-typography-display-6-line-height,
'font-size': $chirp-typography-display-6-font-size,
'letter-spacing': $chirp-typography-display-6-letter-spacing,
'text-decoration': $chirp-typography-display-6-text-decoration,
'text-case': $chirp-typography-display-6-text-case
),
'section-1': (
'font-family': $chirp-typography-section-1-font-family,
'font-weight': $chirp-typography-section-1-font-weight,
'line-height': $chirp-typography-section-1-line-height,
'font-size': $chirp-typography-section-1-font-size,
'letter-spacing': $chirp-typography-section-1-letter-spacing,
'text-decoration': $chirp-typography-section-1-text-decoration,
'text-case': $chirp-typography-section-1-text-case
),
'section-2': (
'font-family': $chirp-typography-section-2-font-family,
'font-weight': $chirp-typography-section-2-font-weight,
'line-height': $chirp-typography-section-2-line-height,
'font-size': $chirp-typography-section-2-font-size,
'letter-spacing': $chirp-typography-section-2-letter-spacing,
'text-decoration': $chirp-typography-section-2-text-decoration,
'text-case': $chirp-typography-section-2-text-case
),
'section-3': (
'font-family': $chirp-typography-section-3-font-family,
'font-weight': $chirp-typography-section-3-font-weight,
'line-height': $chirp-typography-section-3-line-height,
'font-size': $chirp-typography-section-3-font-size,
'letter-spacing': $chirp-typography-section-3-letter-spacing,
'text-decoration': $chirp-typography-section-3-text-decoration,
'text-case': $chirp-typography-section-3-text-case
),
'editorial-p-1': (
'font-family': $chirp-typography-editorial-p-1-font-family,
'font-weight': $chirp-typography-editorial-p-1-font-weight,
'line-height': $chirp-typography-editorial-p-1-line-height,
'font-size': $chirp-typography-editorial-p-1-font-size,
'letter-spacing': $chirp-typography-editorial-p-1-letter-spacing,
'text-decoration': $chirp-typography-editorial-p-1-text-decoration,
'text-case': $chirp-typography-editorial-p-1-text-case
),
'editorial-p-2': (
'font-family': $chirp-typography-editorial-p-2-font-family,
'font-weight': $chirp-typography-editorial-p-2-font-weight,
'line-height': $chirp-typography-editorial-p-2-line-height,
'font-size': $chirp-typography-editorial-p-2-font-size,
'letter-spacing': $chirp-typography-editorial-p-2-letter-spacing,
'text-decoration': $chirp-typography-editorial-p-2-text-decoration,
'text-case': $chirp-typography-editorial-p-2-text-case
),
'paragraph-1': (
'font-family': $chirp-typography-paragraph-1-font-family,
'font-weight': $chirp-typography-paragraph-1-font-weight,
'line-height': $chirp-typography-paragraph-1-line-height,
'font-size': $chirp-typography-paragraph-1-font-size,
'letter-spacing': $chirp-typography-paragraph-1-letter-spacing,
'text-decoration': $chirp-typography-paragraph-1-text-decoration,
'text-case': $chirp-typography-paragraph-1-text-case
),
'paragraph-2': (
'font-family': $chirp-typography-paragraph-2-font-family,
'font-weight': $chirp-typography-paragraph-2-font-weight,
'line-height': $chirp-typography-paragraph-2-line-height,
'font-size': $chirp-typography-paragraph-2-font-size,
'letter-spacing': $chirp-typography-paragraph-2-letter-spacing,
'text-decoration': $chirp-typography-paragraph-2-text-decoration,
'text-case': $chirp-typography-paragraph-2-text-case
),
'caption': (
'font-family': $chirp-typography-caption-font-family,
'font-weight': $chirp-typography-caption-font-weight,
'line-height': $chirp-typography-caption-line-height,
'font-size': $chirp-typography-caption-font-size,
'letter-spacing': $chirp-typography-caption-letter-spacing,
'text-decoration': $chirp-typography-caption-text-decoration,
'text-case': $chirp-typography-caption-text-case
),
'button': (
'font-family': $chirp-typography-button-font-family,
'font-weight': $chirp-typography-button-font-weight,
'line-height': $chirp-typography-button-line-height,
'font-size': $chirp-typography-button-font-size,
'letter-spacing': $chirp-typography-button-letter-spacing,
'text-decoration': $chirp-typography-button-text-decoration,
'text-case': $chirp-typography-button-text-case
),
'button-medium': (
'font-family': $chirp-typography-button-medium-font-family,
'font-weight': $chirp-typography-button-medium-font-weight,
'line-height': $chirp-typography-button-medium-line-height,
'font-size': $chirp-typography-button-medium-font-size,
'letter-spacing': $chirp-typography-button-medium-letter-spacing,
'text-decoration': $chirp-typography-button-medium-text-decoration,
'text-case': $chirp-typography-button-medium-text-case
),
'overline': (
'font-family': $chirp-typography-overline-font-family,
'font-weight': $chirp-typography-overline-font-weight,
'line-height': $chirp-typography-overline-line-height,
'font-size': $chirp-typography-overline-font-size,
'letter-spacing': $chirp-typography-overline-letter-spacing,
'text-decoration': $chirp-typography-overline-text-decoration,
'text-case': $chirp-typography-overline-text-case
),
'form-grouping': (
'font-family': $chirp-typography-form-grouping-font-family,
'font-weight': $chirp-typography-form-grouping-font-weight,
'line-height': $chirp-typography-form-grouping-line-height,
'font-size': $chirp-typography-form-grouping-font-size,
'letter-spacing': $chirp-typography-form-grouping-letter-spacing,
'text-decoration': $chirp-typography-form-grouping-text-decoration,
'text-case': $chirp-typography-form-grouping-text-case
),
'form-label': (
'font-family': $chirp-typography-form-label-font-family,
'font-weight': $chirp-typography-form-label-font-weight,
'line-height': $chirp-typography-form-label-line-height,
'font-size': $chirp-typography-form-label-font-size,
'letter-spacing': $chirp-typography-form-label-letter-spacing,
'text-decoration': $chirp-typography-form-label-text-decoration,
'text-case': $chirp-typography-form-label-text-case
),
'form-dropdown-header': (
'font-family': $chirp-typography-form-dropdown-header-font-family,
'font-weight': $chirp-typography-form-dropdown-header-font-weight,
'line-height': $chirp-typography-form-dropdown-header-line-height,
'font-size': $chirp-typography-form-dropdown-header-font-size,
'letter-spacing': $chirp-typography-form-dropdown-header-letter-spacing,
'text-decoration': $chirp-typography-form-dropdown-header-text-decoration,
'text-case': $chirp-typography-form-dropdown-header-text-case,
'font-style': $chirp-typography-form-dropdown-header-font-style
),
'form-text': (
'font-family': $chirp-typography-form-text-font-family,
'font-weight': $chirp-typography-form-text-font-weight,
'line-height': $chirp-typography-form-text-line-height,
'font-size': $chirp-typography-form-text-font-size,
'letter-spacing': $chirp-typography-form-text-letter-spacing,
'text-decoration': $chirp-typography-form-text-text-decoration,
'text-case': $chirp-typography-form-text-text-case
),
'form-helper': (
'font-family': $chirp-typography-form-helper-font-family,
'font-weight': $chirp-typography-form-helper-font-weight,
'line-height': $chirp-typography-form-helper-line-height,
'font-size': $chirp-typography-form-helper-font-size,
'letter-spacing': $chirp-typography-form-helper-letter-spacing,
'text-decoration': $chirp-typography-form-helper-text-decoration,
'text-case': $chirp-typography-form-helper-text-case
),
'form-error': (
'font-family': $chirp-typography-form-error-font-family,
'font-weight': $chirp-typography-form-error-font-weight,
'line-height': $chirp-typography-form-error-line-height,
'font-size': $chirp-typography-form-error-font-size,
'letter-spacing': $chirp-typography-form-error-letter-spacing,
'text-decoration': $chirp-typography-form-error-text-decoration,
'text-case': $chirp-typography-form-error-text-case
),
'utility': (
'font-family': $chirp-typography-utility-font-family,
'font-weight': $chirp-typography-utility-font-weight,
'line-height': $chirp-typography-utility-line-height,
'font-size': $chirp-typography-utility-font-size,
'letter-spacing': $chirp-typography-utility-letter-spacing,
'text-decoration': $chirp-typography-utility-text-decoration,
'text-case': $chirp-typography-utility-text-case
),
'utility-small': (
'font-family': $chirp-typography-utility-small-font-family,
'font-weight': $chirp-typography-utility-small-font-weight,
'line-height': $chirp-typography-utility-small-line-height,
'font-size': $chirp-typography-utility-small-font-size,
'letter-spacing': $chirp-typography-utility-small-letter-spacing,
'text-decoration': $chirp-typography-utility-small-text-decoration,
'text-case': $chirp-typography-utility-small-text-case
)
);Modified 'scss/map-deep' template to output custom properties for properties that have references
$chirp-typography-deprecated-hero-4-alternate-text-case: none !default;Sass variables
$chirp-typography: (
'display-typeface': $chirp-typography-display-typeface,
'text-typeface': $chirp-typography-text-typeface,
'ls-standard': $chirp-typography-ls-standard,
'ls-loose': $chirp-typography-ls-loose,
'ls-wide': $chirp-typography-ls-wide,
'ls-tight': $chirp-typography-ls-tight,
'weight-normal': $chirp-typography-weight-normal,
'weight-bold': $chirp-typography-weight-bold,
'weight-semibold': $chirp-typography-weight-semibold,
'weight-medium': $chirp-typography-weight-medium,
'weight-heavy': $chirp-typography-weight-heavy,
'display-1': (
'font-family': $chirp-typography-display-1-font-family,
'font-weight': $chirp-typography-display-1-font-weight,
'line-height': $chirp-typography-display-1-line-height,
'font-size': $chirp-typography-display-1-font-size,
'letter-spacing': $chirp-typography-display-1-letter-spacing,
'text-decoration': $chirp-typography-display-1-text-decoration,
'text-case': $chirp-typography-display-1-text-case
),
'display-2': (
'font-family': $chirp-typography-display-2-font-family,
'font-weight': $chirp-typography-display-2-font-weight,
'line-height': $chirp-typography-display-2-line-height,
'font-size': $chirp-typography-display-2-font-size,
'letter-spacing': $chirp-typography-display-2-letter-spacing,
'text-decoration': $chirp-typography-display-2-text-decoration,
'text-case': $chirp-typography-display-2-text-case
),
'display-3': (
'font-family': $chirp-typography-display-3-font-family,
'font-weight': $chirp-typography-display-3-font-weight,
'line-height': $chirp-typography-display-3-line-height,
'font-size': $chirp-typography-display-3-font-size,
'letter-spacing': $chirp-typography-display-3-letter-spacing,
'text-decoration': $chirp-typography-display-3-text-decoration,
'text-case': $chirp-typography-display-3-text-case
),
'display-4': (
'font-family': $chirp-typography-display-4-font-family,
'font-weight': $chirp-typography-display-4-font-weight,
'line-height': $chirp-typography-display-4-line-height,
'font-size': $chirp-typography-display-4-font-size,
'letter-spacing': $chirp-typography-display-4-letter-spacing,
'text-decoration': $chirp-typography-display-4-text-decoration,
'text-case': $chirp-typography-display-4-text-case
),
'display-5': (
'font-family': $chirp-typography-display-5-font-family,
'font-weight': $chirp-typography-display-5-font-weight,
'line-height': $chirp-typography-display-5-line-height,
'font-size': $chirp-typography-display-5-font-size,
'letter-spacing': $chirp-typography-display-5-letter-spacing,
'text-decoration': $chirp-typography-display-5-text-decoration,
'text-case': $chirp-typography-display-5-text-case
),
'display-6': (
'font-family': $chirp-typography-display-6-font-family,
'font-weight': $chirp-typography-display-6-font-weight,
'line-height': $chirp-typography-display-6-line-height,
'font-size': $chirp-typography-display-6-font-size,
'letter-spacing': $chirp-typography-display-6-letter-spacing,
'text-decoration': $chirp-typography-display-6-text-decoration,
'text-case': $chirp-typography-display-6-text-case
),
'section-1': (
'font-family': $chirp-typography-section-1-font-family,
'font-weight': $chirp-typography-section-1-font-weight,
'line-height': $chirp-typography-section-1-line-height,
'font-size': $chirp-typography-section-1-font-size,
'letter-spacing': $chirp-typography-section-1-letter-spacing,
'text-decoration': $chirp-typography-section-1-text-decoration,
'text-case': $chirp-typography-section-1-text-case
),
'section-2': (
'font-family': $chirp-typography-section-2-font-family,
'font-weight': $chirp-typography-section-2-font-weight,
'line-height': $chirp-typography-section-2-line-height,
'font-size': $chirp-typography-section-2-font-size,
'letter-spacing': $chirp-typography-section-2-letter-spacing,
'text-decoration': $chirp-typography-section-2-text-decoration,
'text-case': $chirp-typography-section-2-text-case
),
'section-3': (
'font-family': $chirp-typography-section-3-font-family,
'font-weight': $chirp-typography-section-3-font-weight,
'line-height': $chirp-typography-section-3-line-height,
'font-size': $chirp-typography-section-3-font-size,
'letter-spacing': $chirp-typography-section-3-letter-spacing,
'text-decoration': $chirp-typography-section-3-text-decoration,
'text-case': $chirp-typography-section-3-text-case
),
'editorial-p-1': (
'font-family': $chirp-typography-editorial-p-1-font-family,
'font-weight': $chirp-typography-editorial-p-1-font-weight,
'line-height': $chirp-typography-editorial-p-1-line-height,
'font-size': $chirp-typography-editorial-p-1-font-size,
'letter-spacing': $chirp-typography-editorial-p-1-letter-spacing,
'text-decoration': $chirp-typography-editorial-p-1-text-decoration,
'text-case': $chirp-typography-editorial-p-1-text-case
),
'editorial-p-2': (
'font-family': $chirp-typography-editorial-p-2-font-family,
'font-weight': $chirp-typography-editorial-p-2-font-weight,
'line-height': $chirp-typography-editorial-p-2-line-height,
'font-size': $chirp-typography-editorial-p-2-font-size,
'letter-spacing': $chirp-typography-editorial-p-2-letter-spacing,
'text-decoration': $chirp-typography-editorial-p-2-text-decoration,
'text-case': $chirp-typography-editorial-p-2-text-case
),
'paragraph-1': (
'font-family': $chirp-typography-paragraph-1-font-family,
'font-weight': $chirp-typography-paragraph-1-font-weight,
'line-height': $chirp-typography-paragraph-1-line-height,
'font-size': $chirp-typography-paragraph-1-font-size,
'letter-spacing': $chirp-typography-paragraph-1-letter-spacing,
'text-decoration': $chirp-typography-paragraph-1-text-decoration,
'text-case': $chirp-typography-paragraph-1-text-case
),
'paragraph-2': (
'font-family': $chirp-typography-paragraph-2-font-family,
'font-weight': $chirp-typography-paragraph-2-font-weight,
'line-height': $chirp-typography-paragraph-2-line-height,
'font-size': $chirp-typography-paragraph-2-font-size,
'letter-spacing': $chirp-typography-paragraph-2-letter-spacing,
'text-decoration': $chirp-typography-paragraph-2-text-decoration,
'text-case': $chirp-typography-paragraph-2-text-case
),
'caption': (
'font-family': $chirp-typography-caption-font-family,
'font-weight': $chirp-typography-caption-font-weight,
'line-height': $chirp-typography-caption-line-height,
'font-size': $chirp-typography-caption-font-size,
'letter-spacing': $chirp-typography-caption-letter-spacing,
'text-decoration': $chirp-typography-caption-text-decoration,
'text-case': $chirp-typography-caption-text-case
),
'button': (
'font-family': $chirp-typography-button-font-family,
'font-weight': $chirp-typography-button-font-weight,
'line-height': $chirp-typography-button-line-height,
'font-size': $chirp-typography-button-font-size,
'letter-spacing': $chirp-typography-button-letter-spacing,
'text-decoration': $chirp-typography-button-text-decoration,
'text-case': $chirp-typography-button-text-case
),
'button-medium': (
'font-family': $chirp-typography-button-medium-font-family,
'font-weight': $chirp-typography-button-medium-font-weight,
'line-height': $chirp-typography-button-medium-line-height,
'font-size': $chirp-typography-button-medium-font-size,
'letter-spacing': $chirp-typography-button-medium-letter-spacing,
'text-decoration': $chirp-typography-button-medium-text-decoration,
'text-case': $chirp-typography-button-medium-text-case
),
'overline': (
'font-family': $chirp-typography-overline-font-family,
'font-weight': $chirp-typography-overline-font-weight,
'line-height': $chirp-typography-overline-line-height,
'font-size': $chirp-typography-overline-font-size,
'letter-spacing': $chirp-typography-overline-letter-spacing,
'text-decoration': $chirp-typography-overline-text-decoration,
'text-case': $chirp-typography-overline-text-case
),
'form-grouping': (
'font-family': $chirp-typography-form-grouping-font-family,
'font-weight': $chirp-typography-form-grouping-font-weight,
'line-height': $chirp-typography-form-grouping-line-height,
'font-size': $chirp-typography-form-grouping-font-size,
'letter-spacing': $chirp-typography-form-grouping-letter-spacing,
'text-decoration': $chirp-typography-form-grouping-text-decoration,
'text-case': $chirp-typography-form-grouping-text-case
),
'form-label': (
'font-family': $chirp-typography-form-label-font-family,
'font-weight': $chirp-typography-form-label-font-weight,
'line-height': $chirp-typography-form-label-line-height,
'font-size': $chirp-typography-form-label-font-size,
'letter-spacing': $chirp-typography-form-label-letter-spacing,
'text-decoration': $chirp-typography-form-label-text-decoration,
'text-case': $chirp-typography-form-label-text-case
),
'form-dropdown-header': (
'font-family': $chirp-typography-form-dropdown-header-font-family,
'font-weight': $chirp-typography-form-dropdown-header-font-weight,
'line-height': $chirp-typography-form-dropdown-header-line-height,
'font-size': $chirp-typography-form-dropdown-header-font-size,
'letter-spacing': $chirp-typography-form-dropdown-header-letter-spacing,
'text-decoration': $chirp-typography-form-dropdown-header-text-decoration,
'text-case': $chirp-typography-form-dropdown-header-text-case,
'font-style': $chirp-typography-form-dropdown-header-font-style
),
'form-text': (
'font-family': $chirp-typography-form-text-font-family,
'font-weight': $chirp-typography-form-text-font-weight,
'line-height': $chirp-typography-form-text-line-height,
'font-size': $chirp-typography-form-text-font-size,
'letter-spacing': $chirp-typography-form-text-letter-spacing,
'text-decoration': $chirp-typography-form-text-text-decoration,
'text-case': $chirp-typography-form-text-text-case
),
'form-helper': (
'font-family': $chirp-typography-form-helper-font-family,
'font-weight': $chirp-typography-form-helper-font-weight,
'line-height': $chirp-typography-form-helper-line-height,
'font-size': $chirp-typography-form-helper-font-size,
'letter-spacing': $chirp-typography-form-helper-letter-spacing,
'text-decoration': $chirp-typography-form-helper-text-decoration,
'text-case': $chirp-typography-form-helper-text-case
),
'form-error': (
'font-family': $chirp-typography-form-error-font-family,
'font-weight': $chirp-typography-form-error-font-weight,
'line-height': $chirp-typography-form-error-line-height,
'font-size': $chirp-typography-form-error-font-size,
'letter-spacing': $chirp-typography-form-error-letter-spacing,
'text-decoration': $chirp-typography-form-error-text-decoration,
'text-case': $chirp-typography-form-error-text-case
),
'menu-heading': (
'font-family': $chirp-typography-menu-heading-font-family,
'font-weight': $chirp-typography-menu-heading-font-weight,
'line-height': $chirp-typography-menu-heading-line-height,
'font-size': $chirp-typography-menu-heading-font-size,
'letter-spacing': $chirp-typography-menu-heading-letter-spacing,
'text-decoration': $chirp-typography-menu-heading-text-decoration,
'text-case': $chirp-typography-menu-heading-text-case
),
'menu-sub-heading': (
'font-family': $chirp-typography-menu-sub-heading-font-family,
'font-weight': $chirp-typography-menu-sub-heading-font-weight,
'font-size': $chirp-typography-menu-sub-heading-font-size,
'letter-spacing': $chirp-typography-menu-sub-heading-letter-spacing,
'text-decoration': $chirp-typography-menu-sub-heading-text-decoration,
'text-case': $chirp-typography-menu-sub-heading-text-case,
'line-height': $chirp-typography-menu-sub-heading-line-height
),
'menu-text': (
'font-family': $chirp-typography-menu-text-font-family,
'font-weight': $chirp-typography-menu-text-font-weight,
'font-size': $chirp-typography-menu-text-font-size,
'letter-spacing': $chirp-typography-menu-text-letter-spacing,
'text-decoration': $chirp-typography-menu-text-text-decoration,
'text-case': $chirp-typography-menu-text-text-case,
'line-height': $chirp-typography-menu-text-line-height
),
'utility': (
'font-family': $chirp-typography-utility-font-family,
'font-weight': $chirp-typography-utility-font-weight,
'line-height': $chirp-typography-utility-line-height,
'font-size': $chirp-typography-utility-font-size,
'letter-spacing': $chirp-typography-utility-letter-spacing,
'text-decoration': $chirp-typography-utility-text-decoration,
'text-case': $chirp-typography-utility-text-case
),
'utility-small': (
'font-family': $chirp-typography-utility-small-font-family,
'font-weight': $chirp-typography-utility-small-font-weight,
'line-height': $chirp-typography-utility-small-line-height,
'font-size': $chirp-typography-utility-small-font-size,
'letter-spacing': $chirp-typography-utility-small-letter-spacing,
'text-decoration': $chirp-typography-utility-small-text-decoration,
'text-case': $chirp-typography-utility-small-text-case
),
'price-small': (
'font-family': $chirp-typography-price-small-font-family,
'font-weight': $chirp-typography-price-small-font-weight,
'line-height': $chirp-typography-price-small-line-height,
'font-size': $chirp-typography-price-small-font-size,
'letter-spacing': $chirp-typography-price-small-letter-spacing,
'text-decoration': $chirp-typography-price-small-text-decoration,
'text-case': $chirp-typography-price-small-text-case
),
'price-medium': (
'font-family': $chirp-typography-price-medium-font-family,
'font-weight': $chirp-typography-price-medium-font-weight,
'line-height': $chirp-typography-price-medium-line-height,
'font-size': $chirp-typography-price-medium-font-size,
'letter-spacing': $chirp-typography-price-medium-letter-spacing,
'text-decoration': $chirp-typography-price-medium-text-decoration,
'text-case': $chirp-typography-price-medium-text-case
),
'price-large': (
'font-family': $chirp-typography-price-large-font-family,
'font-weight': $chirp-typography-price-large-font-weight,
'line-height': $chirp-typography-price-large-line-height,
'font-size': $chirp-typography-price-large-font-size,
'letter-spacing': $chirp-typography-price-large-letter-spacing,
'text-decoration': $chirp-typography-price-large-text-decoration,
'text-case': $chirp-typography-price-large-text-case
),
'price-x-large': (
'font-family': $chirp-typography-price-x-large-font-family,
'font-weight': $chirp-typography-price-x-large-font-weight,
'line-height': $chirp-typography-price-x-large-line-height,
'font-size': $chirp-typography-price-x-large-font-size,
'letter-spacing': $chirp-typography-price-x-large-letter-spacing,
'text-decoration': $chirp-typography-price-x-large-text-decoration,
'text-case': $chirp-typography-price-x-large-text-case
),
'price-x-small-strikethrough': (
'font-family': $chirp-typography-price-x-small-strikethrough-font-family,
'font-weight': $chirp-typography-price-x-small-strikethrough-font-weight,
'line-height': $chirp-typography-price-x-small-strikethrough-line-height,
'font-size': $chirp-typography-price-x-small-strikethrough-font-size,
'letter-spacing': $chirp-typography-price-x-small-strikethrough-letter-spacing,
'text-decoration': $chirp-typography-price-x-small-strikethrough-text-decoration,
'text-case': $chirp-typography-price-x-small-strikethrough-text-case
),
'price-xx-small-strikethrough': (
'font-family': $chirp-typography-price-xx-small-strikethrough-font-family,
'font-weight': $chirp-typography-price-xx-small-strikethrough-font-weight,
'line-height': $chirp-typography-price-xx-small-strikethrough-line-height,
'font-size': $chirp-typography-price-xx-small-strikethrough-font-size,
'letter-spacing': $chirp-typography-price-xx-small-strikethrough-letter-spacing,
'text-decoration': $chirp-typography-price-xx-small-strikethrough-text-decoration,
'text-case': $chirp-typography-price-xx-small-strikethrough-text-case
),
'price-small-strikethrough': (
'font-family': $chirp-typography-price-small-strikethrough-font-family,
'font-weight': $chirp-typography-price-small-strikethrough-font-weight,
'line-height': $chirp-typography-price-small-strikethrough-line-height,
'font-size': $chirp-typography-price-small-strikethrough-font-size,
'letter-spacing': $chirp-typography-price-small-strikethrough-letter-spacing,
'text-decoration': $chirp-typography-price-small-strikethrough-text-decoration,
'text-case': $chirp-typography-price-small-strikethrough-text-case
),
'deprecated': (
'display-1': (
'font-family': $chirp-typography-deprecated-display-1-font-family,
'font-weight': $chirp-typography-deprecated-display-1-font-weight,
'line-height': $chirp-typography-deprecated-display-1-line-height,
'font-size': $chirp-typography-deprecated-display-1-font-size,
'letter-spacing': $chirp-typography-deprecated-display-1-letter-spacing,
'text-decoration': $chirp-typography-deprecated-display-1-text-decoration,
'text-case': $chirp-typography-deprecated-display-1-text-case
),
'display-2': (
'font-family': $chirp-typography-deprecated-display-2-font-family,
'font-weight': $chirp-typography-deprecated-display-2-font-weight,
'line-height': $chirp-typography-deprecated-display-2-line-height,
'font-size': $chirp-typography-deprecated-display-2-font-size,
'letter-spacing': $chirp-typography-deprecated-display-2-letter-spacing,
'text-decoration': $chirp-typography-deprecated-display-2-text-decoration,
'text-case': $chirp-typography-deprecated-display-2-text-case
),
'display-3': (
'font-family': $chirp-typography-deprecated-display-3-font-family,
'font-weight': $chirp-typography-deprecated-display-3-font-weight,
'line-height': $chirp-typography-deprecated-display-3-line-height,
'font-size': $chirp-typography-deprecated-display-3-font-size,
'letter-spacing': $chirp-typography-deprecated-display-3-letter-spacing,
'text-decoration': $chirp-typography-deprecated-display-3-text-decoration,
'text-case': $chirp-typography-deprecated-display-3-text-case
),
'display-4': (
'font-family': $chirp-typography-deprecated-display-4-font-family,
'font-weight': $chirp-typography-deprecated-display-4-font-weight,
'line-height': $chirp-typography-deprecated-display-4-line-height,
'font-size': $chirp-typography-deprecated-display-4-font-size,
'letter-spacing': $chirp-typography-deprecated-display-4-letter-spacing,
'text-decoration': $chirp-typography-deprecated-display-4-text-decoration,
'text-case': $chirp-typography-deprecated-display-4-text-case
),
'display-5': (
'font-family': $chirp-typography-deprecated-display-5-font-family,
'font-weight': $chirp-typography-deprecated-display-5-font-weight,
'line-height': $chirp-typography-deprecated-display-5-line-height,
'font-size': $chirp-typography-deprecated-display-5-font-size,
'letter-spacing': $chirp-typography-deprecated-display-5-letter-spacing,
'text-decoration': $chirp-typography-deprecated-display-5-text-decoration,
'text-case': $chirp-typography-deprecated-display-5-text-case
),
'display-6': (
'font-family': $chirp-typography-deprecated-display-6-font-family,
'font-weight': $chirp-typography-deprecated-display-6-font-weight,
'line-height': $chirp-typography-deprecated-display-6-line-height,
'font-size': $chirp-typography-deprecated-display-6-font-size,
'letter-spacing': $chirp-typography-deprecated-display-6-letter-spacing,
'text-decoration': $chirp-typography-deprecated-display-6-text-decoration,
'text-case': $chirp-typography-deprecated-display-6-text-case
),
'section-1': (
'font-family': $chirp-typography-deprecated-section-1-font-family,
'font-weight': $chirp-typography-deprecated-section-1-font-weight,
'line-height': $chirp-typography-deprecated-section-1-line-height,
'font-size': $chirp-typography-deprecated-section-1-font-size,
'letter-spacing': $chirp-typography-deprecated-section-1-letter-spacing,
'text-decoration': $chirp-typography-deprecated-section-1-text-decoration,
'text-case': $chirp-typography-deprecated-section-1-text-case
),
'section-2': (
'font-family': $chirp-typography-deprecated-section-2-font-family,
'font-weight': $chirp-typography-deprecated-section-2-font-weight,
'line-height': $chirp-typography-deprecated-section-2-line-height,
'font-size': $chirp-typography-deprecated-section-2-font-size,
'letter-spacing': $chirp-typography-deprecated-section-2-letter-spacing,
'text-decoration': $chirp-typography-deprecated-section-2-text-decoration,
'text-case': $chirp-typography-deprecated-section-2-text-case
),
'paragraph-1': (
'font-family': $chirp-typography-deprecated-paragraph-1-font-family,
'font-weight': $chirp-typography-deprecated-paragraph-1-font-weight,
'line-height': $chirp-typography-deprecated-paragraph-1-line-height,
'font-size': $chirp-typography-deprecated-paragraph-1-font-size,
'letter-spacing': $chirp-typography-deprecated-paragraph-1-letter-spacing,
'text-decoration': $chirp-typography-deprecated-paragraph-1-text-decoration,
'text-case': $chirp-typography-deprecated-paragraph-1-text-case
),
'paragraph-2': (
'font-family': $chirp-typography-deprecated-paragraph-2-font-family,
'font-weight': $chirp-typography-deprecated-paragraph-2-font-weight,
'line-height': $chirp-typography-deprecated-paragraph-2-line-height,
'font-size': $chirp-typography-deprecated-paragraph-2-font-size,
'letter-spacing': $chirp-typography-deprecated-paragraph-2-letter-spacing,
'text-decoration': $chirp-typography-deprecated-paragraph-2-text-decoration,
'text-case': $chirp-typography-deprecated-paragraph-2-text-case
),
'caption': (
'font-family': $chirp-typography-deprecated-caption-font-family,
'font-weight': $chirp-typography-deprecated-caption-font-weight,
'line-height': $chirp-typography-deprecated-caption-line-height,
'font-size': $chirp-typography-deprecated-caption-font-size,
'letter-spacing': $chirp-typography-deprecated-caption-letter-spacing,
'text-decoration': $chirp-typography-deprecated-caption-text-decoration,
'text-case': $chirp-typography-deprecated-caption-text-case
),
'button': (
'font-family': $chirp-typography-deprecated-button-font-family,
'font-weight': $chirp-typography-deprecated-button-font-weight,
'line-height': $chirp-typography-deprecated-button-line-height,
'font-size': $chirp-typography-deprecated-button-font-size,
'letter-spacing': $chirp-typography-deprecated-button-letter-spacing,
'text-decoration': $chirp-typography-deprecated-button-text-decoration,
'text-case': $chirp-typography-deprecated-button-text-case
),
'overline': (
'font-family': $chirp-typography-deprecated-overline-font-family,
'font-weight': $chirp-typography-deprecated-overline-font-weight,
'line-height': $chirp-typography-deprecated-overline-line-height,
'font-size': $chirp-typography-deprecated-overline-font-size,
'letter-spacing': $chirp-typography-deprecated-overline-letter-spacing,
'text-decoration': $chirp-typography-deprecated-overline-text-decoration,
'text-case': $chirp-typography-deprecated-overline-text-case
),
'hero-1': (
'font-family': $chirp-typography-deprecated-hero-1-font-family,
'font-weight': $chirp-typography-deprecated-hero-1-font-weight,
'line-height': $chirp-typography-deprecated-hero-1-line-height,
'font-size': $chirp-typography-deprecated-hero-1-font-size,
'letter-spacing': $chirp-typography-deprecated-hero-1-letter-spacing,
'text-decoration': $chirp-typography-deprecated-hero-1-text-decoration,
'text-case': $chirp-typography-deprecated-hero-1-text-case
),
'hero-2': (
'font-family': $chirp-typography-deprecated-hero-2-font-family,
'font-weight': $chirp-typography-deprecated-hero-2-font-weight,
'line-height': $chirp-typography-deprecated-hero-2-line-height,
'font-size': $chirp-typography-deprecated-hero-2-font-size,
'letter-spacing': $chirp-typography-deprecated-hero-2-letter-spacing,
'text-decoration': $chirp-typography-deprecated-hero-2-text-decoration,
'text-case': $chirp-typography-deprecated-hero-2-text-case
),
'hero-3': (
'font-family': $chirp-typography-deprecated-hero-3-font-family,
'font-weight': $chirp-typography-deprecated-hero-3-font-weight,
'line-height': $chirp-typography-deprecated-hero-3-line-height,
'font-size': $chirp-typography-deprecated-hero-3-font-size,
'letter-spacing': $chirp-typography-deprecated-hero-3-letter-spacing,
'text-decoration': $chirp-typography-deprecated-hero-3-text-decoration,
'text-case': $chirp-typography-deprecated-hero-3-text-case
),
'hero-4': (
'font-family': $chirp-typography-deprecated-hero-4-font-family,
'font-weight': $chirp-typography-deprecated-hero-4-font-weight,
'line-height': $chirp-typography-deprecated-hero-4-line-height,
'font-size': $chirp-typography-deprecated-hero-4-font-size,
'letter-spacing': $chirp-typography-deprecated-hero-4-letter-spacing,
'text-decoration': $chirp-typography-deprecated-hero-4-text-decoration,
'text-case': $chirp-typography-deprecated-hero-4-text-case
),
'hero-1-alternate': (
'font-family': $chirp-typography-deprecated-hero-1-alternate-font-family,
'font-weight': $chirp-typography-deprecated-hero-1-alternate-font-weight,
'line-height': $chirp-typography-deprecated-hero-1-alternate-line-height,
'font-size': $chirp-typography-deprecated-hero-1-alternate-font-size,
'letter-spacing': $chirp-typography-deprecated-hero-1-alternate-letter-spacing,
'text-decoration': $chirp-typography-deprecated-hero-1-alternate-text-decoration,
'text-case': $chirp-typography-deprecated-hero-1-alternate-text-case
),
'hero-2-alternate': (
'font-family': $chirp-typography-deprecated-hero-2-alternate-font-family,
'font-weight': $chirp-typography-deprecated-hero-2-alternate-font-weight,
'line-height': $chirp-typography-deprecated-hero-2-alternate-line-height,
'font-size': $chirp-typography-deprecated-hero-2-alternate-font-size,
'letter-spacing': $chirp-typography-deprecated-hero-2-alternate-letter-spacing,
'text-decoration': $chirp-typography-deprecated-hero-2-alternate-text-decoration,
'text-case': $chirp-typography-deprecated-hero-2-alternate-text-case
),
'hero-3-alternate': (
'font-family': $chirp-typography-deprecated-hero-3-alternate-font-family,
'font-weight': $chirp-typography-deprecated-hero-3-alternate-font-weight,
'line-height': $chirp-typography-deprecated-hero-3-alternate-line-height,
'font-size': $chirp-typography-deprecated-hero-3-alternate-font-size,
'letter-spacing': $chirp-typography-deprecated-hero-3-alternate-letter-spacing,
'text-decoration': $chirp-typography-deprecated-hero-3-alternate-text-decoration,
'text-case': $chirp-typography-deprecated-hero-3-alternate-text-case
),
'hero-4-alternate': (
'font-family': $chirp-typography-deprecated-hero-4-alternate-font-family,
'font-weight': $chirp-typography-deprecated-hero-4-alternate-font-weight,
'line-height': $chirp-typography-deprecated-hero-4-alternate-line-height,
'font-size': $chirp-typography-deprecated-hero-4-alternate-font-size,
'letter-spacing': $chirp-typography-deprecated-hero-4-alternate-letter-spacing,
'text-decoration': $chirp-typography-deprecated-hero-4-alternate-text-decoration,
'text-case': $chirp-typography-deprecated-hero-4-alternate-text-case
)
)
);Modified 'scss/map-deep' template to output custom properties for properties that have references
@function whole-pixel($factor, $base) { ... }Calculate a factor that results in whole pixel units when compared a base pixel value.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$factor | The factor to compare for whole pixel-iness. | Number(unitless) | — none |
$base | A base value to check | $base(px) | — none |
Number(unitless)strip-unit@function strip-unit($number) { ... }Remove the unit of a length
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$number | Number to remove unit from | Number | — none |
Number —Unitless number
whole-pixel@function px-to-relative($px, $base: $kib-core-root-font-size, $inline: false) { ... }Convert a number using pixel units to a comparable relative unit value.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$px | — none | Number(px) | — none |
$base | — none | Number(px) | $kib-core-root-font-size |
$inline | — none | Boolean | false |
Number(rem or Em)getgetbreakpoints-convertbreakpoints-convertbreakpoints-setbreakpoints-setget-type-propertyadd-block-marginsadd-block-marginssize-inline-elementsize-block-elementsize-block-elementsize-block-elementsize-block-element@function encode-color($color) { ... }Replace the # in a color with its encoding, %23.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$color | — none | Color(hex) | — none |
Colorcolor@function str-replace($string, $search, $replace) { ... }Replace instances of a substring
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$string | The source string to search within | String | — none |
$search | The substring to search for in | String | — none |
$replace | Replace instances of | String | — none |
String —Returns a modified version of $string that has instances of $search replaced with $replace
svg-encode@function svg-encode($svg) { ... }Encode an inline SVG element so that it works with legacy browsers.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$svg | An inline SVG string | String | — none |
String —An encoded version of $svg
str-replace@function svg-base64-encode($svg) { ... }Encode an inline base64 SVG element so that it works with legacy browsers.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$svg | An inline SVG string | String | — none |
String —An encoded version of $svg
@function map-deep-get($map, $keys...) { ... }Map deep get
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$map | Map | Map | — none |
$keys | Key chain | Arglist | — none |
Desired value
getHugo Giraudel
@function map-deep-set($map, $keys, $value) { ... }Deep set function to set a value in nested maps
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$map | Map | Map | — none |
$keys | Key chaine | List | — none |
$value | Value to assign | Any | — none |
MapKey #{$current-key} doesn
getHugo Giraudel
@function get-type-size($definition) { ... }Get a type size definition from $kib-type-sizes.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$definition | The name of the definition to get. | String | — none |
Map or Null —If the definition is defined, the a definition map will be returned. If the definition does not exist, a warning will be emitted along with a null value.
get-type-propertytype-line-heighttype-baseline-distancetype-block-space-bottomtype-block-adjust-topsize-inline-elementsize-inline-elementsize-block-element@function get-type-property($definition, $property, $options: ()) { ... }Get the property from a type size definition.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$definition | Name of a type size definition. | String | — none |
$property | Name of a property within the type size definition. | String | — none |
$options | Options to pass to the function. A map (default) will add options to the kib-core-px-to-relative function. Allowed keys are base, which takes a pixel value, and inline, which takes a boolean value. | Map or String | () |
Number(px) or Number(rem) or Null$map: (
base: 16px,
inline: true
);
Passing a string value of `px` will return px units.get-type-sizegetgetpx-to-relativeadd-block-margins@function type-line-height($definition) { ... }Calculate line height of a type size definition.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$definition | Name of a type size definition. | String | — none |
get-type-sizegetgettype-whole-pixel-factorheightheightsize-inline-elementsize-block-elementsize-block-element@function type-baseline-distance($definition) { ... }Calculte the distance to the baseline of a text definition.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$definition | The name of the text size definition to process. | String | — none |
get-type-sizegetgetheightheighttype-block-space-bottomtype-block-adjust-top@function type-block-space-bottom($definition) { ... }Calculate spacing below a block element of a text size.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$definition | The name of the text size definition to process. | String | — none |
Number(px)get-type-sizegetgettype-baseline-distancetype-block-adjust-topheightheightadd-block-marginssize-block-element@function type-block-adjust-top($definition) { ... }Calculate spacing above a block element of a text size.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$definition | The name of the text size definition to process. | String | — none |
Number(px)get-type-sizegettype-baseline-distanceheightheighttype-block-space-bottomadd-block-marginssize-block-element@function type-whole-pixel-factor($factor, $base) { ... }Calculate a factor that results in whole pixel units when compared a base pixel value.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$factor | The factor to compare for whole pixel-iness. | Number(unitless) | — none |
$base | A base value to check the | $base(px) | — none |
Number(unitless)type-strip-unittype-line-height@function type-strip-unit($number) { ... }Remove the unit of a length
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$number | Number to remove unit from | Number | — none |
Number —Unitless number
type-whole-pixel-factor@mixin add-block-margins($definition) { ... }Add margins to a block style element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$definition | The name of the definition to create margins for. | String | — none |
get-type-propertypx-to-relativetype-block-adjust-toppx-to-relativetype-block-space-bottom@mixin size-inline-element($definition) { ... }Generate styles for an inline element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$definition | — none | String | — none |
get-type-sizepx-to-relativegetgetget-type-sizetype-line-height@mixin size-block-element($definition) { ... }Generate styles for a block element.
| parameter Name | parameter Description | parameter Type | parameter Default value |
|---|---|---|---|
$definition | — none | String | — none |
get-type-sizegetgetpx-to-relativetype-line-heightpx-to-relativetype-block-adjust-toppx-to-relativetype-block-space-bottompx-to-relativetype-line-heightheight$sizes: (
epic: (
size: $kib-type-sizes-epic-size,
height: $kib-type-sizes-epic-height,
lead: $kib-type-sizes-epic-lead
),
huge: (
size: $kib-type-sizes-huge-size,
height: $kib-type-sizes-huge-height,
lead: $kib-type-sizes-huge-lead
),
giant: (
size: $kib-type-sizes-giant-size,
height: $kib-type-sizes-giant-height,
lead: $kib-type-sizes-giant-lead
),
large: (
size: $kib-type-sizes-large-size,
height: $kib-type-sizes-large-height,
lead: $kib-type-sizes-large-lead
),
medium: (
size: $kib-type-sizes-medium-size,
height: $kib-type-sizes-medium-height,
lead: $kib-type-sizes-medium-lead
),
base: (
size: $kib-type-sizes-base-size,
height: $kib-type-sizes-base-height,
lead: $kib-type-sizes-base-lead
),
small: (
size: $kib-type-sizes-small-size,
height: $kib-type-sizes-small-height,
lead: $kib-type-sizes-small-lead
),
tiny: (
size: $kib-type-sizes-tiny-size,
height: $kib-type-sizes-tiny-height,
lead: $kib-type-sizes-tiny-lead
),
micro: (
size: $kib-type-sizes-micro-size,
height: $kib-type-sizes-micro-height,
lead: $kib-type-sizes-micro-lead
)
) !default;Font size and spacing definitions.
| key Name | key Description | key Type | key Value |
|---|---|---|---|
base | Base size definition for the document. | Map | — none |
base.size | — none | Number(px) | — none |
base.height | — none | Number(px) | — none |
base.lead | — none | Number(px) | — none |
$weights: (
light: $kib-type-weights-light,
regular: $kib-type-weights-regular,
medium: $kib-type-weights-medium,
bold: $kib-type-weights-bold
) !default;Define available font-weight values.
{map}
| {Map} key Name | {Map} key Description | {Map} key Type | {Map} key Value |
|---|---|---|---|
light | — none | Number | — none |
regular | — none | Number | — none |
medium | — none | Number | — none |
bold | — none | Number | — none |
@mixin base-styles() { ... }Generate base styles for zoom image
None.
@mixin lens() { ... }Styles for zoom image lens
None.
zoom-image-lens-border-sizezoom-image-lens-borderzoom-image-lens-blurzoom-image-lens-bgcolorzoom-image-lens-bgcolor@mixin normal-image() { ... }Styles for zoom image normal
None.
@mixin loader() { ... }Styles for zoom image loader
None.
zoom-image-loader-border-color@mixin container() { ... }Styles for zoom image container
None.
zoom-image-container-spacing@mixin wrapper() { ... }Styles for zoom image wrapper
None.
@mixin window() { ... }Styles for zoom image window
None.
zoom-image-window-background-colorzoom-image-container-widthzoom-image-container-height@mixin image() { ... }Styles for zoom image's image
None.
@mixin transition-lens() { ... }Transition styles for zoom image lens
None.
@mixin transition-image() { ... }Transition styles for zoom image
None.
$zoom-image-lens-border: #aaa !default;border color of zoom image lens
Color
lens$zoom-image-lens-blur: kib-core-px-to-relative(5px) !default;Blur dimension of zoom image lens
Number
lens$zoom-image-lens-bgcolor: kib-core-theme-get('fair') !default;background color of zoom image lens
Color
$zoom-image-lens-border-size: kib-core-px-to-relative(1px) !default;border width of zoom image lens
Number
lens$zoom-image-container-width: kib-core-px-to-relative(704px) !default;width of zoom image container
Number
window$zoom-image-container-height: kib-core-px-to-relative(500px) !default;height of zoom image container
Number
window$zoom-image-container-spacing: kib-core-px-to-relative(20px) !default;spacing of the zoom image container
Number
container$zoom-image-loader-border-color: kib-core-theme-get('fair') !default;border loader color of zoom image
Color
loader$zoom-image-window-background-color: kib-core-theme-get('fair') !default;background color of zoom image window
Color
window@mixin base-styles() { ... }Generate base styles for zoom pinch.
None.
@mixin wrapper-styles() { ... }Styles for zoom pinch wrapper
None.
$padding: 0 !default;Default padding
Number
$margin: 0 !default;Default margin
Number
base-styles