Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Jul 18:31

@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 .dark em 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:

  • 073cb4c chore: version packages
  • 47ea71a feat: add real dark mode support to all 26 components
  • f190187 feat(docs-site): story example cards follow dark theme
  • 961f296 fix(docs-site): make Home cards and story canvas theme-aware
  • b84a344 feat(docs-site): add dark theme toggle to the header
  • 17cedb3 fix(docs-site): show real usage code, not the Story object
  • f29045e feat(docs-site): show real source code per story example

Full diff


📦 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