CONFERENCE_COLORS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The colours of the two halves (conferences) of the layouts that colour them, each with white letters on it: --tb-conf-a and --tb-conf-b. Both read 5 to 1 or more against white.
インポート
import { CONFERENCE_COLORS } from "@johnmorrisdotca/taisen-brackets";
定義
const CONFERENCE_COLORS: readonly [string, string] = Object.freeze(["#2457c5", "#b3261e"] as const)
例
import { CONFERENCE_COLORS } from "@johnmorrisdotca/taisen-brackets";
console.log(CONFERENCE_COLORS);[ '#2457c5', '#b3261e' ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。