Skip to content

pantoken-root / formats/css/src / MultiScopeCssOptions

接口: MultiScopeCssOptions ​

Beta

用于 toCss 的选项。

扩展 ​

属性 ​

includeIcons? ​

optional includeIcons?: boolean

Beta

用于从中获取 --instui-* 层的主题(默认 "rebrand")。

继承自 ​

ScopedCssOptions.includeIcons


plugins? ​

optional plugins?: readonly PantokenPlugin[]

Beta

其 css 钩子在基础 CSS 构建完成后运行的插件(默认:无)。

继承自 ​

ScopedCssOptions.plugins


themes ​

themes: readonly Theme[]

Beta

要为其生成作用域块的主题列表。


defaultTheme ​

defaultTheme: Theme

Beta

现成的 rebrand 样式表字符串(类型:将具体令牌作为 @property 注册)。


schemes? ​

optional schemes?: boolean

Beta

是否包含浅/深色的 color-scheme 固定定义(默认 true;参见 schemesCss)。