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

phosphor-console-theme

v0.2.0

Published

Phosphor Console — a NERV/MAGI tactical Material UI (v9+) theme plus a paired console component library. Dark-only CRT command deck: color is state, active = figure/ground inversion, mechanical motion, bimodal bilingual type.

Downloads

217

Readme

The Phosphor Console

A NERV/MAGI tactical UI system — an Evangelion-inspired design language, a production Material UI v9 theme, and reference implementations.

Everything luminous blooms on true black. This is not a dark theme — it is a CRT command deck. Information is drawn in glowing phosphor mint, cut with safety orange chrome and blood-red alarms. There is no elevation, no glass, no soft depth. Hierarchy is built from three materials only: border, glow, and hue — dense, all-caps, bilingual (EN + JP), animated in abrupt mechanical steps.

It is a product-register system (design serves the task) that is also a themeable library: the same tokens power app screens (dashboards, forms, wiki) and brand surfaces (landing pages). The bar is that a NERV screen from Neon Genesis Evangelion and a screen built with this system should be indistinguishable in grammar.


Quick start (the MUI theme)

A production Material UI v9 theme, published as phosphor-console-theme.

Version 0.2 requires React 19 and Material UI 9. When upgrading from 0.1, upgrade react, react-dom, and @mui/material together; the component library now uses React 19's ref-as-prop support for root element refs.

npm i phosphor-console-theme @mui/material @emotion/react @emotion/styled
# optional: @mui/icons-material @mui/x-data-grid
import { ThemeProvider, CssBaseline } from '@mui/material';
import { theme } from 'phosphor-console-theme';

export default function App() {
  return (
    <ThemeProvider theme={theme} defaultMode="dark">
      <CssBaseline /> {/* installs the CRT pass, keyframes, reduced-motion guard */}
      {/* … */}
    </ThemeProvider>
  );
}

CssBaseline is required — it installs the CRT scanline/vignette overlay, the blink keyframes the overrides depend on, and the prefers-reduced-motion path. See theme/README.md for tokens, custom variants, and the full component map, and components/README.md for the paired console component library (import { Stamp, ... } from 'phosphor-console-theme/components').

Working in this repo (not consuming the published package)? Source lives in theme/ and components/; app/ imports them directly for live HMR (see theme/README.md).

Two schemes

| Scheme | Role | | --- | --- | | dark (default) | The canonical Phosphor Console — black field, phosphor glow, CRT pass. | | light | The Blueprint schematic variant — pale field, dark ink, hairline traces, no glow, no CRT. A deliberate exception, not a generic light mode. |

cssVariables is on, so scheme-varying tokens switch without a re-render.


The non-negotiable rules

  1. Black is the only surface (#0A0A0A). No elevation grays, no drop shadows, no glass. Depth = border + glow + hue.
  2. Color is state. mint = nominal/primary · orange = chrome only (never a data value) · blue = pending · amber = caution · red = critical.
  3. Filled means active. Idle = outline on black; active/selected = solid hue fill with black content punched out. No glow on the content.
  4. Everything important is boxed (a .stamp). Blinking = in-progress; solid fill = recorded/active.
  5. Bimodal type. One giant element (kanji / numeral / heading) + tiny captions. Display = condensed ALL CAPS; data = monospace; JP = Mincho.
  6. Bilingual pairing. A large kanji always carries a small English caption (内部 / INTERNAL).
  7. Mechanical motion only. steps() / setInterval / linear — never eased, spring, or bounce. Always ship a prefers-reduced-motion path.
  8. CRT pass (scanline + vignette) on every dark screen.

Absolute bans: elevation shadows, glassmorphism, gradient text, colored side-stripe borders, lowercase UI chrome, orange as a data value, glow on black-on-fill content.


Documentation

Two root docs are the authority — read both before building or editing any screen or the theme:

  • PRODUCT.md — strategy: users, purpose, personality (bold · confident · distinctive), anti-references, the 5 design principles, and the WCAG 2.1 AA + reduced-motion bar.
  • DESIGN.md — the visual system spec: North Star, tokens, typography, elevation=none, components, do's/don'ts.

Supporting references:


Repo layout

DESIGN.md · PRODUCT.md · design-system.html      # design authority
DESIGN-SYSTEM.md · REFERENCE-ANALYSIS.md         # research
EXPERIMENTS-SPEC.md                              # spec for new HTML studies
theme/                                           # the MUI v7 theme
sample-layouts/                                  # reference implementations
experiements/                                    # standalone HTML studies
references-chosen/                               # the 23 source GIFs
references/zapac-material-ui/                     # a reference MUI theme (not verbatim)

Reference implementations in sample-layouts/ — self-contained HTML, no build, no network:

  • dashboard-0{1,2,3}.html — command-console dashboards
  • form-0{1,2}.html — filing / data-entry forms
  • landing-page-0{1,2}.html — brand surfaces
  • wiki.html — long-form reading surface

The experiements/ folder holds ~40 standalone studies that explore individual patterns.


Accessibility

Targets WCAG 2.1 AA, held as a real bar:

  • Body text ≥ 4.5:1 against its background; large/bold ≥ 3:1. The black-on-fill inversion is both the brand grammar and the higher-contrast choice.
  • Visible keyboard focus on every interactive control (:focus-visible, never removed without a replacement ring).
  • prefers-reduced-motion is honored on every animation, in both CSS and JS — killing blinks, strobes, and marquees while rendering the final settled state.
  • Status is reinforced beyond hue: semantic colors travel with a boxed kanji + English stamp, so a state is legible without color discrimination alone.

Conventions

  • Prefer the tokens/components in theme/ and the patterns in the reference implementations over reinventing. Branch out only when the UX wins.
  • Verify visual work in the browser (screenshot) before calling it done; check the console and exercise at least one interaction.
  • Never hardcode a hex or size that isn't traceable to a token in theme/tokens.ts.