New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@grantcodes/style-dictionary

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grantcodes/style-dictionary

My personal style dictionary

latest
Source
npmnpm
Version
1.4.1
Version published
Maintainers
1
Created
Source

@grantcodes/style-dictionary

This is my personal style dictionary that I use for various personal projects.

Naming & structure

It follows Brad Frost's recommended token structure.

Priciples:

  • Clarity over cleverness - keep the names simple and understandable
  • Legibility over succinctiness - long but readable variables > short hard to understand variables
  • Consistency is key
  • Use existing conventions
  • Be environment agnostic - don't name things specifically for the web or mobile

Tier 1 tokens

| Namespace | Category | Property | Variant / Scale | CSS Variable |

| g | color | red | 100 | --g-color-red-100 | | g | typography | | | --g- | | g | spacing | | | --g- | | g | border | | | --g- | | g | shadow | | | --g- | | g | animation | | | --g- | | g | breakpoint | | | --g- | | g | z-index | | | --g- |

Usage


@import "@grantcodes/style-dictionary";



FAQs

Package last updated on 05 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts