Ndigo theme
Ndigo brand tokens (–nd-*) plus the opt-in base layer for native elements.
Theme · tokens
Install
Section titled “Install”npx shadcn@latest add https://ndigo.dev/r/theme.jsonTo use the shorter @ndigo/theme form, configure the namespace in components.json.
| Source | Target | Type |
|---|---|---|
tokens/ndigo-tokens.css |
styles/ndigo-tokens.css |
registry:file |
theme/base.css |
styles/ndigo-base.css |
registry:file |
Live example
Section titled “Live example”See this component rendered live on the live examples page.
Dependencies
Section titled “Dependencies”None.
Import styles/ndigo-tokens.css before the base layer. Set data-theme="light" for the light palette; leaving it unset follows the operating system.