pre[class*='language-'] {
  width: 100%;
  padding: calc(var(--spacing-grid-size) * 4);
  background-color: var(--color-theme-background);
  color: var(--color-theme-text);
  overflow: auto;
}

pre[class*='language-'],
code[class*='language-'] {
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: var(--font-size-small);
  text-align: left;
  line-height: var(--line-height-small);
  white-space: pre;
  word-spacing: normal;
  -webkit-hyphens: none;
      -ms-hyphens: none;
          hyphens: none;
  word-break: normal;
  word-wrap: normal;
  -moz-tab-size: 2;
       tab-size: 2;
}

/* stylelint-disable selector-class-pattern, font-weight-notation */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: var(--color-theme-text);
}

.token.punctuation {
  color: var(--color-theme-text--subtle);
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: var(--color-ui-error);
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: var(--color-ui-success);
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: var(--color-ui-accent--hover);
}

.token.function {
  color: var(--color-product-critical-mass);
}

.token.regex,
.token.important,
.token.variable {
  color: var(--color-product-new-horizon);
}

.token.important,
.token.bold {
  font-weight: 600;
}

.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}
/* stylelint-enable */
