2.12.3 • Published 5 years ago

@alaskaairux/orion-design-tokens v2.12.3

Weekly downloads
359
License
Apache-2.0
Repository
github
Last release
5 years ago

Auro Design Tokens

Install

Build Status See it on NPM! License

$ npm i @alaskaairux/orion-design-tokens

Use pre-processed resources

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

└── tokens
  ├── CSSCustomProperties--classicColors.css
  ├── CSSCustomProperties.css
  ├── CSSCustomPropertiesColorRGB.css
  ├── CSSOpacityProperties.scss
  ├── CSSSizeCustomProperties.css
  ├── CSSTokenProperties.css
  ├── JSData--color.js
  ├── JSObject--allTokens.js
  ├── JSObject--classicColors.js
  ├── JSObject--deprecated.js
  ├── JSVariables--color.js
  ├── SCSSOpacityVariables.scss
  ├── SCSSVariableMap.scss
  ├── SCSSVariables.scss
  ├── SassCustomProperties--classicColors.scss
  ├── SassCustomProperties.scss
  ├── SassCustomPropertiesColorRGB.scss
  ├── SassSizeCustomProperties.scss
  ├── TokenColorVariables.js
  ├── TokenVariables.esm.js
  ├── _TokenProperties.scss
  └── _TokenVariables.scss

Resource Descriptions

filesyntaxtypestatusfilter type / description
CSSCustomProperties--classicColorsCSScustom propertiescurrentfilter: classic
CSSCustomPropertiesCSScustom propertiescurrentfull list of v2.8 release tokens
CSSCustomPropertiesColorRGBCSScustom propertiescurrentFilter: color, publiccustom RGB output
CSSOpacityPropertiesSasscustom propertiescurrentfilter: opacity
CSSSizeCustomPropertiesCSScustom propertiescurrentfilter: size, public
JSData--colorJS modulecolor datacurrentfilter: color, current
JSObject--allTokens.jsJS moduleall datacurrentfilter: public
JSObject--classicColorsjs modulecolor datacurrentfilter: classic
JSObject--deprecatedjs moduledeprecated tokenscurrentfilter: deprecated
JSVariables--colorjs es6color datacurrentfilter: color
SCSSOpacityVariablesSassSass variablescurrentfilter: opacity
SCSSVariableMapSassSass variable mapcurrentfilter: size, public
SCSSVariablesscssSass variablescurrentfull list of v2.8 release tokens
SassCustomProperties--classicColorsscsscustom propertiescurrentfilter: classic
SassCustomPropertiesscsscustom propertiescurrentfull list of v2.8 release tokens
SassCustomPropertiesColorRGBSasscustom propertiescurrentFilter: color, publiccustom RGB output
SassSizeCustomPropertiesSasscustom propertiescurrentfilter: size, public
TokenColorVariablesjs modulecolor datadeprecatedfilter: color
CSSTokenPropertiesCSScustom propertiesdeprecatedfull list of < v2.8 tokens
TokenVariables.esmjs es6all datadeprecatedfull list of < v2.8 tokens
_TokenPropertiesscsscustom propertiesdeprecatedfull list of < v2.8 tokens
_TokenVariablesscssSass variablesdeprecatedfull list of < v2.8 tokens

Install with Sass

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

// or

@import "~@alaskaairux/orion-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/orion-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 { ColorAlertNotificationOnLight, ColorBorderErrorOnLight } from '@alaskaairux/orion-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/orion-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/orion-design-tokens/tokens/CSSCustomProperties.css">
2.12.3

5 years ago

2.12.2

5 years ago

2.12.1

5 years ago

2.12.0

5 years ago

2.11.0

5 years ago

2.10.15

5 years ago

2.10.14

5 years ago

2.10.12

5 years ago

2.10.13

5 years ago

2.10.11

5 years ago

2.10.10

5 years ago

2.10.9

5 years ago

2.10.8

5 years ago

2.10.7

5 years ago

2.10.6

5 years ago

2.10.5

5 years ago

2.10.4

6 years ago

2.10.3

6 years ago

2.10.2

6 years ago

2.10.1

6 years ago

2.10.0

6 years ago

2.9.1

6 years ago

2.9.0

6 years ago

2.8.0

6 years ago

2.7.3

6 years ago

2.7.2

6 years ago

2.7.1

6 years ago

2.7.0

6 years ago

2.6.0

6 years ago

2.5.1

6 years ago

2.5.0

6 years ago

2.4.2

6 years ago

2.4.1

6 years ago

2.4.0

6 years ago

2.3.2

6 years ago

2.3.1

6 years ago

2.3.0

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago

2.0.526637919

6 years ago

2.0.524255451

6 years ago

1.1.524254996

6 years ago

1.1.524082204

6 years ago

1.1.523707019

6 years ago

1.1.523220992

6 years ago

1.1.521025157

6 years ago

1.1.520857048

6 years ago

1.1.520849457

6 years ago

1.1.520845597

6 years ago

1.0.516374233

6 years ago

1.0.516364579

6 years ago

1.0.516032252

6 years ago

1.0.516031353

6 years ago

1.0.516011670

6 years ago

1.0.511779931

6 years ago

1.0.511115043

6 years ago

1.0.506066516

6 years ago

1.0.503756086

6 years ago

1.0.503748296

6 years ago

1.0.503341856

6 years ago

1.0.503279625

6 years ago

1.0.503278502

6 years ago

1.0.503278371

6 years ago

1.0.503268858

6 years ago

1.0.503259320

6 years ago