RoadPalette型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What the road look adds to a palette: the ring and the hairline round a mark, the pill behind a round's name, and the road's dots. Custom properties --tb-mark-ring, --tb-mark-edge, --tb-panel and --tb-spine.
インポート
import type { RoadPalette } from "@johnmorrisdotca/taisen-brackets";
定義
interface RoadPalette {
ring: string;
edge: string;
panel: string;
spine: string;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
ring | string | |
edge | string | |
panel | string | |
spine | string |
例
import { ROAD_THEMES, type RoadPalette } from "@johnmorrisdotca/taisen-brackets";
const light: RoadPalette = ROAD_THEMES.light;
console.log(light.ring, light.spine);#ffffff #b9b39f出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。