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

@rdna/radiants

v0.1.2

Published

Radiants theme package for DNA - retro pixel aesthetic

Readme

@rdna/radiants

Radiants theme package for DNA (Design Nexus Architecture) — a retro pixel aesthetic design system.

Installation

npm install @rdna/radiants

Usage

CSS Tokens

Import the theme tokens in your CSS:

/* Import all tokens + base styles */
@import '@rdna/radiants';

/* Import dark mode support */
@import '@rdna/radiants/dark';

Or import individual parts:

@import '@rdna/radiants/tokens';      /* Tokens only */
@import '@rdna/radiants/typography';  /* Typography styles */
@import '@rdna/radiants/fonts';       /* Font declarations */
@import '@rdna/radiants/animations';  /* Animation utilities */
@import '@rdna/radiants/base';        /* Base element styles */

React Components

import { Button, Card, Badge } from '@rdna/radiants/components/core';
import { useToast } from '@rdna/radiants/components/core';

function App() {
  return (
    <Card>
      <Badge variant="success">New</Badge>
      <Button variant="primary">Click me</Button>
    </Card>
  );
}

Available Components

  • Layout: Card, Divider
  • Actions: Button, ContextMenu, DropdownMenu
  • Forms: Input, TextArea, Select, Checkbox, Radio, Switch, Slider
  • Feedback: Alert, Badge, Progress, Spinner, Toast, Tooltip
  • Overlays: Dialog, Popover, Sheet, HelpPanel
  • Navigation: Tabs, Breadcrumbs, Accordion
  • Specialty: CountdownTimer, Web3ActionBar

Hooks

import { useMotion } from '@rdna/radiants/hooks';

const { duration, easing } = useMotion();

Semantic Tokens

Use semantic token classes instead of hardcoded colors:

// ✅ Do this
<div className="bg-surface-primary text-content-primary border-edge-primary">

// ❌ Not this
<div className="bg-[#FEF8E2] text-[#0F0E0C]">

Token Categories

| Category | Examples | Purpose | |----------|----------|---------| | surface-* | bg-surface-primary | Backgrounds | | content-* | text-content-primary | Text/foreground | | edge-* | border-edge-primary | Borders/outlines | | action-* | bg-action-primary | Interactive elements | | status-* | bg-status-success | Feedback states |

Dark Mode

Dark mode is automatic with prefers-color-scheme, or manually toggle with classes:

<!-- Force dark -->
<html class="dark">

<!-- Force light -->
<html class="light">

Fonts

This package includes:

  • Joystix Monospace — Heading font
  • PixelCode — Monospace/code font

Mondwest (body font) must be downloaded separately due to licensing:

  1. Purchase/download from Pangram Pangram
  2. Place Mondwest.woff2 and Mondwest-Bold.woff2 in your project's fonts directory
  3. The theme will fall back to system fonts if Mondwest is not available

Requirements

  • React 18+ or 19
  • Tailwind CSS 4
  • Next.js 14+ (optional)

License

GPL-3.0 — See LICENSE for details.

Note: The DNA specification itself is MIT licensed. This theme implementation is GPL-3.0.