@depict-ai/js-ui
/@depict-ai/react-ui
directly, or try importing @depict-ai/plp-styling
which will already be installed as a transient dependency if you have either ui package installed. When importing the style module with @use
, you can configure is as below.
$border-radius
variable and see what happens!
The first three lines define your customization through variables, and the last line imports the actual styling. When you import the actual styling, it’s important that you specify whether you want the styling for "search"
, "category"
, or both ("all"
).
"base"
, "neutral"
, "subtle"
, and "inverse"
), and each type has four different states ("default"
, "hover"
, "pressed"
, and "disabled"
).
Example palette configurations:
"default"
state. If the "default"
state isn’t specified for the type, the "default"
state of the "base"
type will be converted to be used, if that isn’t specified, a static default color will be used.
Before and after the custom styling from the above code example