Framework-agnostic design tokens and brand assets for the Synetics ecosystem.
- ✅ Complete color palette (primary, secondary, neutral, success, warning, error)
- ✅ Spacing scale (xs → 4xl)
- ✅ Typography system (fonts, sizes, weights, line heights)
- ✅ Shadow tokens
- ✅ Border radius tokens
- ✅ Transition tokens
- ✅ Art-Kit: 66 brand assets (3 logos + 63 icons) auto-generated from SVG files
- ✅ Full TypeScript support with auto-completion
- ✅ Framework agnostic (works with any framework)
pnpm add @synetics/design-tokensimport {
colorTokens,
spacingTokens,
typographyTokens,
shadowTokens,
borderRadiusTokens,
transitionTokens
} from '@synetics/design-tokens'
// Use in components
const buttonColor = colorTokens.primary[500]
const padding = spacingTokens.md
const fontSize = typographyTokens.fontSize.baseimport { PULSAR_LOGO_SVG, ICONS } from '@synetics/design-tokens/art-kit'
// Use logos
const logo = PULSAR_LOGO_SVG
// Use icons (63 available)
const typescriptIcon = ICONS.typescript
const reactivityIcon = ICONS.reactivity
const saveIcon = ICONS.save
// Generate markdown
import { markdownLogo, markdownIcon } from '@synetics/design-tokens/art-kit'
const logoMd = markdownLogo('logo', 'Synetics Logo', 200)
// '<img src="..." alt="Synetics Logo" width="200" />'
const iconMd = markdownIcon('typescript', 'TypeScript', 24)
// '<img src="..." alt="TypeScript" width="24" />'Full color scales (50-950) for:
primary- Bluesecondary- Purpleneutral- Graysuccess- Greenwarning- Ambererror- Red
xs: 4pxsm: 8pxmd: 16pxlg: 24pxxl: 32px2xl: 48px3xl: 64px4xl: 96px
- Font families:
sans,serif,mono - Font sizes:
xs→5xl - Font weights:
light,normal,medium,semibold,bold - Line heights:
tight,normal,relaxed
none,sm,md,lg,xl,2xl,inner
none,sm,md,lg,xl,2xl,full
- Duration:
fast(150ms),normal(300ms),slow(500ms) - Timing:
linear,easeIn,easeOut,easeInOut
The art-kit includes 66 brand assets auto-generated from SVG files:
- 3 Logo Variants: icon, full logo, logo with name
- 63 Icons: typescript, react, vue, angular, git, docker, kubernetes, and more
-
Add SVG file to
art-kit/SVG/with naming convention:- Icons:
icon-{name}.svg - Logos:
pulsar-{variant}.svg
- Icons:
-
Regenerate the index:
pnpm build:art-kit
The index.ts file is automatically generated with full type safety. See art-kit/GENERATOR.md for details.
All tokens and art-kit assets are fully typed with readonly interfaces.
import type { IColorTokens, ISpacingTokens, IconName } from '@synetics/design-tokens'- Core design token system
- Art-kit with auto-generation
- 66 brand assets (logos + icons)
- TypeScript support with full type safety
- Framework-agnostic implementation
- CSS variable export for runtime theming
- Additional icon categories
- Documentation site integration
- Dark mode token variants
- Animation token system
- Component-specific token presets
- Figma design tokens integration
- Additional resolution formats for art-kit
| Package | Description | Status |
|---|---|---|
| synetics.dev | Core framework with signal-based reactivity | ✅ Active |
| @synetics/ui | UI component library | ✅ Active |
| @synetics/design-tokens | Design tokens & art-kit | ✅ Active |
| @synetics/transformer | JSX to DOM compiler | ✅ Active |
| @synetics/vite-plugin | Vite integration | ✅ Active |
| @synetics/demo | Example applications | ✅ Active |
We welcome contributions! To get started:
-
Clone the repository
git clone https://github.com/binaryjack/synetics-design-system.git cd synetics-design-system -
Install dependencies
pnpm install
-
Build design tokens
pnpm build
-
Add new icons (optional)
# Add SVG files to art-kit/SVG/ pnpm build:art-kit -
Run tests
pnpm test
- Design tokens are in
src/tokens/ - Art-kit SVG files are in
art-kit/SVG/ - Generator script is in
build/art-kit-generator.ts - The
art-kit/index.tsis auto-generated - don't edit manually
MIT License - Copyright (c) 2026 Synetics framework
See LICENSE file for details.
Connect: LinkedIn • Explore: Synetics Ecosystem