Global styles

Make the updates below to improve our theming experience.

Global

  • Update src/patterns/global/global.scss with the following changes.

html {
  @include font-stack-primary;
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  box-sizing: border-box;
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.5;
}

Mixins

  • Replace the content of src/patterns/global/util/_mixins.scsswith the code below:

Typography

  • Replace all existing typography styles in src/patterns/global/utils/_typography.scss with the code below.

Color variables

  • Replace all existing color variables in src/patterns/global/colors/_colors.scss with the code below.

Breakpoints

Add the following breakpoint to the existing list of breakpoints in src/global/utils/_breakpoints.scss

Last updated

Was this helpful?