breakpoints

variables

grid-breakpoints

$grid-breakpoints: (
  xs: 0,
  sm: 576px,
  md: 768px,
  lg: 992px,
  xl: 1366px,
) !default;

Description

Viewport width breakpoints (Responsive design)

functions

[private] breakpoint-min

@function breakpoint-min($name, $breakpoints: $grid-breakpoints) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$name

(xs | sm | md | lg | xl)

String none
$breakpoints

(Optional, it is the map of breakpoint attributes, we have $grid-breakpoints as default)

Map$grid-breakpoints

Used by

[private] breakpoint-infix

@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$name

(xs | sm | md | lg | xl)

String none
$breakpoints

(Optional, it is the map of breakpoint attributes, we have $grid-breakpoints as default)

Map$grid-breakpoints

Requires

Used by

mixins

media-min

@mixin media-min($name, $breakpoints: $grid-breakpoints) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$name

(xs | sm | md | lg | xl)

String none
$breakpoints

(Optional, it is the map of breakpoint attributes, we have $grid-breakpoints as default)

Map$grid-breakpoints

Requires

Used by

button

mixins

[private] buttonStyles

@mixin buttonStyles($bgColor, $textColor, $borderColor, $bgColorState, $textColorState, $borderColorState) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$bgColor noneString none
$textColor noneString none
$borderColor noneString none
$bgColorState noneString none
$textColorState noneString none
$borderColorState noneString none

Used by

[private] buttonSize

@mixin buttonSize($width, $maxWidth, $minWidth, $height) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$width noneString none
$maxWidth noneString none
$minWidth noneString none
$height noneString none

buttonReset

@mixin buttonReset() { ... }

Parameters

None.

Requires

colors

variables

city-palette--default

$city-palette--default: (
  "base": (
    black--100: #000,
    white--100: #fff,
    gray--05: #f7f7f9,
    gray--30: #dddddf,
    gray--10: #e8e8e8,
    gray--40: #a2a2a2,
    gray--70: #5d5d5d,
    gray--100: #171717,
    red--60: #ce202f,
    blue--90: #212d38,
  ),
  "utility": (
    u-active--70: #375fc6,
    u-visited--70: #6c5ec2,
    u-alert--70: #d2531c,
    u-success--70: #008555,
  ),
  "extended": (
    x-jade--10: #ebf6f1,
    x-jade--50: #149282,
    x-jade--90: #00544f,
    x-cerulean--10: #eff6f8,
    x-cerulean--50: #087ea6,
    x-cerulean--90: #004a62,
    x-indigo--10: #f2f7fe,
    x-indigo--50: #4b5e8e,
    x-indigo--90: #2b3456,
    x-plum--10: #fdf3fa,
    x-plum--50: #9a68ab,
    x-plum--90: #421f38,
    x-ruby--10: #fff3f3,
    x-ruby--50: #bb1725,
    x-ruby--90: #731235,
    x-amber--10: #fdefeb,
    x-amber--50: #d25e3a,
    x-amber--90: #623e2f,
    x-caramel--10: #fcf5ef,
    x-caramel--50: #dba16a,
    x-caramel--90: #524130,
    x-gold--10: #fdf9f0,
    x-gold--50: #d7b357,
    x-gold--90: #5c5332,
    x-kiwi--10: #f6fbf2,
    x-kiwi--50: #8ab16a,
    x-kiwi--90: #30472c,
  ),
  "overlays": (
    overlay--g100: rgba(23, 23, 23, 0.8),
  ),
) !default!default;

color-palette

$color-palette: $city-palette--default !default;

black--100

$black--100: color-palette__key($color-palette, "base", "black--100") !default;

Type

Color

white--100

$white--100: color-palette__key($color-palette, "base", "white--100") !default;

Type

Color

gray--05

$gray--05: color-palette__key($color-palette, "base", "gray--05") !default;

Type

Color

gray--30

$gray--30: color-palette__key($color-palette, "base", "gray--30") !default;

Type

Color

gray--10

$gray--10: color-palette__key($color-palette, "base", "gray--10") !default;

Type

Color

gray--40

$gray--40: color-palette__key($color-palette, "base", "gray--40") !default;

Type

Color

gray--70

$gray--70: color-palette__key($color-palette, "base", "gray--70") !default;

Type

Color

Used by

gray--100

$gray--100: color-palette__key($color-palette, "base", "gray--100") !default;

Type

Color

Used by

red--60

$red--60: color-palette__key($color-palette, "base", "red--60") !default;

Type

Color

blue--90

$blue--90: color-palette__key($color-palette, "base", "blue--90") !default;

Type

Color

u-active--70

$u-active--70: color-palette__key(
  $color-palette,
  "utility",
  "u-active--70"
) !default;

Type

Color

u-visited--70

$u-visited--70: color-palette__key(
  $color-palette,
  "utility",
  "u-visited--70"
) !default;

Type

Color

u-alert--70

$u-alert--70: color-palette__key(
  $color-palette,
  "utility",
  "u-alert--70"
) !default;

Type

Color

u-success--70

$u-success--70: color-palette__key(
  $color-palette,
  "utility",
  "u-success--70"
) !default;

Type

Color

overlay--g100

$overlay--g100: color-palette__key(
  $color-palette,
  "overlays",
  "overlay--g100"
) !default;

Type

Color

x-jade--10

$x-jade--10: color-palette__key(
  $color-palette,
  "extended",
  "x-jade--10"
) !default;

Type

Color

x-jade--50

$x-jade--50: color-palette__key(
  $color-palette,
  "extended",
  "x-jade--50"
) !default;

Type

Color

x-jade--90

$x-jade--90: color-palette__key(
  $color-palette,
  "extended",
  "x-jade--90"
) !default;

Type

Color

x-cerulean--10

$x-cerulean--10: color-palette__key(
  $color-palette,
  "extended",
  "x-cerulean--10"
) !default;

Type

Color

x-cerulean--50

$x-cerulean--50: color-palette__key(
  $color-palette,
  "extended",
  "x-cerulean--50"
) !default;

Type

Color

x-cerulean--90

$x-cerulean--90: color-palette__key(
  $color-palette,
  "extended",
  "x-cerulean--90"
) !default;

Type

Color

x-indigo--10

$x-indigo--10: color-palette__key(
  $color-palette,
  "extended",
  "x-indigo--10"
) !default;

Type

Color

x-indigo--50

$x-indigo--50: color-palette__key(
  $color-palette,
  "extended",
  "x-indigo--50"
) !default;

Type

Color

x-indigo--90

$x-indigo--90: color-palette__key(
  $color-palette,
  "extended",
  "x-indigo--90"
) !default;

Type

Color

x-plum--10

$x-plum--10: color-palette__key(
  $color-palette,
  "extended",
  "x-plum--10"
) !default;

Type

Color

x-plum--50

$x-plum--50: color-palette__key(
  $color-palette,
  "extended",
  "x-plum--50"
) !default;

Type

Color

x-plum--90

$x-plum--90: color-palette__key(
  $color-palette,
  "extended",
  "x-plum--90"
) !default;

Type

Color

x-ruby--10

$x-ruby--10: color-palette__key(
  $color-palette,
  "extended",
  "x-ruby--10"
) !default;

Type

Color

x-ruby--50

$x-ruby--50: color-palette__key(
  $color-palette,
  "extended",
  "x-ruby--50"
) !default;

Type

Color

x-ruby--90

$x-ruby--90: color-palette__key(
  $color-palette,
  "extended",
  "x-ruby--90"
) !default;

Type

Color

x-amber--10

$x-amber--10: color-palette__key(
  $color-palette,
  "extended",
  "x-amber--10"
) !default;

Type

Color

x-amber--50

$x-amber--50: color-palette__key(
  $color-palette,
  "extended",
  "x-amber--50"
) !default;

Type

Color

x-amber--90

$x-amber--90: color-palette__key(
  $color-palette,
  "extended",
  "x-amber--90"
) !default;

Type

Color

x-caramel--10

$x-caramel--10: color-palette__key(
  $color-palette,
  "extended",
  "x-caramel--10"
) !default;

Type

Color

x-caramel--50

$x-caramel--50: color-palette__key(
  $color-palette,
  "extended",
  "x-caramel--50"
) !default;

Type

Color

x-caramel--90

$x-caramel--90: color-palette__key(
  $color-palette,
  "extended",
  "x-caramel--90"
) !default;

Type

Color

x-gold--10

$x-gold--10: color-palette__key(
  $color-palette,
  "extended",
  "x-gold--10"
) !default;

Type

Color

x-gold--50

$x-gold--50: color-palette__key(
  $color-palette,
  "extended",
  "x-gold--50"
) !default;

Type

Color

x-gold--90

$x-gold--90: color-palette__key(
  $color-palette,
  "extended",
  "x-gold--90"
) !default;

Type

Color

x-kiwi--10

$x-kiwi--10: color-palette__key(
  $color-palette,
  "extended",
  "x-kiwi--10"
) !default;

Type

Color

x-kiwi--50

$x-kiwi--50: color-palette__key(
  $color-palette,
  "extended",
  "x-kiwi--50"
) !default;

Type

Color

x-kiwi--90

$x-kiwi--90: color-palette__key(
  $color-palette,
  "extended",
  "x-kiwi--90"
) !default;

Type

Color

ui-background--01

$ui-background--01: color-palette__key(
  $color-palette,
  "base",
  "white--100"
) !default;

Type

Color

ui-background--02

$ui-background--02: color-palette__key(
  $color-palette,
  "base",
  "gray--05"
) !default;

Type

Color

ui-background--03

$ui-background--03: color-palette__key(
  $color-palette,
  "base",
  "gray--10"
) !default;

Type

Color

ui-background--04

$ui-background--04: color-palette__key(
  $color-palette,
  "base",
  "gray--70"
) !default;

Type

Color

ui-background--05

$ui-background--05: color-palette__key(
  $color-palette,
  "base",
  "gray--100"
) !default;

Type

Color

ui-background--06

$ui-background--06: color-palette__key(
  $color-palette,
  "base",
  "red--60"
) !default;

Type

Color

ui-background--07

$ui-background--07: color-palette__key(
  $color-palette,
  "base",
  "blue--90"
) !default;

Type

Color

ui-stroke--01

$ui-stroke--01: color-palette__key(
  $color-palette,
  "base",
  "white--100"
) !default;

Type

Color

ui-stroke--02

$ui-stroke--02: color-palette__key($color-palette, "base", "gray--10") !default;

Type

Color

ui-stroke--03

$ui-stroke--03: color-palette__key($color-palette, "base", "gray--40") !default;

Type

Color

ui-stroke--04

$ui-stroke--04: color-palette__key($color-palette, "base", "gray--70") !default;

Type

Color

ui-stroke--05

$ui-stroke--05: color-palette__key(
  $color-palette,
  "base",
  "gray--100"
) !default;

Type

Color

ui-stroke--06

$ui-stroke--06: color-palette__key($color-palette, "base", "red--60") !default;

Type

Color

ui-stroke--07

$ui-stroke--07: color-palette__key($color-palette, "base", "blue--90") !default;

Type

Color

ui-stroke--08

$ui-stroke--08: color-palette__key($color-palette, "base", "gray--30") !default;

Type

Color

state-enabled

$state-enabled: color-palette__key(
  $color-palette,
  "base",
  "white--100"
) !default;

Type

Color

state-hover

$state-hover: color-palette__key($color-palette, "base", "gray--05") !default;

Type

Color

state-focus

$state-focus: color-palette__key(
  $color-palette,
  "utility",
  "u-active--70"
) !default;

Type

Color

state-error

$state-error: color-palette__key($color-palette, "base", "red--60") !default;

Type

Color

text

$text: color-palette__key($color-palette, "base", "gray--70") !default;

Type

Color

text-inverse

$text-inverse: color-palette__key(
  $color-palette,
  "base",
  "white--100"
) !default;

Type

Color

text-emphasis

$text-emphasis: color-palette__key($color-palette, "base", "red--60") !default;

Type

Color

text-low-emphasis

$text-low-emphasis: color-palette__key(
  $color-palette,
  "base",
  "gray--40"
) !default;

Type

Color

text-disabled

$text-disabled: color-palette__key($color-palette, "base", "gray--40") !default;

Type

Color

icon-dark

$icon-dark: color-palette__key($color-palette, "base", "gray--100") !default;

Type

Color

icon-medium

$icon-medium: color-palette__key($color-palette, "base", "gray--40") !default;

Type

Color

icon-light

$icon-light: color-palette__key($color-palette, "base", "white--100") !default;

Type

Color

icon-disabled

$icon-disabled: color-palette__key($color-palette, "base", "gray--40") !default;

Type

Color

icon-red

$icon-red: color-palette__key($color-palette, "base", "red--60") !default;

Type

Color

support-alert

$support-alert: color-palette__key(
  $color-palette,
  "utility",
  "u-alert--70"
) !default;

Type

Color

support-success

$support-success: color-palette__key(
  $color-palette,
  "utility",
  "u-success--70"
) !default;

Type

Color

support-warning

$support-warning: color-palette__key(
  $color-palette,
  "utility",
  "u-alert--70"
) !default;

Type

Color

support-information

$support-information: color-palette__key(
  $color-palette,
  "base",
  "blue--90"
) !default;

Type

Color

overlay

$overlay: color-palette__key(
  $color-palette,
  "overlays",
  "overlay--g100"
) !default;

Type

Color

grid

variables

enable-grid-classes

$enable-grid-classes: true !default;

grid-columns

$grid-columns: 12 !default;

grid-gutter-width

$grid-gutter-width: 32px !default;

grid-row-columns

$grid-row-columns: 6 !default;

container-max-widths

$container-max-widths: (
  md: 720px,
  lg: 960px,
  xl: 1488px,
) !default;

mixins

[private] make-container

@mixin make-container($gutter: $grid-gutter-width) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$gutter

Default value 32px

Px$grid-gutter-width

[private] make-container-max-widths

@mixin make-container-max-widths($max-widths: $container-max-widths, $breakpoints: $grid-breakpoints) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$max-widths

Max width for the container

Map$container-max-widths
$breakpoints

breakpoint mapping

Map$grid-breakpoints

Requires

[private] make-row

@mixin make-row($gutter: $grid-gutter-width) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$gutter

Default value 32px

Px$grid-gutter-width

[private] make-col

@mixin make-col($size, $columns: $grid-columns) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$size

Column size (1 | 2 | 3 | 4 | 5 | ... | 12)

Number none
$columns

Default value 12

Number$grid-columns

Used by

[private] make-col-auto

@mixin make-col-auto() { ... }

Parameters

None.

Used by

[private] make-grid-columns

@mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) { ... }

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$columns

Default value 12

Number$grid-columns
$gutter

Default value 32px

Px$grid-gutter-width
$breakpoints

Breakpoints mapping

Map$grid-breakpoints

Requires

position

css

.fixed-top

.fixed-top { ... }

.fixed-bottom

.fixed-bottom { ... }

.sticky-top

.sticky-top { ... }

spacing

variables

spacer

$spacer: 1rem !default;

spacers

$spacers: () !default;

spacers

$spacers: map-merge(
  (
    0: 0,
    1: (
      $spacer * 0.25,
    ),
    2: (
      $spacer * 0.5,
    ),
    3: $spacer,
    4: (
      $spacer * 1.5,
    ),
    5: (
      $spacer * 3,
    ),
  ),
  $spacers
);

unit-spacing--01

Deprecated!
$unit-spacing--01: mini-units(0.25) !default;

unit-spacing--02

Deprecated!
$unit-spacing--02: mini-units(0.5) !default;

unit-spacing--03

Deprecated!
$unit-spacing--03: mini-units(1) !default;

unit-spacing--04

Deprecated!
$unit-spacing--04: mini-units(1.5) !default;

unit-spacing--05

Deprecated!
$unit-spacing--05: mini-units(2) !default;

unit-spacing--06

Deprecated!
$unit-spacing--06: mini-units(3) !default;

unit-spacing--07

Deprecated!
$unit-spacing--07: mini-units(4) !default;

unit-spacing--08

Deprecated!
$unit-spacing--08: mini-units(5) !default;

unit-spacing--09

Deprecated!
$unit-spacing--09: mini-units(6) !default;

unit-spacing--10

Deprecated!
$unit-spacing--10: mini-units(8) !default;

unit-spacing--11

Deprecated!
$unit-spacing--11: mini-units(12) !default;

unit-spacing--12

Deprecated!
$unit-spacing--12: mini-units(20) !default;

spacing__map

$spacing__map: (
  spacing--01: $unit-spacing--01,
  spacing--02: $unit-spacing--02,
  spacing--03: $unit-spacing--03,
  spacing--04: $unit-spacing--04,
  spacing--05: $unit-spacing--05,
  spacing--06: $unit-spacing--06,
  spacing--07: $unit-spacing--07,
  spacing--08: $unit-spacing--08,
  spacing--09: $unit-spacing--09,
  spacing--10: $unit-spacing--10,
  spacing--11: $unit-spacing--11,
  spacing--12: $unit-spacing--12,
) !default;

spacing__map--var

$spacing__map--var: (
  $unit-spacing--01,
  $unit-spacing--02,
  $unit-spacing--03,
  $unit-spacing--04,
  $unit-spacing--05,
  $unit-spacing--06,
  $unit-spacing--07,
  $unit-spacing--08,
  $unit-spacing--09,
  $unit-spacing--10,
  $unit-spacing--11,
  $unit-spacing--12
) !default;

spacing--01

$spacing--01: $unit-spacing--01 !default;

spacing--02

$spacing--02: $unit-spacing--02 !default;

spacing--03

$spacing--03: $unit-spacing--03 !default;

spacing--04

$spacing--04: $unit-spacing--04 !default;

spacing--05

$spacing--05: $unit-spacing--05 !default;

spacing--06

$spacing--06: $unit-spacing--06 !default;

spacing--07

$spacing--07: $unit-spacing--07 !default;

spacing--08

$spacing--08: $unit-spacing--08 !default;

spacing--09

$spacing--09: $unit-spacing--09 !default;

spacing--10

$spacing--10: $unit-spacing--10 !default;

spacing--11

$spacing--11: $unit-spacing--11 !default;

spacing--12

$spacing--12: $unit-spacing--12 !default;

css

.m#{$infix}-auto

.m#{$infix}-auto { ... }

.mt#{$infix}-auto, /// @group spacing .my#{$infix}-auto

.mt#{$infix}-auto,
    
    /// @group spacing
    .my#{$infix}-auto { ... }

.my#{$infix}-auto

.my#{$infix}-auto { ... }

.mr#{$infix}-auto, /// @group spacing .mx#{$infix}-auto

.mr#{$infix}-auto,
    
    /// @group spacing
    .mx#{$infix}-auto { ... }

.mx#{$infix}-auto

.mx#{$infix}-auto { ... }

.mb#{$infix}-auto, /// @group spacing .my#{$infix}-auto

.mb#{$infix}-auto,
    
    /// @group spacing
    .my#{$infix}-auto { ... }

.my#{$infix}-auto

.my#{$infix}-auto { ... }

.ml#{$infix}-auto, /// @group spacing .mx#{$infix}-auto

.ml#{$infix}-auto,
    
    /// @group spacing
    .mx#{$infix}-auto { ... }

.mx#{$infix}-auto

.mx#{$infix}-auto { ... }

tokens

variables

red--00

Deprecated!
$red--00: color-palette__key($color-palette, "variations", "red--00");

Type

Color

blue--00

Deprecated!
$blue--00: color-palette__key($color-palette, "variations", "blue--00");

Type

Color

blue--01

Deprecated!
$blue--01: color-palette__key($color-palette, "variations", "blue--01");

Type

Color

purple--00

Deprecated!
$purple--00: color-palette__key($color-palette, "variations", "purple--00");

Type

Color

green--00

Deprecated!
$green--00: color-palette__key($color-palette, "variations", "green--00");

Type

Color

yellow--00

Deprecated!
$yellow--00: color-palette__key($color-palette, "variations", "yellow--00");

Type

Color

ui-background--01

Deprecated!
$ui-background--01: theme-color__key(ui-background--01) !default;

Type

Color

ui-background--02

Deprecated!
$ui-background--02: theme-color__key(ui-background--02) !default;

Type

Color

ui-background--03

Deprecated!
$ui-background--03: theme-color__key(ui-background--03) !default;

Type

Color

ui-background--04

Deprecated!
$ui-background--04: theme-color__key(ui-background--04) !default;

Type

Color

ui-background--05

Deprecated!
$ui-background--05: theme-color__key(ui-background--05) !default;

Type

Color

ui--low-emphasis

Deprecated!
$ui--low-emphasis: theme-color__key(ui--low-emphasis) !default;

Type

Color

ui--high-emphasis

Deprecated!
$ui--high-emphasis: theme-color__key(ui--high-emphasis) !default;

Type

Color

primary-interactive

Deprecated!
$primary-interactive: theme-color__key(primary-interactive) !default;

Type

Color

primary-interactive--hover

Deprecated!
$primary-interactive--hover: theme-color__key(
  primary-interactive--hover
) !default;

Type

Color

primary-interactive--active

Deprecated!
$primary-interactive--active: theme-color__key(
  primary-interactive--active
) !default;

Type

Color

secondary-interactive

Deprecated!
$secondary-interactive: theme-color__key(secondary-interactive) !default;

Type

Color

secondary-interactive--hover

Deprecated!
$secondary-interactive--hover: theme-color__key(
  secondary-interactive--hover
) !default;

Type

Color

secondary-interactive--active

Deprecated!
$secondary-interactive--active: theme-color__key(
  secondary-interactive--active
) !default;

Type

Color

text--01

Deprecated!
$text--01: theme-color__key(text--01) !default;

Type

Color

text--02

Deprecated!
$text--02: theme-color__key(text--02) !default;

Type

Color

text--03

Deprecated!
$text--03: theme-color__key(text--03) !default;

Type

Color

text-inverse

Deprecated!
$text-inverse: theme-color__key(text-inverse) !default;

Type

Color

text-emphasis

Deprecated!
$text-emphasis: theme-color__key(text-emphasis) !default;

Type

Color

text-disabled

Deprecated!
$text-disabled: theme-color__key(text-disabled) !default;

Type

Color

icon--dark

Deprecated!
$icon--dark: theme-color__key(icon--dark) !default;

Type

Color

icon--light

Deprecated!
$icon--light: theme-color__key(icon--light) !default;

Type

Color

icon--disabled

Deprecated!
$icon--disabled: theme-color__key(icon--disabled) !default;

Type

Color

focus

Deprecated!
$focus: theme-color__key(focus) !default;

Type

Color

error

Deprecated!
$error: theme-color__key(error) !default;

Type

Color

disabled

Deprecated!
$disabled: theme-color__key(disabled) !default;

Type

Color

support--error

Deprecated!
$support--error: theme-color__key(support--error) !default;

Type

Color

support--success

Deprecated!
$support--success: theme-color__key(support--success) !default;

Type

Color

support--warning

Deprecated!
$support--warning: theme-color__key(support--warning) !default;

Type

Color

support--information

Deprecated!
$support--information: theme-color__key(support--information) !default;

Type

Color

overlay

Deprecated!
$overlay: theme-color__key(overlay) !default;

Type

Color

skeleton--01

Deprecated!
$skeleton--01: theme-color__key(skeleton--01) !default;

Type

Color

typography

functions

[private] font-weight__value

@function font-weight__value($weight) { ... }

Description

Retrieve the font-weight value from $font-weights__map

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$weight

(light | regular | medium | semi | bold)

String none

Returns

Number

Font weight value

Requires

Used by

[private] letter-spacing__value

@function letter-spacing__value($letter-spacing) { ... }

Description

Retrieve the letter-spacing value from $letter-spacing__map

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$letter-spacing

(ls-normal | ls-md | ls-lg | ls-xl)

String none

Returns

Number

Letter spacing value

Requires

Used by

[private] line-height__value

@function line-height__value($line-height) { ... }

Description

Retrieve the line-height value from $line-height__map

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$line-height

(lh-single | lh-sm | lh-md | lh-lg | lh-xl | lh-double)

String none

Returns

Number

Line height value

Requires

Used by

[private] text-transform__value

@function text-transform__value($value) { ... }

Description

Retrieve the text-transform value from $text-transform__map

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$value

(capitalize | uppercase | lowercase | none | inherit | initial)

String none

Returns

String

Text transform value

Requires

Used by

mixins

font-weight

@mixin font-weight($weight) { ... }

Description

Set the font-weight value of a selector with the value at the given $weight

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$weight

(light | regular | medium | semi | bold)

String none

Output

font-weight: ${weightValue}

Requires

Used by

letter-spacing

@mixin letter-spacing($letter-spacing) { ... }

Description

Set the letter-spacing value of a selector with the value at the given $letter-spacing

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$letter-spacing

(ls-normal | ls-md | ls-lg | ls-xl)

String none

Output

letter-spacing: ${letterSpacingValue}

Requires

Used by

line-height

@mixin line-height($line-height) { ... }

Description

Set the line-height value of a selector with the value at the given $line-height

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$line-height

(lh-single | lh-sm | lh-md | lh-lg | lh-xl | lh-double)

String none

Output

line-height: ${lineHeightValue}

Requires

Used by

text-transform

@mixin text-transform($value) { ... }

Description

Set the text-transform value of a selector with the value at the given $weight

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$value

(capitalize | uppercase | lowercase | none | inherit | initial)

String none

Output

text-transform: ${textTransformValue}

Requires

Used by

[private] type-scale__mixin

@mixin type-scale__mixin($step) { ... }

Description

Set the font-size value of a selector with the value at the given $step

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$step noneNumber none

Requires

[private] font-size

@mixin font-size($step) { ... }

Description

Alias of type-scale__mixin mixin to use more friendlier syntax.

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$step noneNumber none

Requires

Used by

typography-spacing

@mixin typography-spacing($letter-spacing-base, $line-height) { ... }

Description

Mixin to combine letter-spacing and line-height. Takes values from base variables

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$letter-spacing-base noneString none
$line-height noneString none

Requires

Used by

[private] typography-styling

@mixin typography-styling($step, $weight, $letter-spacing, $line-height, $transform, $color) { ... }

Description

Mixin for full typography styling

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$step noneNumber none
$weight noneString none
$letter-spacing noneNumber none
$line-height noneNumber none
$transform noneString none
$color noneString none

Requires

Used by

mx-expressive--01

@mixin mx-expressive--01() { ... }

Parameters

None.

Requires

mx-expressive--02

@mixin mx-expressive--02() { ... }

Parameters

None.

Requires

mx-expressive--03

@mixin mx-expressive--03() { ... }

Parameters

None.

Requires

mx-expressive--04

@mixin mx-expressive--04() { ... }

Parameters

None.

Requires

mx-expressive--05

@mixin mx-expressive--05() { ... }

Parameters

None.

Requires

mx-expressive--06

@mixin mx-expressive--06() { ... }

Parameters

None.

Requires

mx-expressive--07

@mixin mx-expressive--07() { ... }

Parameters

None.

Requires

mx-expressive--08

@mixin mx-expressive--08() { ... }

Parameters

None.

Requires

mx-expressive-semibold--08

@mixin mx-expressive-semibold--08() { ... }

Parameters

None.

Requires

mx-expressive--09

@mixin mx-expressive--09() { ... }

Parameters

None.

Requires

mx-expressive-semibold--09

@mixin mx-expressive-semibold--09() { ... }

Parameters

None.

Requires

mx-expressive--10

@mixin mx-expressive--10() { ... }

Parameters

None.

Requires

mx-expressive-semibold--10

@mixin mx-expressive-semibold--10() { ... }

Parameters

None.

Requires

mx-expressive--11

@mixin mx-expressive--11() { ... }

Parameters

None.

Requires

mx-expressive-semibold--11

@mixin mx-expressive-semibold--11() { ... }

Parameters

None.

Requires

mx-productive--01

@mixin mx-productive--01() { ... }

Parameters

None.

Requires

mx-productive--02

@mixin mx-productive--02() { ... }

Parameters

None.

Requires

mx-productive--03

@mixin mx-productive--03() { ... }

Parameters

None.

Requires

mx-productive--04

@mixin mx-productive--04() { ... }

Parameters

None.

Requires

mx-productive--05

@mixin mx-productive--05() { ... }

Parameters

None.

Requires

mx-productive--06

@mixin mx-productive--06() { ... }

Parameters

None.

Requires

mx-productive--07

@mixin mx-productive--07() { ... }

Parameters

None.

Requires

mx-productive--08

@mixin mx-productive--08() { ... }

Parameters

None.

Requires

mx-productive--09

@mixin mx-productive--09() { ... }

Parameters

None.

Requires

mx-productive--10

@mixin mx-productive--10() { ... }

Parameters

None.

Requires

mx-body--full

@mixin mx-body--full() { ... }

Parameters

None.

Requires

mx-body-short--full

@mixin mx-body-short--full() { ... }

Parameters

None.

Requires

mx-body

@mixin mx-body() { ... }

Parameters

None.

Requires

mx-body-short

@mixin mx-body-short() { ... }

Parameters

None.

Requires

mx-body--large

@mixin mx-body--large() { ... }

Parameters

None.

Requires

mx-body-short--large

@mixin mx-body-short--large() { ... }

Parameters

None.

Requires

mx-body--regular

@mixin mx-body--regular() { ... }

Parameters

None.

Requires

mx-body-short--regular

@mixin mx-body-short--regular() { ... }

Parameters

None.

Requires

mx-body--small

@mixin mx-body--small() { ... }

Parameters

None.

Requires

mx-body-short--small

@mixin mx-body-short--small() { ... }

Parameters

None.

Requires

mx-body--xsmall

@mixin mx-body--xsmall() { ... }

Parameters

None.

Requires

mx-body-short--xsmall

@mixin mx-body-short--xsmall() { ... }

Parameters

None.

Requires

mx-helper--regular

@mixin mx-helper--regular() { ... }

Parameters

None.

Requires

mx-helper-semibold--regular

@mixin mx-helper-semibold--regular() { ... }

Parameters

None.

Requires

mx-helper--small

@mixin mx-helper--small() { ... }

Parameters

None.

Requires

mx-helper-semibold--small

@mixin mx-helper-semibold--small() { ... }

Parameters

None.

Requires

mx-form-field-label

@mixin mx-form-field-label() { ... }

Parameters

None.

Requires

mx-button-text

@mixin mx-button-text() { ... }

Parameters

None.

Requires

Used by

mx-button-text--large

@mixin mx-button-text--large() { ... }

Parameters

None.

Requires

mx-button-text--regular

@mixin mx-button-text--regular() { ... }

Parameters

None.

Requires

mx-button-text--small

@mixin mx-button-text--small() { ... }

Parameters

None.

Requires

mx-button-text--xsmall

@mixin mx-button-text--xsmall() { ... }

Parameters

None.

Requires

css

.g-expressive--01

.g-expressive--01 { ... }

.g-expressive--02

.g-expressive--02 { ... }

.g-expressive--03

.g-expressive--03 { ... }

.g-expressive--04

.g-expressive--04 { ... }

.g-expressive--05

.g-expressive--05 { ... }

.g-expressive--06

.g-expressive--06 { ... }

.g-expressive--07

.g-expressive--07 { ... }

.g-expressive--08

.g-expressive--08 { ... }

.g-expressive--09

.g-expressive--09 { ... }

.g-expressive--10

.g-expressive--10 { ... }

.g-expressive--11

.g-expressive--11 { ... }

.g-expressive-semibold--09

.g-expressive-semibold--09 { ... }

.g-expressive-semibold--10

.g-expressive-semibold--10 { ... }

.g-expressive-semibold--11

.g-expressive-semibold--11 { ... }

.g-productive--01

.g-productive--01 { ... }

.g-productive--02

.g-productive--02 { ... }

.g-productive--03

.g-productive--03 { ... }

.g-productive--04

.g-productive--04 { ... }

.g-productive--05

.g-productive--05 { ... }

.g-productive--06

.g-productive--06 { ... }

.g-productive--07

.g-productive--07 { ... }

.g-productive--08

.g-productive--08 { ... }

.g-productive--09

.g-productive--09 { ... }

.g-productive--10

.g-productive--10 { ... }

.g-body

.g-body { ... }

.g-body--small

.g-body--small { ... }

.g-body--regular

.g-body--regular { ... }

.g-body--large

.g-body--large { ... }

.g-body--xsmall

.g-body--xsmall { ... }

.g-body-short--full

.g-body-short--full { ... }

.g-body-short

.g-body-short { ... }

.g-body-short--large

.g-body-short--large { ... }

.g-body-short--regular

.g-body-short--regular { ... }

.g-body-short--small

.g-body-short--small { ... }

.g-body-short--xsmall

.g-body-short--xsmall { ... }

.g-button-text

.g-button-text { ... }

.g-button-text--small

.g-button-text--small { ... }

.g-helper

.g-helper { ... }

.g-helper--small

.g-helper--small { ... }

General

variables

[private] font-weights__map

$font-weights__map: (
  light: 300,
  regular: 400,
  medium: 500,
  semi-bold: 600,
  bold: 700,
) !default;

Description

Suggested font weights to be used in typography.

Used by

[private] line-height__map

$line-height__map: (
  lh-single: 1,
  lh-sm: 1.15,
  lh-md: 1.25,
  lh-lg: 1.5,
  lh-xl: 1.75,
  lh-double: 2,
) !default;

Description

Suggested line height to be used in typography.

Used by

[private] letter-spacing__map

$letter-spacing__map: (
  ls-normal: 0,
  ls-md: 0.0625em,
  ls-lg: 0.125em,
  ls-xl: 0.1875em,
) !default;

Description

Suggested letter spacing to be used in typography.

Used by

[private] text-transform__map

$text-transform__map: (
  capitalize: capitalize,
  uppercase: uppercase,
  lowercase: lowercase,
  none: none,
  inherit: inherit,
  initial: initial,
) !default;

Description

Suggested text transform to be used in typography.

Used by

typography-utility__map

$typography-utility__map: (
  "font-weight": (
    thin: 100,
    light: 300,
    regular: 400,
    medium: 500,
    semi-bold: 600,
    bold: 700,
  ),
  "text-transform": (
    capitalize: capitalize,
    uppercase: uppercase,
    lowercase: lowercase,
    none: none,
    inherit: inherit,
    initial: initial,
  ),
) !default;

Description

Global Utility map for multiple properties.

font-family-base

$font-family-base: "proxima-nova", "Lato", "Helvetica Neue", Verdana, Arial,
  sans-serif;

font-size-base

$font-size-base: 16px !default;

Used by

font-weight--thin

$font-weight--thin: 100 !default;

font-weight--light

$font-weight--light: 300 !default;

font-weight--regular

$font-weight--regular: 400 !default;

font-weight--medium

$font-weight--medium: 500 !default;

font-weight--semi-bold

$font-weight--semi-bold: 600 !default;

font-weight--bold

$font-weight--bold: 700 !default;

font-weight-base

$font-weight-base: $font-weight--regular !default;

line-height-base

$line-height-base: 1.25 !default;

letter-spacing-base

$letter-spacing-base: 0.0625em !default;

Used by

units

functions

[private] convert--rem

@function convert--rem() { ... }

Description

Convert pixels too rems with base unit 16px;

Parameters

None.

Returns

Rem

Return rem from pixel value

Requires

Used by

[private] convert--em

@function convert--em() { ... }

Description

Convert pixels to ems with base unit 16px;

Parameters

None.

Returns

Em

Return em from pixel value

Requires

[private] mini-units

@function mini-units($count) { ... }

Description

Get the value of the corresponding number of units and convert to ems

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$count

The number of units to get the value for

Number none

Returns

Em

Em value

Requires

[private] get-type-size

@function get-type-size($step) { ... }

Description

Compute the type size for the given type scale $step

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$step noneNumber none

Returns

Px

Pixel value

[private] type-scale__value

@function type-scale__value($step) { ... }

Description

Get the value in rem of a specific step in the typeScale.

Parameters

parameter Nameparameter Descriptionparameter Typeparameter Default value
$step noneNumber none

Returns

Rem

Return rem value for a scale step

Used by