Skip to content

CSS: ai-gradient

.--background-ai-horizontal — AI-accent gradient helpers intended for custom surfaces, not the shared InstUI contract.

Source: index.ts

Usage

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

Modifiers

ModifierDescription
.--background-aiPaint the element background with the shared AI gradient.
.--background-ai-horizontalinstructure horizontal logo (dark).
.--border-color-aiA transparent border framed by the shared AI gradient.
.--border-color-ai-horizontalinstructure horizontal logo (dark).

Tokens consumed

TokenTypeValue
--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)