Skip to content

CSS: ai-gradient

.--background-ai-horizontal — 用于自定义表面的 AI 强调渐变辅助工具,不属于共享的 InstUI 合约。

Source: index.ts

用法

css
@import "@pantoken/plugin-custom-components/custom-components.css";

修饰符

修饰符描述
.--background-ai使用共享的 AI 渐变为元素背景上色。
.--background-ai-horizontalinstructure 横向徽标(深色)。
.--border-color-ai由共享 AI 渐变框出的透明边框。
.--border-color-ai-horizontalinstructure 横向徽标(深色)。

消耗代币

Token类型
--instui-border-width-sm<length>0.0625rem
--instui-color-background-base<color>LightDarklight-dark(#ffffff, #10141A)
--instui-color-stroke-ai-bottom-gradient<color>LightDarklight-dark(#00828E, #04A4B7)
--instui-color-stroke-ai-top-gradient<color>LightDarklight-dark(#9E58BD, #B680CC)