Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@daikinlab/dds-tokens

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daikinlab/dds-tokens

Design token definitions for DDS

latest
Source
npmnpm
Version
0.0.0
Version published
Weekly downloads
4
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

dds-tokens

This package outputs:

  • Tokens as both js and css variables
  • Brand-specific tokens (i.e. Daikin and AAF)
  • Light and Dark mode
  • General styles as variables.(css|js)
  • Component-specific styles (i.e. buttons.css)

For a complete list of outputs, please check out the file outputs in the build folder.

Usage

npm install @daikin-labs/dds-tokens

Import as js variables:

import {
    buttonColorBackgroundPrimaryActive
} from 'build/js/DKN/Light/variables';

Import the CSS:

import variables from 'build/css/DKN/Dark/variables.css'

The above includes all CSS classes - including core styles and components There are also component-specific files if you don't need everything:

import buttonStyles from 'build/css/DKN/Dark/buttons.css'

Keywords

design

FAQs

Package last updated on 17 May 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