Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@shumoku/core · 0.4.2 · function

applyThemeToCSS

ソース

APIの説明は英語のcanonical sourceを表示しています。

Apply theme to CSS variables

applyThemeToCSS(theme: Theme, root?: HTMLElement): void

パラメーター

名前 型 説明 既定値
theme Theme 追加説明はありません。 —
root HTMLElement 追加説明はありません。 document.documentElement

戻り値

void

libs/@shumoku/core/src/libs/@shumoku/core/src/themes/utils.ts:32