Detalhes do pacote

@aurodesignsystem/design-tokens

AlaskaAirlines723.2kApache-2.08.4.2

Alaska Air Auro Design System token repository

alaska airlines, css, properties, tokens

readme (leia-me)

Auro Design Tokens

Build Status See it on NPM! License

Overview

Auro Design Tokens are the foundation of the Auro Design System, providing consistent design values across different platforms and implementations. These tokens define colors, typography, spacing, and other visual attributes for Alaska Airlines and Hawaiian Airlines brands.

Installation

npm install @aurodesignsystem/design-tokens

Quick Start

CSS Custom Properties

For most web applications, using CSS Custom Properties is recommended:

// In a React or similar application
import "@aurodesignsystem/design-tokens/dist/alaska/CSSCustomProperties--alaska.css"
<!-- In an HTML file -->
<link rel="stylesheet" href="node_modules/@aurodesignsystem/design-tokens/dist/alaska/CSSCustomProperties--alaska.css">

With Sass

When working with Sass:

@import "~@aurodesignsystem/design-tokens/dist/alaska/primitives--alaska.scss";

JavaScript Usage

import { AuroColorAlertNotificationOnLight } from '@aurodesignsystem/design-tokens/dist/auro-classic/JSVariables--color.js';

Available Themes

Auro Design Tokens support multiple themes:

Theme Description Usage
Alaska Current Alaska Airlines theme Alaska Airlines branded interfaces
Alaska Classic Transition theme with v6.x token names but Auro Classic values For migration scenarios only
Hawaiian Hawaiian Airlines theme Hawaiian Airlines branded interfaces
Auro Classic Legacy theme (deprecated) Only for backward compatibility

Theme Scoping

Alaska Air Group Exclusive

⚠️ The following link is only intended for Alaska Air Group employees and is protected by SSO.

Documentation

For comprehensive documentation, please see our:

Package Structure

The npm package provides pre-processed resources in the ./dist/ directory organized by theme.

Contributing

Please read our contributing guidelines for details on our code of conduct and the process for submitting pull requests.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

changelog (log de mudanças)

Semantic Release Automated Changelog

8.4.2 (2025-08-20)

Performance Improvements

  • update background-strong color for accessibility #345 (0249992)

8.4.1 (2025-08-15)

Bug Fixes

  • update auro-1 & auro-2 font-weight values to book (a5227ab)

8.4.0 (2025-08-05)

Features

  • add advanced dropdown tokens for emphasized layout (531e626)

8.3.2 (2025-08-05)

Bug Fixes

  • update alaska page background color (335e4ee)

8.3.1 (2025-08-04)

Bug Fixes

  • add fallback tokens for each family, introduce serif family (ce76c19)
  • don't quote single word property values (8edfea0)

8.3.0 (2025-07-21)

Features

  • add emphasized background tokens (252e603)

8.2.2 (2025-07-18)

Bug Fixes

  • body line-height values (9c5bbc4)
  • update line-height values (638d20f)

8.2.1 (2025-06-10)

Bug Fixes

  • numerical sass values should not be in quotes (b149334)

8.2.0 (2025-06-05)

Bug Fixes

  • do not publish primitives in themes (a7749ae)

Features

  • add font family fallback (3365b04)

8.1.0 (2025-06-05)

Bug Fixes

  • update ghost button usage (de981a5)

Features

  • add ghost button tokens (0427b19)

8.0.0 (2025-06-05)

  • refactor(dist)!: export primitive base tokens in dist (9cd481b)

BREAKING CHANGES

    • The dist directory now exports primitive base tokens
  • Updates dist folder structure for better organization

7.0.0 (2025-06-04)

  • refactor(type)!: move type tokens to primitives (023e8c7)

BREAKING CHANGES

  • type tokens format has changed to better support design's needs.

  • Type tokens have been moved from shared/basic/type to primitives/base/type.

  • The following tokens have been moved:
    • letter-spacing
    • line-height
    • size
    • weight
  • Introduced brand tokens for each theme

6.0.2 (2025-06-02)

Bug Fixes

  • dist: ensure output filenames use camelCase (19a6b26)

6.0.1 (2025-05-30)

Bug Fixes

  • quote multi-word font families in font stacks (e1d5c85)

6.0.0 (2025-05-29)

  • feat!: refactor typography tokens (d0c8b8f)

Bug Fixes

  • cache template to reduce I/O operations (2c76993)
  • check if string ends with quote before removing it (f99ed53)
  • corner-radius: remove corner-radius tokens (#314) (55ecfe8)
  • documentation updates (8b6f950)
  • improve font-family matcher to be more precise (a75f56a)
  • return postinstall wcss message (b7e0867)

Features

BREAKING CHANGES

  • Typography tokens have been restructured to reduce the number of tokens and improve the developer experience.

  • Added new 'type' semantic tokens

  • Removed old 'font' primitive & semantic tokens
  • Updated folder structure with new 'shared' semantic tokens
  • Updated respective type values to em, rem & unitless values for accessibility

5.15.1 (2025-05-13)

Bug Fixes

Performance Improvements

5.15.0 (2025-05-13)

Bug Fixes

  • avoid skipping unintended files by matching only filenames ending with '.min.css' (a4e9a46)
  • fail build on CSS minification error instead of just logging (028f61b)

Features

  • add auro-1 and auro-2 themes (3d01d80)

Performance Improvements

  • batch process css minification (982347b)
  • centralize cssnano config (8010238)
  • remove need for mapping (783c79c)

5.14.0 (2025-04-30)

Features

5.13.0 (2025-04-30)

Features

5.12.0 (2025-04-30)

Features

  • reverse fontWeigth values for valid compilation (a914dad)

Performance Improvements

  • enclose font families in quotes on compile (d097f12)
  • update fontWeight values in semantic tokens (0b9b943)
  • update weight values (94a92f6)

5.11.0 (2025-04-25)

Features

Performance Improvements

  • move tier program tokens to separate file (26295c5)

5.10.0 (2025-04-23)

Features

Performance Improvements

  • swap shared background inverse values (e1e4100)

5.9.0 (2025-04-22)

Features

5.8.3 (2025-04-21)

Performance Improvements

  • add 'scrim' design token to themes (34a81a1)

5.8.2 (2025-04-14)

Performance Improvements

  • update design tokens based on feedback (c811b4a)

5.8.1 (2025-04-11)

Performance Improvements

  • add backgroundInverseDisabled token (0acf6f2)
  • update boolean token (35fe96f)

5.8.0 (2025-04-09)

Features

Performance Improvements

  • add textIcon token values (b4f6fed)
  • remove backgroundActive token (9ef0a2e)
  • remove tertiary border color tokens (d00dd6e)
  • update secondary button tokens (5a7631d)
  • update transparency values to rgba (754a833)

5.7.0 (2025-04-08)

Features

  • update alaska classic tokens (aec6ef7)

Performance Improvements

  • add letterSpacing to alaskaClassic fonts (c773028)

5.6.1 (2025-04-07)

Performance Improvements

5.6.0 (2025-04-07)

Bug Fixes

Features

Performance Improvements

  • alphabetize json (cc38d87)
  • ensure key parity across themes (3fe540c)
  • font token updates (def7e69)
  • updates from design - hawaiian & alaska themes (08875e7)

5.5.0 (2025-04-03)

Features

  • update alaska theme tokens (a6d7da0)

5.4.0 (2025-04-03)

Features

  • add updated typography primitives & themes (84fc25d)
  • design token updates (c3cb008)
  • update color tokens (fc81bf9)
  • update themes with new component tokens (913c1fa)
  • update token values (a9697d1)

5.3.1 (2025-03-14)

Performance Improvements

  • add JSONVariablesNested export to dist (a293c86)

5.3.0 (2025-03-11)

Features

  • add initial component tokens (b1752ec)

5.2.1 (2025-03-06)

Performance Improvements

  • updates to theme codes & docs (df68c04)

5.2.0 (2025-03-06)

Features

  • update data selector for transformCSS (3aad137)

5.1.0 (2025-03-06)

Features

  • edit existing and add new primitive color tokens #220 (2a2e438)
  • edit existing and add new theme color tokens #221 (1e3018d)

5.0.6 (2025-03-04)

Performance Improvements

  • expose Auro Classic allTokens JSObject (7667cfa)

5.0.5 (2025-03-04)

Performance Improvements

  • update build command in testPublish workflow #227 (f87d524)

5.0.4 (2025-03-04)

Performance Improvements

  • export allTokens as JSObject for ha & as (a90b831)

5.0.3 (2025-02-28)

Performance Improvements

  • reset version rollback to continue git history (e0fb37e)

5.0.2 (2025-02-27)

Performance Improvements

  • revert to version 4.13.0 and change node version to 20 (f5c4f5a)

5.0.1 (2025-02-26)

Performance Improvements

  • downgrade Node.js version requirement to 20 in configuration files (e0414ae)

5.0.0 (2025-02-26)

Features

  • add cssTransform script to rescope custom properties (ee5a0c4)
  • add scss variable exports of primitives (8e4c11e)
  • adding new design tokens (dcda0d2)
  • update design tokens to v1.1.0 (b44c274)

Performance Improvements

  • removing darkMode tokens (54787f8)

BREAKING CHANGES

  • The design tokens have been completely restructured. Legacy tokens have been renamed 'auro-classic.' 'darkMode' has been removed, 'transparency' has been reorganized, and new tokens for 'hawaiian' and 'alaska' themes have been added.

4.13.0 (2025-01-15)

Features

Performance Improvements

4.12.1 (2024-12-10)

Bug Fixes

4.12.0 (2024-12-03)

Features

4.11.0 (2024-11-20)

Features

4.10.2 (2024-11-18)

Bug Fixes

4.10.1 (2024-10-24)

Bug Fixes

4.10.0 (2024-10-03)

Features

4.9.2 (2024-09-23)

Bug Fixes

  • remap incorrect color values for theming #177 (743603e)

Performance Improvements

4.9.1 (2024-08-15)

Bug Fixes

  • navy: update hex code for navy 100 color #175 (05e61f2)

4.9.0 (2024-07-05)

Features

4.8.0 (2024-06-27)

Features

4.7.0 (2024-06-11)

Features

4.6.2 (2024-05-29)

Bug Fixes

  • token: correct the icon warning token value #165 (6731a10)

4.6.1 (2024-05-28)

Bug Fixes

  • iconSuccess: update icon success to use correct base color ##162 (f4f0d4b)

4.6.0 (2024-05-28)

Features

  • add all tier 2 excursion tokens #153 (c9957da)
  • add full list of excursion tier 1 tokens #153 (7909ad3)
  • background: add additional name convention for theme support (49fa189)

Performance Improvements

  • add all non color classic tokens to excursion theme (a6ffc04)

4.5.0 (2024-05-23)

Features

  • add excursion theme #151 (1f33445)
  • add new and depcrecate old tier 2 color tokens (e3b946c)
  • add new and deprecate old tier 1 color tokens (4a40ba2)

Performance Improvements

  • remove previously deprecated tokens (1bc164b)

4.4.0 (2024-05-09)

Features

Performance Improvements

4.3.1 (2024-01-29)

Performance Improvements

  • update postinstall message ref to tokens (35e78c4)

4.3.0 (2023-12-29)

Features

4.2.0 (2023-11-07)

Features

  • base: add new white tokens with different opacities (b5a11d6)
  • gradient: add new gradient token for white backgrounds #135 (f6e99a4)

4.1.1 (2023-09-15)

Bug Fixes

4.1.0 (2023-09-14)

Features

  • edit tokens for better control of output (9a1521b)

4.0.0 (2023-09-13)

Bug Fixes

  • comment: update comment of dark mode token (a735309)
  • token: fix typo in dark token config (461f5eb)

chore

Features

  • prefix: BREAKING CHANGE update token prefix from auro to ds #118 (9aaa33a)

Performance Improvements

  • darkmode: update token naming convention #129 (83fee5a)
  • public: change value of deprecated tokens #122 (427f8d9)

BREAKING CHANGES

  • This commit updates the npm namespace from @alaskaairux to @aurodesignsystem

Changes to be committed: modified: package.json

  • public: This commit changes the public access of the token from true to false. This setting will restrict the distribution of the token into the various distributed generated resources.

Changes to be committed: modified: src/breakpoint.json modified: src/color-dark/base.json modified: src/color/alert.json modified: src/color/base.json modified: src/color/border.json modified: src/color/icon.json modified: src/color/text.json modified: src/color/tier.json modified: src/color/ui.json modified: src/depth.json modified: src/shadow.json modified: src/size/scale.json

3.15.5 (2023-08-02)

Performance Improvements

  • deps: update major versions of semantic release (0efe395)

3.15.4 (2023-08-02)

Performance Improvements

3.15.3 (2023-08-02)

Performance Improvements

  • deps: update repo dependencies (b81aec5)

3.15.2 (2023-08-02)

Performance Improvements

3.15.1 (2023-08-01)

Bug Fixes

  • address incorrectly deleted token (08150e3)

3.15.0 (2023-08-01)

Bug Fixes

  • deprecated: appreciate incorrectly deprecated tokens #102 (07eca70)

Features

  • naming: update to new naming convention #98 (ec4e43e)

3.14.0 (2023-06-02)

Features

3.13.0 (2023-03-27)

Features

3.12.2 (2023-02-06)

Bug Fixes

  • json: add reference and version data to tokens #96 (52081b3)

3.12.1 (2022-12-13)

Bug Fixes

  • tokens: re-import deprecated dark tokens #91 (86e3f6c)

3.12.0 (2022-12-13)

Features

  • theme: add build configuration for dark theme tokens #88 (87d8d75)

3.11.0 (2022-10-06)

Features

  • emphasis: add new semantic text color #83 (d44a1ea)

3.10.0 (2022-09-27)

Features

  • size tokens: add new token spec scale #71 (8be3e7b)

3.9.1 (2022-06-16)

Bug Fixes

3.9.0 (2022-05-05)

Features

3.8.0 (2022-04-20)

Features

3.7.0 (2022-03-03)

Features

3.6.0 (2022-01-28)

Features

  • new token release: add new tier color tokens (#54) (5f73915)

3.5.0 (2021-12-14)

Features

  • color ui: add new ui background tokens #60 (85b7bba)

3.4.0 (2021-10-08)

Features

  • new tokens: add new tokens to support type ramp updates #58 (e076630)

3.3.0 (2021-06-10)

Features

3.2.1 (2021-03-31)

Bug Fixes

  • update depth tokens and remove deprecated JSON keys (ba1e718)

3.2.0 (2021-03-01)

Bug Fixes

  • simplify customization and wrap all values in parens (0c2ce1d)

Features

  • add SCSS map of Auro tokens (aa58f22)

3.1.1 (2021-02-28)

Bug Fixes

  • address typo in deprecated version listing (f8c9b11)

3.1.0 (2021-02-11)

Features

  • #36 add new brand-neutral colors (9c53acd)
  • #36 support deprecated:false flag for distribution of token data (9d40067)

3.0.0 (2020-11-14)

Bug Fixes

  • #31 update config to output correct data from Tokens (c548d98)

Build System

Performance Improvements

  • remove deprecated tokens (7545302)

BREAKING CHANGES

  • forcing chance; previous build failed
  • This update will effectively remove all legacy colors and Orion references

2.12.3 (2020-11-14)

Bug Fixes

  • #31 update config to output correct data from Tokens (7e1dc82)

2.12.2 (2020-10-15)

Bug Fixes

  • add legacy matrix specific colors (cd6f3a0)

2.12.1 (2020-07-17)

Bug Fixes

  • update background color use to meet a11y contrast standards (6b0f490)

2.12.0 (2020-07-15)

Features

  • add support for px value type settings (0a6d13e)

2.11.0 (2020-05-19)

Features

  • support RGB custom color spec (3d2486e)

2.10.15 (2020-05-05)

Bug Fixes

  • add color defs for grays (aa08100)

2.10.14 (2020-04-28)

Bug Fixes

  • update non-size value to rem (b030804)

2.10.13 (2020-04-22)

Bug Fixes

  • address Sass version of new output file (17b024f)

2.10.12 (2020-04-22)

Bug Fixes

  • address Sass version of new output file (d84d88d)

2.10.11 (2020-04-22)

Bug Fixes

  • add SCSSSizeCustomProperties support (1b246f0)

2.10.10 (2020-04-22)

Bug Fixes

  • add support for CSSSizeCustomProperties (ce88a39)

2.10.9 (2020-02-13)

Bug Fixes

  • address issues with color references (30544b7)

2.10.8 (2020-02-11)

Bug Fixes

  • update public flag for black (aba81aa)

2.10.7 (2020-02-07)

Bug Fixes

  • add support for unitless 140 (fad20b6)

2.10.6 (2020-01-30)

Bug Fixes

2.10.5 (2020-01-17)

Bug Fixes

  • update line-height tokens for headings (e8566de)

2.10.4 (2020-01-16)

Bug Fixes

  • update deprecated token references (e7e5c56)

2.10.3 (2020-01-15)

Bug Fixes

  • update deprecated tokens (68d1b21)

2.10.2 (2020-01-07)

Bug Fixes

  • address bugs with conversion values (76e7a34)

2.10.1 (2019-12-24)

Bug Fixes

2.10.0 (2019-12-11)

Bug Fixes

  • update config to support deprecated listing names view (346edac)

Features

  • add support for new allTokens data output (a4f729c)

2.9.1 (2019-12-06)

Bug Fixes

2.9.0 (2019-12-05)

Features

  • add additional meta support (990bd8f)

2.8.0 (2019-12-03)

Bug Fixes

  • address reference bug (9daba28)
  • update incorrect name listing (86f2d4a)
  • update prefix and address filter bugs (38a89b4)

Features

  • add new font scale tokens (549297a)
  • update to new color tokens (c9a4500)
  • update tokens with new tagging (dbe1c51)

2.7.3 (2019-10-09)

Bug Fixes

  • update base.shark to new hex (9dfd0fb)

2.7.2 (2019-09-21)

Bug Fixes

  • add classic values for button (30957f5)

2.7.1 (2019-09-12)

Bug Fixes

  • revised support for backgrounds and borders (8effdcf)

2.7.0 (2019-09-03)

Features

2.6.0 (2019-08-19)

Features

  • remove reference to size/icons.json as this is now managed with the Orion Icons repo (612bd5e)

2.5.1 (2019-08-02)

Bug Fixes

2.5.0 (2019-08-02)

Features

  • include JS data object in npm dist (00471d1)

2.4.2 (2019-07-09)

Bug Fixes

  • update token reference to font-weight (d3b05d9)

2.4.1 (2019-07-08)

Bug Fixes

  • update to header margin x-axis (527c7bd)

2.4.0 (2019-06-25)

Features

  • add new spec for border thickness (b255199)

2.3.2 (2019-06-17)

Bug Fixes

  • address incorrect NaN properties in output files (ab018a7)

2.3.1 (2019-06-17)

Bug Fixes

  • #6 issue with incorrect font sizes on mobile scale (cc79e27)

2.3.0 (2019-06-06)

Features

  • add support for unitless scale (d2df81b)

2.2.0 (2019-06-05)

Features

  • update support for icons, add support for new micro size scale (#8) (d9cd6a5)

2.1.0 (2019-05-22)

Features

  • semantic-release: feature updates per semantic release updates (a810692)

2.0.0 (2019-05-22)

Performance Improvements

  • semantic-release: overhaul release process) (a4d72c0)

BREAKING CHANGES

  • semantic-release: This is reuqired for full MAJOR version change

1.0.0 (2019-05-22)

Bug Fixes

Features

  • semantic-release: update semantic-release (c122d3f)