Robert Birming

Bearming tokens

  1. Bear Blog library
  2. Themes

Using Bearming and want to add styles from the library? Add these tokens to your theme first.

The library is built on Bear's default tokens, like --link-color and --text-color. Bearming uses its own, like --link and --text. This small bridge points one set to the other, so everything picks up your Bearming colors, in light and dark mode.

Paste it anywhere in your theme's CSS:

/* Bearming tokens | robertbirming.com */
:root {
  --background-color: var(--bg);
  --text-color: var(--text);
  --heading-color: var(--text);
  --link-color: var(--link);
  --visited-color: var(--visited);
  --code-background-color: var(--surface);
  --code-color: var(--text);
  --blockquote-color: var(--muted);
  --font-scale: var(--font-size);
}

That's it. Styles and add-ons from the library will now follow your Bearming colors.

Want more? Check out the full Bear Blog library.