💐 Plumeria
API reference

colors

Colors functions

Mixes dark or light in the proportion specified by the second argument. Returns: <color>

TypeScript
import { css } from '@plumeria/core';
 
const styles = css.create({
  dark_text: {
    color: css.colors.darken('navy', 0.2),
  },
  light_text: {
    color: css.colors.lighten('navy', 0.8),
  },
});

On this page