The Coline design system: accessible React components for Coline Apps, themed live by the host workspace, and for Coline Sites in light and dark. Tailwind v4 stylesheet included. MIT.
| 1 | // @colineapp/ui — the tier-2 React component library for Coline Apps |
| 2 | // (plan §7.2.4). Skeleton only in Phase 0; components land with Phase 4, |
| 3 | // scoped to what the Notes editor needs. |
| 4 | // |
| 5 | // Design constraints locked in now: |
| 6 | // - Components consume injected theme tokens ONLY (host controls dark mode |
| 7 |
| // and future brand changes). |
| 8 | // - The package boundary is platform-neutral; a native renderer may back |
| 9 | // these components later (plan §13). |
| 10 | // - Overlays that must escape the sandbox frame are RPC'd to the host. |
| 11 |
| 12 | export const COLINE_UI_PACKAGE = "@colineapp/ui" as const; |
| 13 |