Skip to content

Latest commit

 

History

History

README.md

@stylexswc/design-system

Part of the StyleX SWC Plugin workspace

A design system built with StyleX for workspace examples, offering reusable components and design tokens exclusively for internal use.

Installation

This package is private and intended for internal use within the StyleX workspace examples.

pnpm add @stylexswc/design-system

Usage

Importing Components

import { Text } from '@stylexswc/design-system';

Using Design Tokens

import tokens from '@stylexswc/design-system/tokens.stylex';

// Use tokens in your StyleX styles
const styles = stylex.create({
  container: {
    backgroundColor: tokens.pink7,
  },
});

License

MIT — see LICENSE