Skip to content

pantoken / custom-theme-colors

custom-theme-colors

Behta

@pantoken/plugin-custom-components — muhtun komponentat mávssolaš oktasašvuođaid.

Geavah skopadet :root[data-pantoken-color="…"] ja :root[data-pantoken-theme="canvasHighContrast"][data-pantoken-color="…"] ráhkad duopmo buot 13 fargga nammaservodat (navy, blue, green, red, orange, grey, plum, violet, stone, sky, honey, sea, aurora).)

Example

ts
import { toCss } from "@pantoken/css";
import { byTheme } from "@pantoken/tokens";
import { customThemeColors } from "@pantoken/plugin-custom-theme-colors";

const css = toCss(byTheme("rebrand"), { plugins: [customThemeColors()] });

Interfáčat

Type-aliasat

Variáblat

Fuššat

Referenssat

default

Ođasmahttá ja re‑exporteárvot customIcons