Secondary Color

New

Typlog has added a secondary color setting. The original color becomes "primary color". Check out the changes in Settings → Themes & Design:

colors

The primary color and secondary color will be used by theme designers. They are available in css variables:

:root {
--t-rc-primary: 0,0,0;
--t-on-primary: 255,255,255;
--t-rc-secondary: 255,255,255;
--t-on-secondary: 0,0,0;
}

The --t-on-{type} is the rgb color that should be used with --t-rc-{type} background. e.g. the background color is in a dark color, therefore the text color should be white.