@iterlife/theme-dark-universe
v0.1.0
Published
IterLife shared dark universe theme foundation package.
Readme
@iterlife/theme-dark-universe
Shared dark-universe theme foundation package for IterLife frontends.
Installation
pnpm add @iterlife/theme-dark-universeUsage
Import the theme entry from the application bootstrap:
import '@iterlife/theme-dark-universe'Enable the theme on the document root:
document.documentElement.setAttribute('data-theme', 'dark-universe')Nuxt applications can register the shared CSS in nuxt.config.ts:
export default defineNuxtConfig({
css: ['@iterlife/theme-dark-universe'],
})For pre-release local integration across sibling repositories, consumers may
temporarily use a file: dependency pointing to this package directory. After
the first npm release, switch consumers back to a normal registry version.
Package contents
dist/index.cssdist/tokens.cssdist/background.css
License
Apache-2.0
