@shumoku/core · 0.4.2 · function
getThemeFromCSS
APIの説明は英語のcanonical sourceを表示しています。
Get theme from CSS variables
getThemeFromCSS(root?: HTMLElement): Partial<Theme> パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
root | HTMLElement | 追加説明はありません。 | document.documentElement |
戻り値
Partial<Theme> libs/@shumoku/core/src/libs/@shumoku/core/src/themes/utils.ts:81