Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

ds-leobecker

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ds-leobecker

DS Leo Becker — Tailwind 4 theme + shadcn/ui + 5 custom components

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

DS Leo Becker

Design system oficial da LBK Content House. Tailwind 4 + shadcn/ui. Brutalist, monocromático, zero-radius por padrão.

Storybook: https://leobeckerdesign.github.io/ds-leobecker/ npm: https://www.npmjs.com/package/ds-leobecker

Instalação

pnpm add ds-leobecker

Uso

/* app.css */
@import "tailwindcss";
@import "ds-leobecker/theme";
import { StripeButton, BadgeDot, Pill, AccentDot, BackgroundPattern } from "ds-leobecker";

<StripeButton variant="accent">Deploy now</StripeButton>
<BadgeDot label="LIVE" variant="success" />

Aplique o modo desejado no <html>:

<html class="dark">   <!-- padrão -->
<html class="light">  <!-- modo claro -->

O que vem no pacote

  • Tema Tailwind 4@theme inline com paleta OKLch, 2 modos (dark + light)
  • 5 componentes custom: StripeButton, BadgeDot, AccentDot, BackgroundPattern, Pill
  • figma-variables.json — importável no Figma via UI ou REST API
  • tokens.json (DTCG-like) — fonte única pra outras ferramentas

Os componentes shadcn/ui são instalados via CLI no projeto consumidor. O tema herda automaticamente.

Desenvolvimento

pnpm install
pnpm run build:tokens     # tokens.json → theme.css + figma-variables.json
pnpm run storybook        # dev server local (http://localhost:6006)
pnpm run build            # build completo (tokens + tsc)
pnpm run build-storybook  # build estático do Storybook

Adicionar novo componente shadcn

pnpm dlx shadcn@latest add <component>

Componentes vão em src/ui/. Crie uma story em stories/components/primitives/<Name>.stories.tsx.

Release

Usamos Changesets pra versionamento.

pnpm run changeset        # descreve a mudança (escolhe patch/minor/major)
git commit + push         # abre PR

Após merge em main, o GitHub Action abre uma "Version Packages" PR automática. Merge dessa PR publica no npm + builda Storybook + deploy GH Pages.

Estrutura

ds-leobecker/
├── .storybook/           # config Storybook
├── src/
│   ├── tokens/           # tokens.json (fonte única)
│   ├── theme.css         # gerado (Tailwind 4 @theme)
│   ├── components/       # 5 custom
│   ├── ui/               # shadcn primitives (copiados via CLI)
│   ├── lib/
│   └── index.ts
├── stories/
│   ├── Introduction.mdx
│   ├── foundations/      # MDX: Colors, Typography, Radius, Shadow, Motion, Principles
│   ├── components/
│   │   ├── custom/
│   │   └── primitives/
│   └── patterns/
├── scripts/
│   └── build-tokens.ts
├── reference/            # HTMLs/CSS legados arquivados
└── .github/workflows/

Licença

MIT

Keywords

design-system

FAQs

Package last updated on 15 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts