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)