Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alaskaairux/design-tokens

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alaskaairux/design-tokens

Alaska Air Auro Design System token repository

  • 3.15.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Auro Design Tokens

Install

Build Status See it on NPM! License

$ npm i @alaskaairux/design-tokens

Use pre-processed resources

Located in the ./dist/tokens directory of the npm.

└── tokens
   ├── CSSCustomProperties.css
   ├── CSSCustomPropertiesColorRGB.css
   ├── CSSOpacityProperties.scss
   ├── CSSSizeCustomProperties.css
   ├── JSData--color.js
   ├── JSObject--allTokens.js
   ├── JSObject--deprecated.js
   ├── JSVariables--color.js
   ├── SCSSOpacityVariables.scss
   ├── SCSSVariableMap.scss
   ├── SCSSVariables.scss
   ├── SCSSVariablesMapFlat.scss
   ├── SassCustomProperties.scss
   ├── SassCustomPropertiesColorRGB.scss
   └── SassSizeCustomProperties.scss

Resource Descriptions

filesyntaxtypestatusfilter type / description
CSSCustomPropertiesCSScustom propertiescurrentfull list of v3.0x release tokens
CSSCustomPropertiesColorRGBCSScustom propertiescurrentFilter: color, public
custom RGB output
CSSOpacityPropertiesSasscustom propertiescurrentfilter: opacity
CSSSizeCustomPropertiesCSScustom propertiescurrentfilter: size, public
JSData--colorJS modulecolor datacurrentfilter: color, current
JSObject--deprecatedJS moduledeprecated tokenscurrentfilter: deprecated, pubic
JSObject--allTokens.jsJS moduleall datacurrentfilter: public
JSVariables--colorjs es6color datacurrentfilter: color
SCSSOpacityVariablesSassSass variablescurrentfilter: opacity
SCSSVariableMapSassSass variable mapcurrentfilter: size, public
SCSSVariablesscssSass variablescurrentfull list of v3.0x release tokens
SCSSVariablesMapFlatscssScss variable mapcurrentfull list of v3.0x release tokens
SassCustomPropertiesscsscustom propertiescurrentfull list of v3.0x release tokens
SassCustomPropertiesColorRGBSasscustom propertiescurrentFilter: color, public
custom RGB output
SassSizeCustomPropertiesSasscustom propertiescurrentfilter: size, public

Install with Sass

@import "~@alaskaairux/design-tokens/dist/tokens/SCSSVariables";

// or

@import "~@alaskaairux/design-tokens/dist/tokens/SassCustomProperties";

Install with CSS

With React or similar framework, the CSS file can be imported directly from the npm:

import "@alaskaairux/design-tokens/dist/tokens/CSSCustomProperties.css"

For other frameworks, it's suggested that the CSS file be copied from the npm into the scope of the project with a build scenario.

Install ESModules

Within a webpacked application or a type="module" script:

import { AuroColorAlertNotificationOnLight, AuroColorBorderErrorOnLight } from '@alaskaairux/design-tokens/dist/tokens/JSVariables--color.js';

Install from CDN

Using unpkg.com, every file in the dist directory can be accessed.

<link rel="stylesheet" href="https://unpkg.com/@alaskaairux/design-tokens@latest/dist/tokens/CSSCustomProperties.css">

For specifically the CSSCustomProperties.css file, a faster CDN resource is available.

<link rel="stylesheet" href="https://p2pcontent-fd-prod.azurefd.net/auro/tokens/CSSCustomProperties.css">

Keywords

FAQs

Package last updated on 02 Aug 2023

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc