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

soltana-ui

v0.1.0

Published

A CSS-first design system inspired by classical architecture and precious materials. Features neumorphic, glassmorphic, and hybrid relief systems with a 3-tier configuration model.

Downloads

14

Readme

soltana-ui

npm version License: MIT TypeScript


CSS-first design system with a 3-tier orthogonal configuration model: Theme × Relief × Finish.

DocumentationComponent GalleryPlayground


Features

  • 3-tier orthogonal architecture — Compose theme (color), relief (shadow model), and finish (surface treatment) independently
  • Per-element composition — Apply tier configurations globally or per-element via utility classes
  • Runtime registration — Register custom themes, reliefs, and finishes at runtime
  • 16 accessible enhancers — Modals, tabs, tooltips, accordions, carousels, color pickers, date pickers, and more
  • CSS-first philosophy — All rendering stays in CSS; JS only handles behavior and injects runtime-computed values

Installation

npm install soltana-ui

Quick Start

HTML + CDN

<!DOCTYPE html>
<html data-theme="dark" data-relief="glassmorphic" data-finish="frosted">
  <head>
    <link rel="stylesheet" href="https://unpkg.com/soltana-ui/dist/soltana-ui.css" />
  </head>
  <body>
    <button class="btn btn-primary">Hello Soltana</button>
    <script type="module">
      import { loadSoltanaFonts } from 'https://unpkg.com/soltana-ui';
      loadSoltanaFonts();
    </script>
  </body>
</html>

Import CSS + JS

import 'soltana-ui/css';
import { loadSoltanaFonts, initModals, initTooltips } from 'soltana-ui';

loadSoltanaFonts();
initModals();
initTooltips();

Using SCSS Source

@use 'soltana-ui/scss' as soltana;

The 3-Tier Model

| Tier | Options | Global Activation | Per-Element Class | | ---------- | ---------------------------------------------------- | ----------------------------------- | ---------------------- | | Theme | dark, light, sepia, auto | <html data-theme="dark"> | .theme-dark | | Relief | flat, glassmorphic, skeuomorphic, neumorphic | <html data-relief="glassmorphic"> | .relief-glassmorphic | | Finish | matte, frosted, tinted, glossy | <html data-finish="frosted"> | .finish-frosted |

<!-- Global tier activation -->
<html data-theme="dark" data-relief="neumorphic" data-finish="matte">
  <!-- Per-element tier override -->
  <div class="card theme-light relief-flat finish-glossy">Mixed tier configuration</div>
</html>

Runtime Registration

import { registerTheme, registerRelief, registerFinish } from 'soltana-ui';

// Register a custom theme from seed colors
registerTheme({
  name: 'ocean',
  seedColors: {
    primary: '#0ea5e9',
    secondary: '#06b6d4',
    accent: '#3b82f6',
  },
});

// Register a custom relief
registerRelief({
  name: 'lifted',
  tokens: {
    '--shadow-near': '0 4px 8px rgba(0,0,0,0.2)',
    '--shadow-far': '0 12px 24px rgba(0,0,0,0.3)',
  },
});

PostCSS Tree-Shaking

Remove unused tier CSS in production:

// postcss.config.mjs
import soltanaTreeshake from 'soltana-ui/postcss';

export default {
  plugins: [
    soltanaTreeshake({
      keep: ['dark', 'light', 'glassmorphic', 'neumorphic', 'frosted', 'matte'],
    }),
  ],
};

Ecosystem

| Package | Purpose | | ----------------------------------- | -------------------------------------------------------------- | | @soltana-ui/tokens | Token compiler — outputs Mermaid themes, DTCG JSON, agent docs | | @soltana-ui/react | React bindings — useSoltana() hook, SoltanaProvider | | @soltana-ui/mermaid | Mermaid theme bridge for diagram synchronization |

Documentation

License

MIT License - see LICENSE file for details.