npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lucasmiqueias/blip-tokens

v1.0.1

Published

Design token system inspired by BLiP's design language

Downloads

14

Readme

BLiP Design Tokens

Um sistema de design completo com tokens, temas e utilitários para produtos BLiP.

⚠️ Aviso: Este é um projeto pessoal inspirado no design system da BLiP. Não é oficial e não possui afiliação com a BLiP.

🎨 Características

  • Tokens em JSON - Para integração com ferramentas de design
  • CSS Custom Properties - Para uso em qualquer framework
  • TypeScript Support - Tipagem completa para projetos JS/TS
  • Temas Dark/Light - Com suporte a tema automático baseado no sistema
  • Utilitários CSS - Classes prontas para uso
  • Extensível - Fácil customização e extensão

📦 Instalação

npm install @lucasmiqueias/blip-tokens

🚀 Uso

CSS Puro

/* Importe todos os tokens e temas */
@import "@lucasmiqueias/blip-tokens/css";

/* Ou importe apenas o que precisar */
@import "@lucasmiqueias/blip-tokens/css/tokens.css";
@import "@lucasmiqueias/blip-tokens/css/themes/light.css";

JavaScript/TypeScript

import { ThemeManager, tokens } from "@lucasmiqueias/blip-tokens";

// Gerenciamento de tema
const themeManager = new ThemeManager();
themeManager.setTheme("dark");

// Acesso aos tokens
console.log(tokens.colors.primary);

React

import "@lucasmiqueias/blip-tokens/css";
import { useTheme } from "@lucasmiqueias/blip-tokens";

function App() {
  const { theme, setTheme } = useTheme();

  return (
    <div className="bg-surface-0 text-content-default">
      <button onClick={() => setTheme("dark")}>Tema Escuro</button>
    </div>
  );
}

🎯 Tokens Disponíveis

Cores

  • Surface: --surface-0 até --surface-4
  • Content: --content-default, --content-ghost, --content-bright
  • Borders: --border-1, --border-2, --border-3
  • Status: --color-success, --color-error, --color-warning

Tipografia

  • Sizes: --font-size-xs até --font-size-4xl
  • Weights: --font-weight-normal, --font-weight-bold
  • Families: --font-family-sans, --font-family-mono

Espaçamento

  • Sizes: --size-0 até --size-12
  • Radius: --radius-sm até --radius-3xl

🌙 Temas

Configuração do Tema

<!-- Tema claro -->
<html data-theme="light">
  <!-- Tema escuro -->
  <html data-theme="dark">
    <!-- Tema automático (segue preferência do sistema) -->
    <html data-theme="auto"></html>
  </html>
</html>

Classes Utilitárias

<!-- Backgrounds -->
<div class="bg-primary">Background primário</div>
<div class="bg-surface-1">Background superficie</div>

<!-- Textos -->
<span class="text-content-default">Texto padrão</span>
<span class="text-error">Texto de erro</span>

<!-- Bordas -->
<div class="border-1 border-primary">Com borda</div>

📂 Estrutura dos Tokens

{
  "colors": {
    "brand": "#0096FA",
    "light": {
      "primary": "#1E6BF1",
      "surface": {
        "0": "#FFFFFF",
        "1": "#F6F6F6"
      }
    },
    "dark": {
      "primary": "#498BFF",
      "surface": {
        "0": "#424242",
        "1": "#393939"
      }
    }
  }
}

🛠️ Desenvolvimento

# Instalar dependências
npm install

# Desenvolvimento
npm run dev

# Build
npm run build

# Lint
npm run lint