v0.2.0
@starbemtech/react-starsystem@0.2.0
Minor Changes
- 47ea71a: Adiciona suporte real a dark mode em todos os 26 componentes da lib (bordas, backgrounds, textos e estados de foco/hover), via
dark:do Tailwind. Opt-in: consumidores ativam adicionando a classe.darkem qualquer ancestral (tipicamente<html>), independente de preferência do sistema. Cores de marca e cores semânticas de status (Alert, Badge, Toast) permanecem invariantes ao tema.
🔖 Commits
Changes since v0.1.2:
073cb4cchore: version packages47ea71afeat: add real dark mode support to all 26 componentsf190187feat(docs-site): story example cards follow dark theme961f296fix(docs-site): make Home cards and story canvas theme-awareb84a344feat(docs-site): add dark theme toggle to the header17cedb3fix(docs-site): show real usage code, not the Story objectf29045efeat(docs-site): show real source code per story example
📦 Install
pnpm add @starbemtech/react-starsystem@0.2.0🚀 Basic usage
import { Button } from '@starbemtech/react-starsystem'
import '@starbemtech/react-starsystem/style.css'🎨 Design Tokens
import { colors, fontFamily, fontSize, spacing, borderRadius } from '@starbemtech/react-starsystem'
// colors
colors.primary.base // #FF5100
colors.secondary.base // #8660EC
colors.terciary.base // #ED2E98