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

gts-central-library

v0.1.2

Published

A design system and component library for the **Locker Room** product at adidas. This library provides a centralized collection of design tokens, React components, and utilities to ensure visual consistency and accelerate development.

Readme

GTS Central Library

A design system and component library for the Locker Room product at adidas. This library provides a centralized collection of design tokens, React components, and utilities to ensure visual consistency and accelerate development.

Purpose

GTS Central Library serves as the single source of truth for:

  • Design Tokens — Colors, typography, spacing, motion, and shadows as CSS custom properties
  • React Components — Production-ready, accessible components built with TypeScript
  • Icons — A curated icon set optimized for the Locker Room ecosystem

This package is designed to be consumed by AI-powered design and development tools such as Figma Make and Lovable, enabling rapid prototyping and consistent implementation across platforms.

Installation

npm install gts-central-library
bun add gts-central-library

This package expects your app to provide React and React DOM (^18 || ^19).

Lovable + Vite Compatibility

For Lovable projects (or any Vite app), if you encounter duplicate React/runtime issues, dedupe React in your app's Vite config:

// vite.config.ts
import { defineConfig } from "vite";

export default defineConfig({
  resolve: {
    dedupe: ["react", "react-dom"],
  },
});

Quick Start

Import the global styles to access all design tokens:

import 'gts-central-library/styles';

Use components in your application:

import { Button, Icon } from 'gts-central-library';

function App() {
  return (
    <Button variant="primary" size="medium">
      Get Started
      <Icon name="arrow-right" />
    </Button>
  );
}

Design Tokens

All tokens use the --gts- prefix and are organized by category:

| Category | Prefix | Example | | ---------- | -------------------------- | ------------------------------ | | Colors | --gts-color-* | --gts-color-bg-canvas | | Typography | --gts-body-font-set-* | --gts-body-font-set-size-7 | | Spacing | --gts-spacing-* | --gts-spacing-0100 | | Motion | --gts-motion-* | --gts-motion-duration-base | | Shadows | --gts-web-shadow-* | --gts-web-shadow-elevation-1 |

Token Source of Truth

  • src/tokens/ is the canonical token source (DTCG-style JSON).
  • bun run tokens:spec:check validates token schema consistency across all token files.
  • bun run tokens:build validates the schema, then generates CSS in src/styles/0_tokens/.
  • Typography CSS variables are generated from src/tokens/typography/styles.json.

Documentation

Run Storybook locally to explore components and tokens:

bun install
bun run storybook

Tech Stack

  • React 18/19 with TypeScript
  • Vite for build tooling
  • Tailwind CSS v4 + CSS Custom Properties
  • Class Variance Authority for component variants
  • Storybook for documentation

License

Proprietary — adidas internal use only.