Reference · Draw a bracket, a table or a road to the final
Palettetype
The colours of one look. Each is the fallback of a CSS custom property of the same name: --tb-ink and so on.
Import it
import type { Palette } from "@johnmorrisdotca/taisen-brackets";
Definition
interface Palette {
bg: string;
ink: string;
muted: string;
line: string;
box: string;
edge: string;
win: string;
gold: string;
plain: string;
}
Members
| Name | Type | Description |
|---|---|---|
bg | string | |
ink | string | |
muted | string | |
line | string | |
box | string | |
edge | string | |
win | string | |
gold | string | |
plain | string |
Examples
import { THEMES, type Palette } from "@johnmorrisdotca/taisen-brackets";
const dark: Palette = THEMES.dark;
console.log(dark.bg, dark.ink);#141614 #ece8dcWhat it prints (run when this page was built)