Design System - Global Variables
Configure the global CSS Variables of the design system to instantly change the look and feel of your application.
All of Inkline’s Global CSS Variables propagate throughout the application and are used for design elements such as spacing, border, colors, and typography.
Basic Example
As seen in the Design System Overview, our CSS Variables will live inside the src/main.scss file.
Here’s an example of how it could look like:
@import '@inkline/inkline/css/variables';
@import '@inkline/inkline/css/mixins';
:root {
--padding-top: 1rem;
--padding-right: 1rem;
--padding-bottom: 1rem;
--padding-left: 1rem;
}
CSS Variables
The Global CSS Variables are prefixed with --, live under the :root selector, and provide inter-connected values that affect the overall design of the application.
Here are all the Global CSS Variables that you can configure:
Animation
- Property
--transition-durationValue300msDescription The transition duration part of the design system transition - Property
--transition-easingValueeaseDescription The transition duration part of the design system easing
Border
- Property
--border-styleValuesolidDescription The border-style part of the design system border - Property
--border-top-widthValue1pxDescription The border-top-width part of the design system border-width - Property
--border-right-widthValue1pxDescription The border-right-width part of the design system border-width - Property
--border-bottom-widthValue1pxDescription The border-bottom-width part of the design system border-width - Property
--border-left-widthValue1pxDescription The border-left-width part of the design system border-width - Property
--border-widthValuevar(--border-top-width) var(--border-right-width) var(--border-bottom-width) var(--border-left-width)Description The composed border-width of the design system - Property
--border-color--lightValuevar(--color--gray-30)Description The light mode border-color of the design system border - Property
--border-color--darkValuevar(--color--gray-70)Description The dark mode border-color of the design system border - Property
--border-colorValuevar(--border-color--light)Description The border-color of the design system border. Changes based on selected color mode. - Property
--border-top-left-radiusValue0.25remDescription The border-top-left-radius of the design system border-radius - Property
--border-top-right-radiusValue0.25remDescription The border-top-right-radius of the design system border-radius - Property
--border-bottom-right-radiusValue0.25remDescription The border-bottom-right-radius of the design system border-radius - Property
--border-bottom-left-radiusValue0.25remDescription The border-bottom-left-radius of the design system border-radius - Property
--border-radiusValuevar(--border-top-left-radius) var(--border-top-right-radius) var(--border-bottom-right-radius) var(--border-bottom-left-radius)Description The composed border-radius of the design system
Box Shadow
- Property
--box-shadow-offset-xValue0Description The box-shadow-offset-x part of the design system box-shadow - Property
--box-shadow-offset-yValue0.5remDescription The box-shadow-offset-y part of the design system box-shadow - Property
--box-shadow-blur-radiusValue1remDescription The box-shadow-blur-radius part of the design system box-shadow - Property
--box-shadow-spread-radiusValue-0.75remDescription The box-shadow-spread-radius part of the design system box-shadow - Property
--box-shadow-colorValuergba(0, 0, 0, 0.15)Description The box-shadow-color part of the design system box-shadow - Property
--box-shadow-colorValuevar(--box-shadow-offset-x) var(--box-shadow-offset-y) var(--box-shadow-blur-radius) var(--box-shadow-spread-radius) var(--box-shadow-color)Description The composed box-shadow of the design system
Breakpoints
- Property
$breakpoints-xsValue0Description The starting breakpoint for the extra-small screen size - Property
$breakpoints-smValue576pxDescription The starting breakpoint for the small screen size - Property
$breakpoints-mdValue768pxDescription The starting breakpoint for the medium screen size - Property
$breakpoints-lgValue992pxDescription The starting breakpoint for the large screen size - Property
$breakpoints-xlValue1200pxDescription The starting breakpoint for the extra-large screen size - Property
$breakpoints-xxlValue1400pxDescription The starting breakpoint for the extra-extra-large screen size - Property
$breakpointsValue( 'xs': $breakpoints-xs, 'sm': $breakpoints-sm, 'md': $breakpoints-md, 'lg': $breakpoints-lg, 'xl': $breakpoints-xl, 'xxl': $breakpoints-xxl )Description The breakpoints map used for media queries - Property
$breakpoint-keysValue('xs', 'sm', 'md', 'lg', 'xl', 'xxl')Description The list of breakpoint keys used for media queries - Property
$breakpoint-prefix-keysValuelist.append($breakpoint-keys, '_')Description The list of breakpoint keys used for media queries with "_" appended to it. The "_" key is used to skip wrapping the code in a media query.
Colors
- Property
--color--primary--hValue195.0967741935degDescription The hue part of the design system primary color - Property
--color--primary--sValue77.1144278607%Description The saturation part of the design system primary color - Property
--color--primary--lValue39.4117647059%Description The lightness part of the design system primary color - Property
--color--primaryValuehsl(var(--color--primary--h), var(--color--primary--s), var(--color--primary--l))Description The computed primary color of the design system - Property
--color--secondary--hValue262.2857142857degDescription The hue part of the design system secondary color - Property
--color--secondary--sValue30.1724137931%Description The saturation part of the design system secondary color - Property
--color--secondary--lValue54.5098039216%Description The lightness part of the design system secondary color - Property
--color--secondaryValuehsl(var(--color--secondary--h), var(--color--secondary--s), var(--color--secondary--l))Description The computed secondary color of the design system - Property
--color--info--hValue173.8888888889degDescription The hue part of the design system info color - Property
--color--info--sValue42.8571428571%Description The saturation part of the design system info color - Property
--color--info--lValue49.4117647059%Description The lightness part of the design system info color - Property
--color--infoValuehsl(var(--color--info--h), var(--color--info--s), var(--color--info--l))Description The computed info color of the design system - Property
--color--warning--hValue43.6764705882degDescription The hue part of the design system warning color - Property
--color--warning--sValue100%Description The saturation part of the design system warning color - Property
--color--warning--lValue73.3333333333%Description The lightness part of the design system warning color - Property
--color--warningValuehsl(var(--color--warning--h), var(--color--warning--s), var(--color--warning--l))Description The computed warning color of the design system - Property
--color--danger--hValue1.3259668508degDescription The hue part of the design system danger color - Property
--color--danger--sValue87.4396135266%Description The saturation part of the design system danger color - Property
--color--danger--lValue59.4117647059%Description The lightness part of the design system danger color - Property
--color--dangerValuehsl(var(--color--danger--h), var(--color--danger--s), var(--color--danger--l))Description The computed danger color of the design system - Property
--color--success--hValue154.4186046512degDescription The hue part of the design system success color - Property
--color--success--sValue57.8475336323%Description The saturation part of the design system success color - Property
--color--success--lValue43.7254901961%Description The lightness part of the design system success color - Property
--color--successValuehsl(var(--color--success--h), var(--color--success--s), var(--color--success--l))Description The computed success color of the design system - Property
--color--red--hValue1.3259668508degDescription The hue part of the design system red color - Property
--color--red--sValue87.4396135266%Description The saturation part of the design system red color - Property
--color--red--lValue59.4117647059%Description The lightness part of the design system red color - Property
--color--redValuehsl(var(--color--red--h), var(--color--red--s), var(--color--red--l))Description The computed red color of the design system - Property
--color--orange--hValue19.6226415094degDescription The hue part of the design system orange color - Property
--color--orange--sValue92.9824561404%Description The saturation part of the design system orange color - Property
--color--orange--lValue66.4705882353%Description The lightness part of the design system orange color - Property
--color--orangeValuehsl(var(--color--orange--h), var(--color--orange--s), var(--color--orange--l))Description The computed orange color of the design system - Property
--color--yellow--hValue43.6764705882degDescription The hue part of the design system yellow color - Property
--color--yellow--sValue100%Description The saturation part of the design system yellow color - Property
--color--yellow--lValue73.3333333333%Description The lightness part of the design system yellow color - Property
--color--yellowValuehsl(var(--color--yellow--h), var(--color--yellow--s), var(--color--yellow--l))Description The computed yellow color of the design system - Property
--color--green--hValue154.4186046512degDescription The hue part of the design system green color - Property
--color--green--sValue57.8475336323%Description The saturation part of the design system green color - Property
--color--green--lValue43.7254901961%Description The lightness part of the design system green color - Property
--color--greenValuehsl(var(--color--green--h), var(--color--green--s), var(--color--green--l))Description The computed green color of the design system - Property
--color--teal--hValue173.8888888889degDescription The hue part of the design system teal color - Property
--color--teal--sValue42.8571428571%Description The saturation part of the design system teal color - Property
--color--teal--lValue49.4117647059%Description The lightness part of the design system teal color - Property
--color--tealValuehsl(var(--color--teal--h), var(--color--teal--s), var(--color--teal--l))Description The computed teal color of the design system - Property
--color--blue--hValue195.0967741935degDescription The hue part of the design system blue color - Property
--color--blue--sValue77.1144278607%Description The saturation part of the design system blue color - Property
--color--blue--lValue39.4117647059%Description The lightness part of the design system blue color - Property
--color--blueValuehsl(var(--color--blue--h), var(--color--blue--s), var(--color--blue--l))Description The computed blue color of the design system - Property
--color--purple--hValue262.2857142857degDescription The hue part of the design system purple color - Property
--color--purple--sValue30.1724137931%Description The saturation part of the design system purple color - Property
--color--purple--lValue54.5098039216%Description The lightness part of the design system purple color - Property
--color--purpleValuehsl(var(--color--purple--h), var(--color--purple--s), var(--color--purple--l))Description The computed purple color of the design system - Property
--color--pink--hValue351.4285714286degDescription The hue part of the design system pink color - Property
--color--pink--sValue95.6834532374%Description The saturation part of the design system pink color - Property
--color--pink--lValue72.7450980392%Description The lightness part of the design system pink color - Property
--color--pinkValuehsl(var(--color--pink--h), var(--color--pink--s), var(--color--pink--l))Description The computed pink color of the design system - Property
--color--transparent--hValue0degDescription The hue part of the design system transparent color - Property
--color--transparent--sValue0%Description The saturation part of the design system transparent color - Property
--color--transparent--lValue0%Description The lightness part of the design system transparent color - Property
--color--transparentValuehsl(var(--color--transparent--h), var(--color--transparent--s), var(--color--transparent--l))Description The computed transparent color of the design system - Property
--color--white--hValue0degDescription The hue part of the design system white color - Property
--color--white--sValue0%Description The saturation part of the design system white color - Property
--color--white--lValue100%Description The lightness part of the design system white color - Property
--color--whiteValuehsl(var(--color--white--h), var(--color--white--s), var(--color--white--l))Description The computed white color of the design system - Property
--color--black--hValue0degDescription The hue part of the design system black color - Property
--color--black--sValue0%Description The saturation part of the design system black color - Property
--color--black--lValue0%Description The lightness part of the design system black color - Property
--color--blackValuehsl(var(--color--black--h), var(--color--black--s), var(--color--black--l))Description The computed black color of the design system - Property
--color--gray--hValue193.6363636364degDescription The hue part of the design system gray color - Property
--color--gray--sValue10.7843137255%Description The saturation part of the design system gray color - Property
--color--gray--lValue60%Description The lightness part of the design system gray color - Property
--color--grayValuehsl(var(--color--gray--h), var(--color--gray--s), var(--color--gray--l))Description The computed gray color of the design system - Property
--color--light--hValue193.6363636364degDescription The hue part of the design system light color - Property
--color--light--sValue10.7843137255%Description The saturation part of the design system light color - Property
--color--light--lValue88%Description The lightness part of the design system light color - Property
--color--lightValuehsl(var(--color--light--h), var(--color--light--s), var(--color--light--l))Description The computed light color of the design system - Property
--color--dark--hValue193.6363636364degDescription The hue part of the design system dark color - Property
--color--dark--sValue4.3137254902%Description The saturation part of the design system dark color - Property
--color--dark--lValue24%Description The lightness part of the design system dark color - Property
--color--darkValuehsl(var(--color--dark--h), var(--color--dark--s), var(--color--dark--l))Description The computed dark color of the design system - Property
--color--facebook--hValue220.6451612903degDescription The hue part of the design system facebook color - Property
--color--facebook--sValue44.0758293839%Description The saturation part of the design system facebook color - Property
--color--facebook--lValue41.3725490196%Description The lightness part of the design system facebook color - Property
--color--facebookValuehsl(var(--color--facebook--h), var(--color--facebook--s), var(--color--facebook--l))Description The computed facebook color of the design system - Property
--color--twitter--hValue202.8169014085degDescription The hue part of the design system twitter color - Property
--color--twitter--sValue89.1213389121%Description The saturation part of the design system twitter color - Property
--color--twitter--lValue53.137254902%Description The lightness part of the design system twitter color - Property
--color--twitterValuehsl(var(--color--twitter--h), var(--color--twitter--s), var(--color--twitter--l))Description The computed twitter color of the design system - Property
--color--google--hValue6.5853658537degDescription The hue part of the design system google color - Property
--color--google--sValue70.6896551724%Description The saturation part of the design system google color - Property
--color--google--lValue54.5098039216%Description The lightness part of the design system google color - Property
--color--googleValuehsl(var(--color--google--h), var(--color--google--s), var(--color--google--l))Description The computed google color of the design system - Property
--color--github--hValue0degDescription The hue part of the design system github color - Property
--color--github--sValue0%Description The saturation part of the design system github color - Property
--color--github--lValue20%Description The lightness part of the design system github color - Property
--color--githubValuehsl(var(--color--github--h), var(--color--github--s), var(--color--github--l))Description The computed github color of the design system - Property
--color--instagram--hValue0degDescription The hue part of the design system instagram color - Property
--color--instagram--sValue98.2456140351%Description The saturation part of the design system instagram color - Property
--color--instagram--lValue55.2941176471%Description The lightness part of the design system instagram color - Property
--color--instagramValuehsl(var(--color--instagram--h), var(--color--instagram--s), var(--color--instagram--l))Description The computed instagram color of the design system - Property
--color--dribbble--hValue336.835443038degDescription The hue part of the design system dribbble color - Property
--color--dribbble--sValue79%Description The saturation part of the design system dribbble color - Property
--color--dribbble--lValue60.7843137255%Description The lightness part of the design system dribbble color - Property
--color--dribbbleValuehsl(var(--color--dribbble--h), var(--color--dribbble--s), var(--color--dribbble--l))Description The computed dribbble color of the design system - Property
--color--behance--hValue218.7931034483degDescription The hue part of the design system behance color - Property
--color--behance--sValue100%Description The saturation part of the design system behance color - Property
--color--behance--lValue54.5098039216%Description The lightness part of the design system behance color - Property
--color--behanceValuehsl(var(--color--behance--h), var(--color--behance--s), var(--color--behance--l))Description The computed behance color of the design system - Property
--color--flickr--hValue328.9411764706degDescription The hue part of the design system flickr color - Property
--color--flickr--sValue100%Description The saturation part of the design system flickr color - Property
--color--flickr--lValue50%Description The lightness part of the design system flickr color - Property
--color--flickrValuehsl(var(--color--flickr--h), var(--color--flickr--s), var(--color--flickr--l))Description The computed flickr color of the design system - Property
--color--linkedin--hValue200.5524861878degDescription The hue part of the design system linkedin color - Property
--color--linkedin--sValue100%Description The saturation part of the design system linkedin color - Property
--color--linkedin--lValue35.4901960784%Description The lightness part of the design system linkedin color - Property
--color--linkedinValuehsl(var(--color--linkedin--h), var(--color--linkedin--s), var(--color--linkedin--l))Description The computed linkedin color of the design system - Property
--color--youtube--hValue358.1366459627degDescription The hue part of the design system youtube color - Property
--color--youtube--sValue81.7258883249%Description The saturation part of the design system youtube color - Property
--color--youtube--lValue38.6274509804%Description The lightness part of the design system youtube color - Property
--color--youtubeValuehsl(var(--color--youtube--h), var(--color--youtube--s), var(--color--youtube--l))Description The computed youtube color of the design system - Property
--color--pinterest--hValue353.3701657459degDescription The hue part of the design system pinterest color - Property
--color--pinterest--sValue91.8781725888%Description The saturation part of the design system pinterest color - Property
--color--pinterest--lValue38.6274509804%Description The lightness part of the design system pinterest color - Property
--color--pinterestValuehsl(var(--color--pinterest--h), var(--color--pinterest--s), var(--color--pinterest--l))Description The computed pinterest color of the design system - Property
--color--gitlab--hValue17.9695431472degDescription The hue part of the design system gitlab color - Property
--color--gitlab--sValue95.1690821256%Description The saturation part of the design system gitlab color - Property
--color--gitlab--lValue59.4117647059%Description The lightness part of the design system gitlab color - Property
--color--gitlabValuehsl(var(--color--gitlab--h), var(--color--gitlab--s), var(--color--gitlab--l))Description The computed gitlab color of the design system - Property
--color--tumblr--hValue213.8461538462degDescription The hue part of the design system tumblr color - Property
--color--tumblr--sValue26.8965517241%Description The saturation part of the design system tumblr color - Property
--color--tumblr--lValue28.431372549%Description The lightness part of the design system tumblr color - Property
--color--tumblrValuehsl(var(--color--tumblr--h), var(--color--tumblr--s), var(--color--tumblr--l))Description The computed tumblr color of the design system - Property
--color--twitch--hValue261degDescription The hue part of the design system twitch color - Property
--color--twitch--sValue43.4782608696%Description The saturation part of the design system twitch color - Property
--color--twitch--lValue45.0980392157%Description The lightness part of the design system twitch color - Property
--color--twitchValuehsl(var(--color--twitch--h), var(--color--twitch--s), var(--color--twitch--l))Description The computed twitch color of the design system - Property
--color--envato--hValue86.3793103448degDescription The hue part of the design system envato color - Property
--color--envato--sValue47.1544715447%Description The saturation part of the design system envato color - Property
--color--envato--lValue48.2352941176%Description The lightness part of the design system envato color - Property
--color--envatoValuehsl(var(--color--envato--h), var(--color--envato--s), var(--color--envato--l))Description The computed envato color of the design system - Property
--color--vine--hValue164.9214659686degDescription The hue part of the design system vine color - Property
--color--vine--sValue100%Description The saturation part of the design system vine color - Property
--color--vine--lValue37.4509803922%Description The lightness part of the design system vine color - Property
--color--vineValuehsl(var(--color--vine--h), var(--color--vine--s), var(--color--vine--l))Description The computed vine color of the design system - Property
--contrast-color-for-light-backgroundValuevar(--color--gray-90)Description The text color used for light backgrounds of the design system - Property
--contrast-color-for-dark-backgroundValuevar(--color--white)Description The text color used for dark backgrounds of the design system
Core
- Property
--body--background--lightValuevar(--color--white)Description The body background color for the light color mode - Property
--body--color--lightValuevar(--color--gray-80)Description The body background color for the light color mode - Property
--body--background--darkValuevar(--color--gray-90)Description The body background color for the dark color mode - Property
--body--color--darkValuevar(--color--gray-10)Description The body background color for the dark color mode - Property
--body--backgroundValuevar(--body--background--light)Description The body background color. Changes based on selected color mode. - Property
--body--colorValuevar(--body--color--light)Description The body background color. Changes based on selected color mode.
Grid
- Property
$columnsValue12Description The number of columns to generate for the grid system
Gutter
- Property
--gutterValue28pxDescription The base gutter used for calculating the gutter variants for various screen sizes - Property
--gutter--xsValuecalc(var(--gutter) * 0.85)Description The column, row, and container gutter for the extra-small screen size - Property
--gutter--smValuecalc(var(--gutter) * 0.925)Description The column, row, and container gutter for the small screen size - Property
--gutter--mdValuevar(--gutter)Description The column, row, and container gutter for the medium screen size - Property
--gutter--lgValuecalc(var(--gutter) * 1.075)Description The column, row, and container gutter for the large screen size - Property
--gutter--xlValuecalc(var(--gutter) * 1.15)Description The column, row, and container gutter for the extra-large screen size - Property
--gutter--xxlValuecalc(var(--gutter) * 1.25)Description The column, row, and container gutter for the extra-extra-large screen size
Images
- Property
--thumbnail--paddingValuecalc(var(--spacing) / 2)Description The padding of the image thumbnail variant - Property
--thumbnail--backgroundValuevar(--color--white)Description The background of the image thumbnail variant - Property
--thumbnail--border-widthValuevar(--border-width)Description The border-width of the image thumbnail variant - Property
--thumbnail--border-colorValuevar(--color--gray-40)Description The border-width of the image thumbnail variant - Property
--thumbnail--border-radiusValuevar(--border-radius)Description The border-radius of the image thumbnail variant - Property
--thumbnail--box-shadowValue0 1px 2px rgba(var(--color--black), 0.075)Description The box-shadow of the image thumbnail variant - Property
--thumbnail--transitionValueall 0.2s ease-in-outDescription The transition of the image thumbnail variant - Property
--polaroid--paddingValuecalc(var(--spacing) * 3)Description The padding of the image polaroid variant - Property
--figure--caption--font-sizeValue90%Description The font size of the figure caption - Property
--figure--caption--font-sizeValuevar(--color--gray-60)Description The text color of the figure caption - Property
--figure--image--font-sizeValuecalc(var(--spacing) / 2)Description The font size of the figure image
- Property
$printValuetrueDescription Enable or disable print-specific styles
Ratios
- Property
--scale-ratioValuevar(--scale-ratio--minor-third)Description The primary scale ratio used throughout the design system - Property
--scale-ratio-secondaryValuevar(--scale-ratio--perfect-fourth)Description The secondary scale ratio used throughout the design system - Property
--scale-ratio--minor-secondValue1.067Description The number usually referred to as the minor second scale ratio - Property
--scale-ratio--major-secondValue1.125Description The number usually referred to as the major second scale ratio - Property
--scale-ratio--minor-thirdValue1.2Description The number usually referred to as the minor third scale ratio - Property
--scale-ratio--major-thirdValue1.25Description The number usually referred to as the major third scale ratio - Property
--scale-ratio--perfect-fourthValue1.333Description The number usually referred to as the perfect fourth scale ratio - Property
--scale-ratio--augmented-fourthValue1.414Description The number usually referred to as the augmented fourth scale ratio - Property
--scale-ratio--perfect-fifthValue1.5Description The number usually referred to as the perfect fifth scale ratio - Property
--scale-ratio--goldenValue1.618Description The number usually referred to as the golden scale ratio - Property
--scale-ratio--pow-1Valuevar(--scale-ratio)Description The primary scale ratio raised to the power of 1 - Property
--scale-ratio--pow-2Valuecalc(var(--scale-ratio--pow-1) * var(--scale-ratio))Description The primary scale ratio raised to the power of 2 - Property
--scale-ratio--pow-3Valuecalc(var(--scale-ratio--pow-2) * var(--scale-ratio))Description The primary scale ratio raised to the power of 3 - Property
--scale-ratio--pow-4Valuecalc(var(--scale-ratio--pow-3) * var(--scale-ratio))Description The primary scale ratio raised to the power of 4 - Property
--scale-ratio--pow-5Valuecalc(var(--scale-ratio--pow-4) * var(--scale-ratio))Description The primary scale ratio raised to the power of 5 - Property
--scale-ratio--pow-6Valuecalc(var(--scale-ratio--pow-5) * var(--scale-ratio))Description The primary scale ratio raised to the power of 6
Sizes
- Property
--size-percentage--0Value0%Description The 0 percent value of the size percentage scale - Property
--size-percentage--25Value25%Description The 25 percent value of the size percentage scale - Property
--size-percentage--50Value50%Description The 50 percent value of the size percentage scale - Property
--size-percentage--75Value75%Description The 75 percent value of the size percentage scale - Property
--size-percentage--100Value100%Description The 100 percent value of the size percentage scale - Property
--size-multiplierValue1Description The base size multiplier value - Property
--size-multiplier--xsValuecalc(var(--size-multiplier) / var(--scale-ratio--pow-2))Description The extra-small size multiplier value - Property
--size-multiplier--smValuecalc(var(--size-multiplier) / var(--scale-ratio))Description The small size multiplier value - Property
--size-multiplier--mdValuevar(--size-multiplier)Description The medium size multiplier value - Property
--size-multiplier--lgValuecalc(var(--size-multiplier) * var(--scale-ratio))Description The large size multiplier value - Property
--size-multiplier--xlValuecalc(var(--size-multiplier) * var(--scale-ratio--pow-2))Description The extra-large size multiplier value
Spacing
- Property
--spacingValue1remDescription The base spacing of the design system used for margins and paddings - Property
--margin-topValuevar(--spacing)Description The margin-top part of the design system margin - Property
--margin-rightValuevar(--spacing)Description The margin-right part of the design system margin - Property
--margin-bottomValuevar(--spacing)Description The margin-bottom part of the design system margin - Property
--margin-rightValuevar(--spacing)Description The margin-right part of the design system margin - Property
--marginValuevar(--margin-top) var(--margin-right) var(--margin-bottom) var(--margin-left)Description The composed margin of the design system - Property
--padding-topValuevar(--spacing)Description The padding-top part of the design system padding - Property
--padding-rightValuevar(--spacing)Description The padding-right part of the design system padding - Property
--padding-bottomValuevar(--spacing)Description The padding-bottom part of the design system padding - Property
--padding-rightValuevar(--spacing)Description The padding-right part of the design system padding - Property
--paddingValuevar(--padding-top) var(--padding-right) var(--padding-bottom) var(--padding-left)Description The composed padding of the design system
Typography
- Property
--font-family-primary--baseValue-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serifDescription The primary base font-family used for body text throughout the application - Property
--font-family-primary--monospaceValue'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospaceDescription The primary monospace font-family used for code throughout the application - Property
--font-family-primary--printValue'Georgia', 'Times New Roman', 'Times', serifDescription The primary print font-family used for printing throughout the application - Property
--font-family-secondary--baseValuevar(--font-family-primary--base)Description The secondary base font-family used for body text throughout the application headings - Property
--font-family-secondary--monospaceValuevar(--font-family-primary--monospace)Description The secondary monospace font-family used for code throughout the application headings - Property
--font-family-secondary--printValuevar(--font-family-primary--print)Description The secondary print font-family used for printing throughout the application headings - Property
--letter-spacingValue0Description The letter spacing of the application text - Property
--font-sizeValue1remDescription The base font size of the application text - Property
--font-size--xsValuecalc(var(--font-size) * var(--size-multiplier--xs))Description The extra-small font size variant of the application text - Property
--font-size--smValuecalc(var(--font-size) * var(--size-multiplier--sm))Description The small font size variant of the application text - Property
--font-size--mdValuecalc(var(--font-size) * var(--size-multiplier--md))Description The medium font size variant of the application text - Property
--font-size--lgValuecalc(var(--font-size) * var(--size-multiplier--lg))Description The large font size variant of the application text - Property
--font-size--xlValuecalc(var(--font-size) * var(--size-multiplier--xl))Description The extra-large font size variant of the application text - Property
--line-heightValue1.5Description The line-height of the application text - Property
--text-mutedValuevar(--color--gray-60)Description The muted color of the application text - Property
--font-weight--extralightValue200Description The extra-light font weight variant of the application text - Property
--font-weight--lightValue300Description The extra-light font weight variant of the application text - Property
--font-weight--normalValuenormalDescription The normal font weight variant of the application text - Property
--font-weight--semiboldValue600Description The semibold font weight variant of the application text - Property
--font-weight--boldValueboldDescription The bold font weight variant of the application text - Property
--font-weight--blackValue900Description The black font weight variant of the application text - Property
--font-weight--lighterValuelighterDescription The lighter font weight variant of the application text - Property
--font-weight--bolderValuebolderDescription The bolder font weight variant of the application text - Property
--h1--font-sizeValuecalc(var(--font-size) * var(--scale-ratio--pow-5))Description The font size of the application h1 heading - Property
--h2--font-sizeValuecalc(var(--font-size) * var(--scale-ratio--pow-4))Description The font size of the application h2 heading - Property
--h3--font-sizeValuecalc(var(--font-size) * var(--scale-ratio--pow-3))Description The font size of the application h3 heading - Property
--h4--font-sizeValuecalc(var(--font-size) * var(--scale-ratio--pow-2))Description The font size of the application h4 heading - Property
--h5--font-sizeValuecalc(var(--font-size) * var(--scale-ratio--pow-1))Description The font size of the application h5 heading - Property
--h6--font-sizeValuevar(--font-size)Description The font size of the application h6 heading - Property
--heading--margin-topValuecalc(var(--spacing) * 2.5)Description The margin-top of the application headings - Property
--heading--margin-bottomValuevar(--spacing)Description The margin-bottom of the application headings - Property
--heading--font-familyValuevar(--font-family-secondary--base)Description The font-family of the application headings - Property
--heading--font-weightValuevar(--font-weight--semibold)Description The font-weight of the application headings - Property
--heading--line-heightValue1.1Description The line-height of the application headings - Property
--heading--colorValueinheritDescription The color of the application headings - Property
--d1--font-sizeValuecalc(var(--h1--font-size) * var(--scale-ratio--pow-6))Description The font size of the application d1 display - Property
--d2--font-sizeValuecalc(var(--h1--font-size) * var(--scale-ratio--pow-5))Description The font size of the application d2 display - Property
--d3--font-sizeValuecalc(var(--h1--font-size) * var(--scale-ratio--pow-4))Description The font size of the application d3 display - Property
--d4--font-sizeValuecalc(var(--h1--font-size) * var(--scale-ratio--pow-3))Description The font size of the application d4 display - Property
--d5--font-sizeValuecalc(var(--h1--font-size) * var(--scale-ratio--pow-2))Description The font size of the application d5 display - Property
--d6--font-sizeValuecalc(var(--h1--font-size) * var(--scale-ratio--pow-1))Description The font size of the application d6 display - Property
--display--font-weightValuevar(--font-weight--semibold)Description The font-weight of the application displays - Property
--display--line-heightValue1.1Description The line-height of the application displays - Property
--link--colorValuevar(--color--primary)Description The color of application anchor tags / links - Property
--link--color--hoverValuevar(--color--primary-40)Description The color of application anchor tags / links when hovered - Property
--link--decorationValuenoneDescription The text decoration of application anchor tags / links - Property
--link--decoration--hoverValueunderlineDescription The text decoration of application anchor tags / links when hovered - Property
--lead--font-sizeValuevar(--font-size--lg)Description The font size of application lead text - Property
--lead--font-weightValuevar(--font-weight--light)Description The font weight of application lead text - Property
--list--item--padding--inlineValuevar(--spacing)Description The padding of inline list items - Property
--list--item--margin-bottomValuevar(--spacing)Description The margin-bottom of list items - Property
--dt--font-weightValuevar(--font-weight--bold)Description The font-weight of description list titles - Property
--small--font-sizeValuevar(--font-size--sm)Description The font-size of small elements - Property
--small--font-weightValuevar(--font-weight--normal)Description The font-weight of small elements - Property
--blockquote--footer--colorValuevar(--color--gray-60)Description The text color of the blockquote footer - Property
--blockquote--font-sizeValuevar(--font-size--lg)Description The font size of the blockquote element - Property
--blockquote--borderValue3px solid var(--color--gray-30)Description The border of the blockquote element - Property
--blockquote--marginValuevar(--spacing)Description The margin of the blockquote element - Property
--blockquote--padding--borderedValuevar(--spacing)Description The padding of the blockquote element bordered variant - Property
--hr--border-colorValuehsla(var(--color--black--h), var(--color--black--s), var(--color--black--l), 0.1)Description The border-color of the horizontal rule element - Property
--hr--border-widthValuevar(--border-top-width)Description The border-width of the horizontal rule element - Property
--hr--border-styleValuevar(--border-style)Description The border-style of the horizontal rule element - Property
--hr--marginValuevar(--spacing)Description The margin of the horizontal rule element - Property
--mark--paddingValue0.2rem 0.4remDescription The color of the mark element - Property
--mark--colorValuevar(--color--gray-80)Description The color of the mark element - Property
--mark--background-colorValuevar(--color--yellow-10)Description The background color of the mark element - Property
--code--font-sizeValue90%Description The font-size of the code element - Property
--code--paddingValue0.15rem 0.4remDescription The padding of the code element - Property
--code--colorValue#bd4147Description The color of the code element - Property
--code--backgroundValuevar(--color--gray-10)Description The background of the code element - Property
--code--color--darkValue#ff6d6bDescription The color of the code element when dark color mode - Property
--code--background--darkValuevar(--color--gray-80)Description The background of the code element when dark color mode - Property
--kbd--font-sizeValuevar(--code--font-size)Description The font-size of the kbd element - Property
--kbd--box-shadowValueinset 0 -0.1rem 0 rgba(0, 0, 0, 0.25)Description The box-shadow of the kbd element - Property
--kbd--nested-font-weightValuevar(--font-weight--bold)Description The font-weight of the kbd element when nested - Property
--kbd--paddingValuevar(--code--padding)Description The padding of the kbd element - Property
--kbd--colorValuevar(--color--white)Description The color of the kbd element - Property
--kbd--backgroundValuevar(--color--gray-90)Description The background of the kbd element - Property
--pre--font-sizeValuevar(--code--font-size)Description The font-size of the pre element - Property
--pre--colorValuevar(--color--gray-90)Description The color of the pre element - Property
--pre--backgroundValuevar(--color--white)Description The background of the pre element - Property
--pre--scrollable-max-heightValue340pxDescription The max height of the pre element before it becomes scrollable
Z-Index
- Property
--z-index--dropdownValue1000Description The z-index value for overlaid dropdown elements - Property
--z-index--stickyValue1020Description The z-index value for overlaid sticky elements - Property
--z-index--fixedValue1030Description The z-index value for overlaid fixed elements - Property
--z-index--modal-backdropValue1040Description The z-index value for modal backdrop elements - Property
--z-index--modalValue1050Description The z-index value for modal elements - Property
--z-index--popoverValue1060Description The z-index value for popover elements - Property
--z-index--tooltipValue1070Description The z-index value for tooltip elements