@epilot/spark-ui
v1.0.0-alpha.2
Published
React UI component library from Spark SDK
Maintainers
Keywords
Readme
@epilot/spark-ui
React UI component library for Spark SDK.
Installation
npm install @epilot/spark-ui
# or
bun add @epilot/spark-uiStyles (required)
Import the UI package styles once (e.g. in your app entry). This ships:
- Radix color tokens as CSS variables (e.g.
--slate-1,--mauve-a8, …) - Default Spark brand tokens as CSS variables (e.g.
--spark-9,--spark-a3, …) - Precompiled Tailwind utilities used by the components (e.g.
bg-spark-10)
Theme selectors follow the same convention as the portal:
:root, .light, .light-theme and .dark, .dark-theme.
import '@epilot/spark-ui/styles'