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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@doflo/design-tokens

v1.0.3

Published

<img src="preview.png" width=100% height=100%> This is a design system repository for doFlo, storing global design tokens in platform-agnostic way so they can be shared across different disciplines, tools and technologies. Design token is an information a

Downloads

427

Readme

doFlo Design Tokens

📝 How to modify

  • Designers maintain and cosume design tokens through Tokens Studio.
  • Developers can make changes inside the json files, and configure the export in Style Dictionary config.
  • If you make changes, they will reflect in Figma, Tokens Studio and repository together. So it's very important all parties are aware of any upcoming updates.
  • Do not change values of already generated variable. These will be lost any time someone makes new changes.

🗂️ Structure

  • $metadata - Stores load order of token sets in Figma and Tokens Studio but doesn't impact implementation.
  • $themes - Stores collections of various token sets.
  • breakpoints - Contains breakpoint tokens.
  • doflo - Contains global doFlo tokens which are referenced elsewhere, the core doFlo brand package.
  • elevation - Contains tokens for MUI elevation styles.
  • metadata - References the current version of MUI design library in Figma.
  • palette - Contains definition of MUI color styles.
    • Dark - Color tokens for MUI Dark mode.
    • Light - Color tokens for MUI Light mode.
  • shape - Contains global tokens for border radius.
  • spacing - Contains global tokens for spacing/flex layouts.
  • typography - Contains tokens for text.

Generating variables

Check Instructions.md and build-tokens.mjs for basic setup. See Tokens Studio - Transforming using Style Dictionary and Style Dictionary documentation to create and modify your configs.

🔩 Format

All of the regular W3C token types are supported and there are couple of extended ones, mostly for certain Figma features or to group multiple tokens together. Formatting is set automatically by Tokens Studio, but we're able to alter folder structure and reference names of each token. They can be transformed using sd-transforms for Style Dictionary.