@logan-olsen/theme
v0.1.0
Published
Design tokens and Tailwind v4 theme for the `@logan-olsen` packages.
Downloads
722
Readme
@logan-olsen/theme
Design tokens and Tailwind v4 theme for the @logan-olsen packages.
Install
npm install @logan-olsen/themeRequires tailwindcss v4 as a peer dependency.
Usage
Import the base CSS in your app entry point:
@import "@logan-olsen/theme";Then import one or more themes. Each theme ships as its own stylesheet (with the fonts it needs) so you only pull in the ones you use:
@import "@logan-olsen/theme/tusken";
@import "@logan-olsen/theme/vesta";Available themes: tusken, vesta, dathomir. To pull in every theme at once,
import the bundle instead:
@import "@logan-olsen/theme/themes";Activate a theme by setting data-brand on an ancestor element (e.g.
<html data-brand="tusken">).
Tailwind preset (optional)
// tailwind.config.ts
import { tokens } from "@logan-olsen/theme/preset";