boversauros-design-tokens

2.0.1 • Public • Published

Boversauros Design Tokens

A proof of concept for deploying design tokens via npm and CDN using GitHub Actions.

About

Boversauros Design Tokens demonstrates a streamlined approach to managing and distributing design tokens. It showcases automated deployment of both light and dark theme tokens using GitHub Actions, making them available through npm and a CDN (Cloudflare R2).

Features

  • Light and dark theme tokens
  • Automated build and deployment process
  • npm package distribution
  • CDN distribution via Cloudflare R2
  • GitHub Actions for CI/CD

Folder Structure

boversauros-design-tokens/
├── src/
│   └── css/
│       ├── light/
│       │   └── tokens.css
│       └── dark/
│           └── tokens.css
├── scripts/
│   └── build.js
├── package.json
├── .gitignore
└── .github/
    └── workflows/
        └── publish.yml
  • src/css/: Contains the source CSS files for light and dark themes
  • scripts/: Holds the build script
  • .github/workflows/: Contains the GitHub Actions workflow for CI/CD

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.1
    2
  • 2.0.0
    4
  • 1.0.0
    1

Package Sidebar

Install

npm i boversauros-design-tokens

Weekly Downloads

7

Version

2.0.1

License

MIT

Unpacked Size

108 kB

Total Files

7

Last publish

Collaborators

  • boversauros