--- title: Style Guide permalink: /styleguide/index.html layout: base eleventyExcludeFromCollections: true customColors: - property: '--color-text' - property: '--color-text-accent' - property: '--color-bg' - property: '--color-bg-accent' - property: '--color-bg-accent-2' - property: '--color-primary' - property: '--color-secondary' - property: '--color-tertiary' customGradients: - property: '--gradient-rainbow' - property: '--gradient-conic' - property: '--gradient-stripes' ---

{{ title }}

All design tokens can be found in src/_data/designTokens.
This includes all baseline fonts, colors, sizes, and spacing.

Colors

{{ designTokens.colors.description }}

    {%- for color in designTokens.colors.items %}
  • var(--color-{{ color.name | slugify }})

  • {%- endfor %}

Custom colors

in variables.css. Some only change for dark theme.

    {%- for color in customColors %}
  • {{ color.property }}

  • {%- endfor %}

Gradients

    {%- for gradient in customGradients %}
  • {{ gradient.property }}

  • {%- endfor %}

Fonts

Sizes

{{ designTokens.sizes.description }}. Fluid type and space scales were generated with Utopia.

{%- for size in designTokens.sizes.items %} {%- endfor %}

{{ size.name }}

{{ size.min }}px to {{ size.max }}px

var(--size-{{ size.name | slugify }})

{{ size.name }}

Spacing

{{ designTokens.spacing.description }}
Fluid type and space scales were generated with Utopia.

{%- for space in designTokens.spacing.items %} {%- endfor %}

{{ space.name }}

{{ space.min }}px to {{ space.max }}px

var(--space-{{ space.name | slugify }})