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

@flyto2/design-tokens

v0.1.0

Published

Shared design tokens for the Flyto Platform — purple/cyan brand, dark-first, used by flyto-cloud (Vue + UnoCSS) and flyto-cortex (React + Mantine + Tailwind).

Readme

@flyto2/design-tokens

npm License Website Docs

Canonical design values for the Flyto Platform — shared between flyto-cloud (Vue 3 + UnoCSS) and flyto-cortex (React 19 + Mantine v8 + Tailwind v4). One source of truth for colours, gradients, shadows, animations, radii, spacing, typography.

Dark-only. Purple brand (#8B5CF6) × cyan accent (#06B6D4) × pink/orange secondary accents.

Install

Today this lives in-repo and is consumed via a relative path. Add to the consumer's package.json:

{
  "dependencies": {
    "@flyto2/design-tokens": "file:../flyto-design-tokens"
  }
}

(When we publish, flip file: → semver.)

Consume

JavaScript / TypeScript

import {
  purple, cyan, semantic,
  brandPrimary, glassCard,
  shadowTokens, glow,
  durations, easings, animationShorthands,
  radiiTokens, layout, fonts, typeScale,
} from '@flyto2/design-tokens'

// Mantine theme
createTheme({
  colors: { violet: [/* derive from purple[50..900] */] },
  primaryColor: 'violet',
  defaultRadius: 'lg',
  fontFamily: fonts.sans,
  shadows: shadowTokens,
})

// Inline style
<div style={{ background: glassCard, boxShadow: glow.purple }} />

CSS

@import '@flyto2/design-tokens/css';          /* :root { --flyto-* ... } */
@import '@flyto2/design-tokens/css/animations';

.card {
  background:    var(--flyto-gradient-glass-card);
  border-radius: var(--flyto-radius-2xl);
  box-shadow:    var(--flyto-shadow-card);
  transition:    var(--flyto-transition-normal);
}

.card:hover {
  box-shadow: var(--flyto-shadow-card-hover), var(--flyto-glow-purple);
  animation:  var(--flyto-duration-normal) var(--flyto-ease-standard) flyto-fade-in-up;
}

UnoCSS preset (Cloud)

Map tokens → utilities with a short preset — e.g. bg-flyto-purple--flyto-purple-500, shadow-flyto-card--flyto-shadow-card.

What's inside

| Module | Contains | |---------------|---------------------------------------------------| | colors | purple / cyan / pink / orange scales, semantic, | | | surface, text, border, presence wheel, category | | gradients | brand / border-flow / glass / blob / node recipes | | shadows | elevation scale + branded glows + focus ring | | animations | keyframe names, durations, easings, shorthands | | radii | rect / node scales | | spacing | spacing scale, layout constants, fonts, type |

Invariants

  • Dark only. Never add light-mode overrides here. If light ever ships, it lives in a separate file + opt-in import.
  • 135° gradients by convention. Anything else is a one-off, not a token.
  • No emoji. Icon semantics belong to each product (cortex uses lucide-react; cloud uses lucide-vue-next).
  • Purple before blue. #8B5CF6 is the Flyto brand colour; the blue in gradients is cyan (#06B6D4), never a true blue.

Changelog

See repo-level CHANGELOG. Bumping a token here is a platform-wide change — expect both Cloud and Cortex to rebuild their theme shell.