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

@mowbie/brand

v1.0.2

Published

Mowbie brand design tokens — colours, typography, spacing, and radius for web and React Native

Downloads

48

Readme

@mowbie/brand

Mowbie's shared design tokens — colours, typography, spacing, and radius — for consistent branding across web app, mobile app, and website.

Installation

npm install @mowbie/brand

Usage

Core tokens (any platform)

import { brand, hslToHex } from "@mowbie/brand";

// Access colour tuples [h, s, l]
const primary = brand.colors.light.primary; // [234, 85, 60]
const hex = hslToHex(primary); // "#4254f0"

// Typography
brand.fonts.heading; // "'Plus Jakarta Sans', system-ui, ..."
brand.fonts.weights.bold; // 700

// Spacing (4px base unit)
brand.spacing.scale["4"]; // 16

// Border radius
brand.radius.lg; // 12

Web app (React + Tailwind)

import { generateCssVars, tailwindFontFamily } from "@mowbie/brand/web";

// Generate CSS variables from tokens
const lightVars = generateCssVars("light");
// { "--primary": "234 85% 60%", "--accent": "187 85% 43%", ... }

// Get Tailwind font family array
const fontFamily = tailwindFontFamily();
// ["'Plus Jakarta Sans'", "system-ui", "-apple-system", "sans-serif"]

React Native / Expo

import { mowbieTheme } from "@mowbie/brand/native";

// Hex colours ready for StyleSheet
mowbieTheme.colors.light.primary; // "#4254f0"
mowbieTheme.colors.dark.primary; // "#516cf6"

// Numeric spacing
mowbieTheme.spacing["4"]; // 16

// Font names for Expo
mowbieTheme.fonts.heading; // "PlusJakartaSans-Bold"
mowbieTheme.fonts.body; // "PlusJakartaSans-Regular"

// React Native shadows
mowbieTheme.shadows.md;
// { shadowColor: "#000", shadowOffset: { width: 0, height: 2 },
//   shadowOpacity: 0.07, shadowRadius: 4, elevation: 3 }

// Chart colours
mowbieTheme.colors.chart.light; // ["#4254f0", "#10b5cb", ...]

// Gradient endpoints
mowbieTheme.colors.gradient.light; // { start: "#4254f0", end: "#10b5cb" }

Updating

When brand tokens change in the web app project:

  1. Edit packages/brand/src/index.ts (the single source of truth)
  2. Run npm run brand:publish from the project root to bump version, build, and publish
  3. Run npm update @mowbie/brand in the mobile app project

Font loading

Web

Plus Jakarta Sans is loaded via Google Fonts in client/index.html. No action needed.

React Native / Expo

Install the font package:

npx expo install @expo-google-fonts/plus-jakarta-sans expo-font

Then load it in your app entry:

import { useFonts, PlusJakartaSans_400Regular, PlusJakartaSans_500Medium, PlusJakartaSans_600SemiBold, PlusJakartaSans_700Bold } from "@expo-google-fonts/plus-jakarta-sans";