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

@syncognito/maya

v1.0.3

Published

Maya Design System - Shared tokens and platform-specific components

Readme

Maya Design System

A comprehensive design system with shared tokens and platform-specific components for React Native and Web applications.

🎯 Structure

maya/
├── tokens/          # Universal shared tokens
├── mobile/          # React Native specific tokens & components
├── web/             # Web platform tokens
├── admin-web/       # Admin dashboard specific tokens
├── user-web/        # User-facing web tokens
└── themes/          # Theme variables and colors

🎨 Shared Tokens (Universal)

Universal tokens that work across all platforms:

  • Colors: Brand colors, semantic colors
  • Border Radius: Scale values
  • Z-Index: Layering scale
  • Animation: Duration and easing

📱 Mobile Platform

Touch-friendly design optimized for React Native:

  • Typography: Larger, more readable text (16px base)
  • Spacing: Touch-friendly spacing with 44px minimum targets
  • Shadows: React Native shadow objects
  • Colors: Mobile-specific color variables

🌐 Web Platform

Web Shared

  • Typography: Standard web typography
  • Spacing: Comfortable web spacing
  • Shadows: Standard web shadows
  • Components: Shared web components (Button, Card)

Admin Web

  • Typography: Compact, functional text
  • Spacing: Dense, efficient spacing
  • Shadows: Subtle elevation

User Web

  • Typography: Friendly, readable text
  • Spacing: Comfortable, user-friendly spacing

🚀 Usage

Import Shared Tokens

import { tokens } from '@syncognito/maya/tokens';

Import Platform-Specific Tokens

// React Native
import { mobileTokens } from '@syncognito/maya/mobile';

// Web shared
import { webTokens } from '@syncognito/maya/web';

// Admin dashboard
import { adminWebTokens } from '@syncognito/maya/admin-web';

// User-facing web
import { userWebTokens } from '@syncognito/maya/user-web';

Import Theme Colors

// Web CSS variables
import '@syncognito/maya/themes/variables.css';

// React Native color objects
import { mayaColors } from '@syncognito/maya/themes/variables.mobile';

Use in Different Apps

// In React Native app
import { mobileTokens } from '@syncognito/maya/mobile';
import { mayaColors } from '@syncognito/maya/themes/variables.mobile';

// In admin web app
import { adminWebTokens } from '@syncognito/maya/admin-web';
import '@syncognito/maya/themes/variables.css';

// In user web app
import { userWebTokens } from '@syncognito/maya/user-web';
import '@syncognito/maya/themes/variables.css';

NativeWind Integration

// tailwind.config.js
const { mobileTokens } = require('@syncognito/maya/mobile');
const { mayaColors } = require('@syncognito/maya/themes/variables.mobile');

module.exports = {
  theme: {
    extend: {
      colors: {
        maya: mayaColors.day, // Use day theme as default
      },
      fontSize: mobileTokens.typography.fontSize,
      spacing: mobileTokens.spacing,
      borderRadius: mobileTokens.borderRadius,
    },
  },
};

🏗️ Development

# Build the design system
pnpm build

# Watch mode
pnpm dev

# Type checking
pnpm type-check

# Linting
pnpm lint

📦 Package Exports

{
  "exports": {
    ".": "./dist/index.js",
    "./tokens": "./dist/tokens.js",
    "./mobile": "./dist/mobile/index.js",
    "./mobile/tokens": "./dist/mobile/tokens.js",
    "./web": "./dist/web/index.js",
    "./web/tokens": "./dist/web/tokens.js",
    "./admin-web": "./dist/admin-web/index.js",
    "./admin-web/tokens": "./dist/admin-web/tokens.js",
    "./user-web": "./dist/user-web/index.js",
    "./user-web/tokens": "./dist/user-web/tokens.js",
    "./themes": "./dist/themes/index.js",
    "./themes/variables.css": "./dist/themes/variables.css",
    "./themes/variables.mobile": "./dist/themes/variables.mobile.js"
  }
}

🎨 Available Themes

  • Day: Light, professional theme
  • Evening: Warm, muted theme
  • Night: Dark theme
  • GenZ: Vibrant, energetic theme
  • Cyberpunk: Futuristic, neon theme
  • Retro: Nostalgic, vintage theme

🎯 Design Philosophy

  • Shared tokens: Only truly universal values
  • Platform optimization: Each platform has its own UX patterns
  • User type separation: Different tokens for admin vs user
  • Component sharing: Web components shared between admin and user
  • Clear hierarchy: Shared → Platform → User Type
  • Developer-friendly: Simple, intuitive naming conventions

📱 React Native Features

  • Touch-friendly: 44px minimum touch targets
  • Native shadows: React Native shadow objects
  • Color objects: Direct color values for NativeWind
  • Typography scale: Mobile-optimized font sizes
  • Spacing system: Touch-friendly spacing values

🌐 Web Features

  • CSS variables: Theme-aware CSS custom properties
  • Component library: Reusable React components
  • Responsive design: Mobile-first approach
  • Accessibility: WCAG compliant design tokens