Socket
Socket
Sign inDemoInstall

css-token

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    css-token

Design tokens & utilities for CSS and JS


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
153 kB
Created
Weekly downloads
 

Readme

Source

CSS Token

CSS Token provides a set of design tokens and utilities that enable a standardized system to specify colors, sizes, shadows, and other design-related values in your app.

  • Minimal: No build step, easily use with inline styles via CSS Hooks1.
  • Flexible: Static and dynamic tokens for custom use cases.
  • SSR-safe: Tokens work on the server and client.
  • Strongly typed: Tokens can be narrowly typed to prevent invalid values.

View the docs for more information.

1CSS Hooks is a refreshingly light styling solution that lets you to "hook" into CSS features like :hover and media queries directly from the style prop. With minimal overhead, you enjoy the benefits of local reasoning, reusing your existing knowledge of standard CSS, strong typing, while being SSR-safe.

FAQs

Last updated on 13 Jan 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc