@tishlang/tish-desktop-ui-theme
v1.1.4
Published
Shared shadcn-like theme tokens and lattish UI primitives for Tish Desktop
Readme
@tishlang/tish-desktop-ui-theme
Shared design tokens + small lattish primitives for Tish Desktop examples and apps.
Contents
| Path | Role |
|------|------|
| src/theme.css | shadcn-style CSS variables (--background, --primary, …); dark default |
| src/theme-utilities.css | Maps bg-background / text-muted-foreground / … → var(--*) (required — tish-tailwind has no @theme) |
| src/fonts.css | Distinct UI font stack |
| src/ui/*.tish | Button, Card, Section, Input, Badge, Separator, ScrollArea, Toolbar |
| src/index.tish | Re-exports |
Usage
- Depend on the package (
file:or published). - Alias
@tishlang/tish-desktop-ui-themein Vite tosrc/index.tish. - In
build-css.tish, concatenatefonts.css+theme.css+theme-utilities.csswith the tish-tailwind emit, and include themesrc/ui/*.tishinsourceFilesso scanned utilities are emitted. - Import primitives in UI Tish:
import { Button, Section } from "@tishlang/tish-desktop-ui-theme"examples/basic intentionally stays unthemed. Prefer this package for file-browser, native-chrome, and new apps.
