Socket
Book a DemoInstallSign in
Socket

@aacc/design-tokens

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aacc/design-tokens

Design tokens for @aacc apps and packages

0.2.0
latest
Source
npmnpm
Version published
Weekly downloads
3
-50%
Maintainers
1
Weekly downloads
 
Created
Source

@aacc/design-tokens

Design tokens for @aacc apps and packages.

Installation

npm i @aacc/design-tokens

Usage

CSS API

Theme variables

Include the theme styles directly if you bundler supports CSS imports:

import '@aacc/design-tokens/css/theme-vars.css'

Otherwise, include the theme styles in your HTML:

<link
  rel="stylesheet"
  href="https://unpkg.com/@aacc/design-tokens@{version}/dist/css/theme-vars.css"
/>

JavaScript API

Theme object

import { dark, dim, light } from '@aacc/design-tokens/themes'
const { dark, dim, light } = require('@aacc/design-tokens/themes')

All the things

import {
  designTokens,
  themes,
  lightTheme,
  darkTheme,
  dimTheme,
  colors,
  spacing,
  // etc...
} from '@aacc/design-tokens'

FAQs

Package last updated on 14 Jan 2024

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.