@aurodesignsystem/design-tokens 5.0.6 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +207 -75
  3. package/dist/CSSCustomProperties--bundled.css +135 -54
  4. package/dist/alaska/CSSCustomProperties--alaska.css +38 -32
  5. package/dist/alaska/JSObject--allTokens.js +364 -182
  6. package/dist/alaska/SCSSVariables--alaska.scss +38 -32
  7. package/dist/alaska/SCSSVariablesMapFlat--alaska.scss +38 -32
  8. package/dist/alaska/primitives--alaska.scss +37 -37
  9. package/dist/alaska-classic/CSSCustomProperties--alaskaClassic.css +72 -0
  10. package/dist/alaska-classic/JSObject--allTokens.js +2306 -0
  11. package/dist/alaska-classic/SCSSVariables--alaskaClassic.scss +69 -0
  12. package/dist/alaska-classic/SCSSVariablesMapFlat--alaskaClassic.scss +73 -0
  13. package/dist/alaska-classic/primitives--alaskaClassic.scss +215 -0
  14. package/dist/auro-classic/CSSCustomProperties.css +1 -1
  15. package/dist/auro-classic/CSSSizeCustomProperties.css +1 -1
  16. package/dist/auro-classic/JSData--color.js +1 -1
  17. package/dist/auro-classic/JSObject--allTokens.js +1 -1
  18. package/dist/auro-classic/JSObject--deprecated.js +1 -1
  19. package/dist/auro-classic/JSVariables--color.js +1 -1
  20. package/dist/auro-classic/SCSSVariableMap.scss +1 -1
  21. package/dist/auro-classic/SCSSVariables.scss +1 -1
  22. package/dist/auro-classic/SCSSVariablesMapFlat.scss +1 -1
  23. package/dist/auro-classic/SassCustomProperties.scss +1 -1
  24. package/dist/auro-classic/SassSizeCustomProperties.scss +1 -1
  25. package/dist/hawaiian/CSSCustomProperties--hawaiian.css +24 -18
  26. package/dist/hawaiian/JSObject--allTokens.js +336 -154
  27. package/dist/hawaiian/SCSSVariables--hawaiian.scss +24 -18
  28. package/dist/hawaiian/SCSSVariablesMapFlat--hawaiian.scss +24 -18
  29. package/dist/hawaiian/primitives--hawaiian.scss +6 -6
  30. package/dist/transparent/CSSCustomProperties--transparent.css +1 -1
  31. package/package.json +1 -1
  32. package/src/primitives/alaska/color.json +84 -84
  33. package/src/primitives/alaska-classic/color.json +796 -0
  34. package/src/primitives/alaska-classic/typography.json +27 -0
  35. package/src/primitives/base/color.json +3 -3
  36. package/src/themes/alaska/color.json +112 -62
  37. package/src/themes/alaska-classic/color.json +444 -0
  38. package/src/themes/alaska-classic/typography.json +132 -0
  39. package/src/themes/hawaiian/color.json +97 -47
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ # [5.2.0](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v5.1.0...v5.2.0) (2025-03-06)
4
+
5
+
6
+ ### Features
7
+
8
+ * update data selector for transformCSS ([3aad137](https://github.com/AlaskaAirlines/AuroDesignTokens/commit/3aad137f08ac398af8ea1fb3b876410c49122704))
9
+
10
+ # [5.1.0](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v5.0.6...v5.1.0) (2025-03-06)
11
+
12
+
13
+ ### Features
14
+
15
+ * edit existing and add new primitive color tokens [#220](https://github.com/AlaskaAirlines/AuroDesignTokens/issues/220) ([2a2e438](https://github.com/AlaskaAirlines/AuroDesignTokens/commit/2a2e43823fd0468a542a28000082d3a2eba7d98f))
16
+ * edit existing and add new theme color tokens [#221](https://github.com/AlaskaAirlines/AuroDesignTokens/issues/221) ([1e3018d](https://github.com/AlaskaAirlines/AuroDesignTokens/commit/1e3018d24d389c3b85fbd3b0261472abb1420775))
17
+
3
18
  ## [5.0.6](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v5.0.5...v5.0.6) (2025-03-04)
4
19
 
5
20
 
package/README.md CHANGED
@@ -1,28 +1,41 @@
1
1
  # Auro Design Tokens
2
2
 
3
- ## Installation
4
-
5
3
  [![Build Status](https://img.shields.io/github/actions/workflow/status/AlaskaAirlines/AuroDesignTokens/testPublish.yml?branch=master&style=for-the-badge)](https://github.com/AlaskaAirlines/AuroDesignTokens/actions/workflows/testPublish.yml)
6
4
  [![See it on NPM!](https://img.shields.io/npm/v/@aurodesignsystem/design-tokens.svg?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/design-tokens)
7
5
  [![License](https://img.shields.io/npm/l/@aurodesignsystem/design-tokens.svg?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)
8
6
 
7
+ ## Introduction
8
+
9
+ Auro Design Tokens are the foundation of the Auro Design System, providing consistent design values across different platforms and implementations.
10
+
11
+ These tokens define colors, typography, spacing, and other visual attributes for Alaska Airlines and Hawaiian Airlines brands.
12
+
13
+ ## Installation
14
+
9
15
  ```
10
16
  $ npm i @aurodesignsystem/design-tokens
11
17
  ```
12
18
 
13
- ## Using Pre-processed Resources
19
+ ### Package Structure
14
20
 
15
- Pre-processed resources are available in the `./dist/` directory of the [npm package](https://www.npmjs.com/package/@aurodesignsystem/design-tokens).
21
+ The npm package provides pre-processed resources in the `./dist/` directory:
16
22
 
17
23
  ```
18
24
  └── dist
19
25
  ├── alaska
20
26
  │ └── CSSCustomProperties--alaska.css
21
27
  │ └── primitives--alaska.scss
28
+ ├── alaska-classic
29
+ │ ├── CSSCustomProperties--alaskaClassic.css
30
+ │ ├── JSObject--allTokens.js
31
+ │ ├── primitives--alaskaClassic.scss
32
+ │ ├── SCSSVariables--alaskaClassic.scss
33
+ │ └── SCSSVariablesMapFlat--alaskaClassic.scss
22
34
  ├── auro-classic
23
35
  │ ├── CSSCustomProperties.css
24
36
  │ ├── CSSSizeCustomProperties.css
25
37
  │ ├── JSData--color.js
38
+ │ ├── JSObject--allTokens.js
26
39
  │ ├── JSObject--deprecated.js
27
40
  │ ├── JSONVariablesFlat.json
28
41
  │ ├── JSONVariablesNested.json
@@ -40,110 +53,229 @@ Pre-processed resources are available in the `./dist/` directory of the [npm pac
40
53
  └── CSSCustomProperties--bundled.css
41
54
  ```
42
55
 
43
- ### Resource Descriptions
56
+ ## Usage Guide
44
57
 
45
- ### `alaska` theme
58
+ ### Install with Sass
46
59
 
47
- | File | Syntax | Type | Status | Filter Type / Description |
48
- |-----------------------------|--------|--------------------|---------|------------------------------------------------------|
49
- | CSSCustomProperties--alaska | CSS | Custom properties | Current | All v5.x semantic tokens for the Alaska theme |
50
- | primitives--alaska | SCSS | Sass variables | Current | All v5.x semantic token values for the Alaska theme |
60
+ When working with Sass, import the SCSS file for your theme:
51
61
 
52
- ### `hawaiian` theme
62
+ ```scss
63
+ @import "~@aurodesignsystem/design-tokens/dist/alaska/primitives--alaska.scss";
64
+ ```
53
65
 
54
- | File | Syntax | Type | Status | Filter Type / Description |
55
- |-------------------------------|--------|--------------------|---------|--------------------------------------------------------|
56
- | CSSCustomProperties--hawaiian | CSS | Custom properties | Current | All v5.x release tokens for the Hawaiian theme |
57
- | primitives--hawaiian | SCSS | Sass variables | Current | All v5.x semantic token values for the Hawaiian theme |
66
+ **NOTE:** When developing new UI code in Sass, it's still advisable to leverage CSS custom properties over Sass variables.
58
67
 
59
- ### `auro-classic` theme
68
+ ### Install with CSS
60
69
 
61
- | File | Syntax | Type | Status | Filter Type / Description |
62
- |--------------------------|-----------|--------------------|------------|---------------------------------|
63
- | CSSCustomProperties | CSS | Custom properties | Deprecated | All v4.x release tokens |
64
- | CSSSizeCustomProperties | CSS | Custom properties | Deprecated | Filter v4.x: size, public |
65
- | JSData--color | JS module | Color data | Deprecated | Filter v4.x: color, Deprecated |
66
- | JSONVariablesFlat | JSON Data | All data | Deprecated | All v4.x release tokens |
67
- | JSONVariablesNested | JSON Data | All data | Deprecated | All v4.x release tokens |
68
- | JSObject--deprecated | JS module | Deprecated tokens | Deprecated | Filter v4.x: deprecated, public |
69
- | JSObject--allTokens.js | JS module | All data | Deprecated | All v4.x release tokens |
70
- | JSVariables--color | JS ES6 | Color data | Deprecated | Filter v4.x: color |
71
- | SCSSVariableMap | Sass | Sass variable map | Deprecated | Filter v4.x: size, public |
72
- | SCSSVariables | SCSS | Sass variables | Deprecated | All v4.x release tokens |
73
- | SCSSVariablesMapFlat | SCSS | Sass variable map | Deprecated | All v4.x release tokens |
74
- | SassCustomProperties | SCSS | Custom properties | Deprecated | All v4.x release tokens |
75
- | SassSizeCustomProperties | Sass | Custom properties | Deprecated | Filter v4.x: size, public |
70
+ For React or similar frameworks, import the CSS file directly:
76
71
 
77
- ### `transparent` theme
72
+ ```js
73
+ import "@aurodesignsystem/design-tokens/dist/alaska/CSSCustomProperties--alaska.css"
74
+ ```
78
75
 
79
- | File | Syntax | Type | Status | Filter Type / Description |
80
- |-------------------------------------|-----------|--------------------|------------|---------------------------|
81
- | CSSCustomProperties--transparent | CSS | Custom properties | Deprecated | All v4.0x release tokens |
76
+ For other frameworks, you'll need to copy the CSS file from the npm resource into your project using a build scenario.
82
77
 
83
- ### `bundled` file
78
+ ### Install ESModules
84
79
 
85
- | File | Syntax | Type | Status | Filter Type / Description |
86
- |-------------|--------|-------------------|---------|------------------------------------------------------|
87
- | CSSCustomProperties--bundled.css | CSS | Custom properties | Current | Combined v5.x `semantic` CSS custom properties from all supported themes.
80
+ _Note: ESModules are not yet available for the v5.x tokens._
88
81
 
89
- NOTE: Not intended for general use.
82
+ In a webpack-supported application or a `type="module"` script:
90
83
 
91
- ---
84
+ ```js
85
+ import { AuroColorAlertNotificationOnLight, AuroColorBorderErrorOnLight } from '@aurodesignsystem/design-tokens/dist/auro-classic/JSVariables--color.js';
86
+ ```
92
87
 
93
- ### Migration from v4.x to v5.x
88
+ ### Install from CDN
94
89
 
95
- With the release of Auro Design Tokens 5.x significant changes have occurred.
90
+ Using the `https://cdn.jsdelivr.net/npm/` CDN:
96
91
 
97
- - `./dist/` directory has been restructured. All file imports will need to have their paths updated.
98
- - The v4.x default theme is now called `Auro Classic`. The files for this theme may be found in `./dist/auro-classic`. This theme is now deprecated.
99
- - **NEW** Alaska theme found in `./dist/alaska`.
100
- - **NEW** Hawaiian theme found in `./dist/hawaiian`.
101
- - The Alaska theme and Hawaiian theme are intended to be used one at a time within a given DOM `scope`. It is not supported to load both themes into the same `scope` of the document.
102
- - v4.x and v5.x token names are unique to each version. As such, the `./dist/auro-classic` theme can be loaded with any of the other themes to support old Auro component versions that do not yet run on the v5.x tokens.
103
- - Review the [Deprecated tokens list](https://auro.alaskaair.com/getting-started/developers/design-tokens/deprecated) for a matrix of changes. Some tokens have been removed from the project and need to be updated.
92
+ ```html
93
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm//@aurodesignsystem/design-tokens@latest/dist/alaska/CSSCustomProperties--alaska.css">
94
+ ```
104
95
 
105
- By supporting both the legacy and new Auro design tokens in your project, you ensure a smooth transition until all Auro components have been updated and your project has also updated local SCSS/CSS files with the new references.
96
+ **Note:** Exercise caution when using this CDN solution. The Auro team is NOT responsible for the maintenance of the CDN `https://cdn.jsdelivr.net/` [uptime](https://www.isitupdown.com/jsdelivr) and are unable to effectively troubleshoot response issues. It is recommended to use the installed version of Auro Design Tokens for critical UIs.
106
97
 
107
- ### Install with Sass
98
+ ## Available Themes & Resources
108
99
 
109
- When working with Sass, the preprocessor scripting language, there are several options for incorporating design tokens into your project. First, ensure that all design tokens are included to fulfill CSS custom property requests. This can be achieved by importing the SCSS file as demonstrated below:
100
+ ### Alaska Theme
110
101
 
111
- _note: this example is based on using the Alaska theme, substitute the directory path for the theme you wish to use._
102
+ | File | Syntax | Type | Description |
103
+ |-----------------------------|--------|--------------------|-------------------------------------------------------|
104
+ | CSSCustomProperties--alaska | CSS | Custom properties | All v5.x semantic tokens |
105
+ | primitives--alaska | SCSS | Sass variables | All v5.x semantic token values |
112
106
 
113
- ```scss
114
- @import "~@aurodesignsystem/design-tokens/dist/alaska/primitives--alaska.scss";
115
- ```
107
+ ### Alaska Classic Theme
116
108
 
117
- **NOTE:** When developing new UI code in Sass, it's still advisable to leverage CSS custom properties over Sass variables. See **Install with CSS** below.
109
+ The Alaska Classic theme uses the `v5.x` token names with the deprecated Auro Classic values.
118
110
 
119
- ### Install with CSS
111
+ It serves as a gateway to the `v5.x` tokens, facilitating a smooth transition for Auro components, leading to an eventual switch to the new "Alaska" theme.
120
112
 
121
- For React or similar frameworks, simply import the CSS file directly from npm:
113
+ | File | Syntax | Type | Description |
114
+ |----------------------------------------|-----------|--------------------|------------------------------------------------------|
115
+ | CSSCustomProperties--alaskaClassic | CSS | Custom properties | All v5.x semantic tokens |
116
+ | JSObject--allTokens.js | JS module | All data | All v5.x token data |
117
+ | primitives--alaskaClassic | SCSS | Sass variables | All v5.x semantic token values |
118
+ | SCSSVariables--alaskaClassic | SCSS | Sass variables | All v5.x semantic tokens |
119
+ | SCSSVariablesMapFlat--alaskaClassic | SCSS | Sass variable map | All v5.x semantic tokens as flat map |
122
120
 
123
- _note: this example is based on using the Alaska theme, substitute the directory path for the theme you wish to use._
121
+ ### Hawaiian Theme
124
122
 
125
- ```js
126
- import "@aurodesignsystem/design-tokens/dist/alaska/CSSCustomProperties--alaska.css"
127
- ```
123
+ | File | Syntax | Type | Description |
124
+ |-------------------------------|--------|--------------------|-------------------------------------------------------|
125
+ | CSSCustomProperties--hawaiian | CSS | Custom properties | All v5.x release tokens |
126
+ | primitives--hawaiian | SCSS | Sass variables | All v5.x semantic token values |
128
127
 
129
- For other frameworks, you'll need to copy the CSS file from the npm resource into your project using a build scenario.
128
+ ### Auro Classic Theme (Deprecated)
130
129
 
131
- ### Install ESModules
130
+ | File | Syntax | Type | Filter Type / Description |
131
+ |--------------------------|-----------|--------------------|----------------------------------|
132
+ | CSSCustomProperties | CSS | Custom properties | All v4.x release tokens |
133
+ | CSSSizeCustomProperties | CSS | Custom properties | Filter v4.x: size, public |
134
+ | JSData--color | JS module | Color data | Filter v4.x: color, Deprecated |
135
+ | JSONVariablesFlat | JSON Data | All data | All v4.x release tokens |
136
+ | JSONVariablesNested | JSON Data | All data | All v4.x release tokens |
137
+ | JSObject--deprecated | JS module | Deprecated tokens | Filter v4.x: deprecated, public |
138
+ | JSObject--allTokens.js | JS module | All data | All v4.x release tokens |
139
+ | JSVariables--color | JS ES6 | Color data | Filter v4.x: color |
140
+ | SCSSVariableMap | Sass | Sass variable map | Filter v4.x: size, public |
141
+ | SCSSVariables | SCSS | Sass variables | All v4.x release tokens |
142
+ | SCSSVariablesMapFlat | SCSS | Sass variable map | All v4.x release tokens |
143
+ | SassCustomProperties | SCSS | Custom properties | All v4.x release tokens |
144
+ | SassSizeCustomProperties | Sass | Custom properties | Filter v4.x: size, public |
132
145
 
133
- _Note: ESModules are not yet available for the v5.x tokens._
146
+ ### Transparent Theme (Deprecated)
134
147
 
135
- In a webpack-supported application or a `type="module"` script:
148
+ | File | Syntax | Type | Filter Type / Description |
149
+ |-------------------------------------|-----------|--------------------|---------------------------|
150
+ | CSSCustomProperties--transparent | CSS | Custom properties | All v4.0x release tokens |
151
+
152
+ ### Bundled File
153
+
154
+ | File | Syntax | Type | Description |
155
+ |---------------------------------|--------|-------------------|-----------------------------------------|
156
+ | CSSCustomProperties--bundled.css | CSS | Custom properties | Combined v5.x `semantic` CSS custom properties from all supported themes |
157
+
158
+ **NOTE: Bundled file is not intended for general use.**
159
+
160
+ ## Understanding the Architecture
161
+
162
+ ### Key Concepts
163
+
164
+ The Auro Design System is built on a structured hierarchy of design tokens organized around two key concepts:
165
+
166
+ - **Primitives**: Low-level, foundational values (colors, sizes, etc.)
167
+ - **Themes**: Semantic tokens that reference primitives with meaningful, usage-based names
168
+
169
+ ### Source Directory Structure
136
170
 
137
- ```js
138
- import { AuroColorAlertNotificationOnLight, AuroColorBorderErrorOnLight } from '@aurodesignsystem/design-tokens/dist/auro-classic/JSVariables--color.js';
171
+ ```
172
+ src/
173
+ ├── primitives/
174
+ │ ├── alaska/
175
+ │ │ ├── color.json
176
+ │ │ ├── typography.json
177
+ │ │ └── ...
178
+ │ ├── base/
179
+ │ │ ├── color.json
180
+ │ │ ├── transparency.json
181
+ │ │ └── ...
182
+ │ ├── hawaiian/
183
+ │ │ ├── color.json
184
+ │ │ ├── typography.json
185
+ │ │ └── ...
186
+ │ └── ...
187
+ └── themes/
188
+ ├── alaska/
189
+ │ ├── color.json
190
+ │ ├── typography.json
191
+ │ └── ...
192
+ ├── hawaiian/
193
+ │ ├── color.json
194
+ │ ├── typography.json
195
+ │ └── ...
196
+ └── ...
139
197
  ```
140
198
 
141
- ### Install from CDN
199
+ ### Multi-Level Token Architecture
142
200
 
143
- Using the `https://cdn.jsdelivr.net/npm/` CDN, every file in the dist directory can be accessed like so:
201
+ #### 1. Base Primitives: Shared Foundation
144
202
 
145
- ```html
146
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm//@aurodesignsystem/design-tokens@latest/dist/auro-alaska/CSSCustomProperties--alaska">
203
+ Base primitives (`src/primitives/base/`) define foundational values shared across the system:
204
+ - Common color scales (gray, neutral, status colors)
205
+ - Basic visual elements (black, white)
206
+ - Transparency values
207
+ - And more...
208
+
209
+ These base primitives are shared resources that theme-specific primitives can reference, providing consistency across the entire design system.
210
+
211
+ #### 2. Theme-Specific Primitives: Brand Identity
212
+
213
+ Each supported theme (Alaska, Hawaiian, etc.) has its own primitives folder (`src/primitives/alaska/`, `src/primitives/hawaiian/`) containing:
214
+ - Brand-specific color palettes
215
+ - Typography definitions unique to each brand
216
+ - And more...
217
+
218
+ These theme-specific primitives work alongside the shared `base` primitives to create a complete palette for each brand.
219
+
220
+ #### 3. Semantic Theme Tokens: Usage-Based References
221
+
222
+ The tokens in the `themes` directory (`src/themes/alaska/`, `src/themes/hawaiian/`) are semantic tokens that:
223
+ - Reference primitive values using paths like `{color.atlas.600.value}`
224
+ - Have meaningful names based on their function (e.g., `color.brand.primary`)
225
+ - Provide usage descriptions explaining their intended context
226
+ - Are marked as `"public": true` for use in components
227
+
228
+ #### 4. Multi-level Semantic References
229
+
230
+ Semantic tokens can reference other semantic tokens, not just primitives:
231
+ - For example, `font.weight.heading.heading1` can reference `{font.weight.book.value}`
232
+ - This creates multiple layers of abstraction and flexibility
233
+ - These reference chains ultimately resolve to primitive values
234
+
235
+ ### Best Practices
236
+
237
+ **Never Use Primitives Directly in UI**
238
+
239
+ UI components should never directly use primitives (either `base` or theme-specific).
240
+
241
+ Instead, always use semantic theme tokens:
242
+
243
+ ```css
244
+ /* ❌ Incorrect: Using primitives directly */
245
+ .element {
246
+ color: var(--ds-color-atlas-600); /* Theme-specific primitive */
247
+ background-color: var(--ds-color-gray-100); /* Base primitive */
248
+ }
249
+
250
+ /* ✅ Correct: Using semantic theme tokens */
251
+ .element {
252
+ color: var(--ds-color-brand-primary);
253
+ background-color: var(--ds-color-surface-neutralSubtle);
254
+ }
147
255
  ```
148
256
 
149
- **Note:** Exercise caution when using this CDN solution. The Auro team is NOT responsible for the maintenance of the CDN `https://cdn.jsdelivr.net/` [uptime](https://www.isitupdown.com/jsdelivr) and are unable to effectively troubleshoot response issues. It is recommended to use the installed version of Auro Design Tokens for critical UIs. Any additional CDN solution must be maintained by the team using this solution per this [Discussion](https://github.com/orgs/AlaskaAirlines/discussions/513).
257
+ ### Benefits of This Architecture
258
+
259
+ This three-tiered approach provides several advantages:
260
+
261
+ 1. **Theme Flexibility**: Components can seamlessly switch between themes without code changes
262
+ 2. **Abstraction of Intent**: Semantic naming communicates the purpose of each token
263
+ 3. **Centralized Updates**: Changes to primitive values automatically propagate to all semantic tokens
264
+ 4. **Design Consistency**: Related UI elements share the same semantic tokens across different contexts
265
+ 5. **Clear Migration Path**: Supports multiple versions during transition periods
266
+
267
+
268
+
269
+ ## Migration from v4.x to v5.x
270
+
271
+ With the release of Auro Design Tokens 5.x significant changes have occurred:
272
+
273
+ - `./dist/` directory has been restructured. All file imports will need to have their paths updated.
274
+ - The v4.x default theme is now called `Auro Classic`. The files for this theme may be found in `./dist/auro-classic`. This theme is now deprecated.
275
+ - **NEW** Alaska theme found in `./dist/alaska`.
276
+ - **NEW** Hawaiian theme found in `./dist/hawaiian`.
277
+ - The Alaska theme and Hawaiian theme are intended to be used one at a time within a given DOM `scope`. It is not supported to load both themes into the same `scope` of the document.
278
+ - v4.x and v5.x token names are unique to each version. As such, the `./dist/auro-classic` theme can be loaded with any of the other themes to support old Auro component versions that do not yet run on the v5.x tokens.
279
+ - Review the [Deprecated tokens list](https://auro.alaskaair.com/getting-started/developers/design-tokens/deprecated) for a matrix of changes. Some tokens have been removed from the project and need to be updated.
280
+
281
+ By supporting both the legacy and new Auro design tokens in your project, you ensure a smooth transition until all Auro components have been updated and your project has also updated local SCSS/CSS files with the new references.
@@ -1,56 +1,62 @@
1
1
  /**
2
- * Do not edit directly
3
- * Generated on Tue, 04 Mar 2025 19:47:26 GMT
2
+ Do not edit directly
3
+ Generated on Thu, 06 Mar 2025 18:17:01 GMT
4
4
  */
5
5
 
6
6
  /* Properties from CSSCustomProperties--alaska.css */
7
- [aag-theme="aag-theme-as"] {
7
+ [data-aag-theme="aag-theme-as"] {
8
8
  --ds-color-border-bold: #585e67;
9
- --ds-color-border-brand: #265688;
9
+ --ds-color-border-brand: #01426a;
10
10
  --ds-color-border-default: #959595;
11
11
  --ds-color-border-divider: #00000026;
12
12
  --ds-color-border-divider-inverse: #ffffff66;
13
13
  --ds-color-border-inverse: #ffffff;
14
14
  --ds-color-border-subtle: #dddddd;
15
- --ds-color-brand-accent1: #778f53;
16
- --ds-color-brand-primary: #005fa7;
17
- --ds-color-brand-primary-bold: #003761;
18
- --ds-color-brand-primary-subtle: #289bee;
19
- --ds-color-brand-secondary: #265688;
20
- --ds-color-brand-secondary-bold: #00274a;
21
- --ds-color-brand-secondary-subtle: #2875b5;
22
- --ds-color-brand-tertiary: #5de3f7;
23
- --ds-color-brand-tertiary-bold: #18c3dd;
24
- --ds-color-brand-tertiary-subtle: #b4eff9;
25
- --ds-color-fare-brand-basic: #5de3f7;
26
- --ds-color-fare-brand-first: #00274a;
27
- --ds-color-fare-brand-economy: #005fa7;
28
- --ds-color-fare-brand-premium: #005154;
29
- --ds-color-fare-brand-one-world-emerald: #139142;
30
- --ds-color-fare-brand-one-world-ruby: #a41d4a;
31
- --ds-color-fare-brand-one-world-sapphire: #015daa;
32
- --ds-color-page-background-default: #ffffff;
33
- --ds-color-page-background-utility: #f7f8fa;
15
+ --ds-color-brand-primary: #01426a;
16
+ --ds-color-brand-primary-bold: #00274a;
17
+ --ds-color-brand-primary-muted: #ebf3f9;
18
+ --ds-color-brand-primary-subtle: #2875b5;
19
+ --ds-color-brand-secondary: #5de3f7;
20
+ --ds-color-brand-secondary-bold: #18c3dd;
21
+ --ds-color-brand-secondary-muted: #ebfafd;
22
+ --ds-color-brand-secondary-subtle: #b4eff9;
23
+ --ds-color-brand-tertiary: #a3cd6a;
24
+ --ds-color-brand-tertiary-bold: #7daf3b;
25
+ --ds-color-brand-tertiary-muted: #eaf3dd;
26
+ --ds-color-brand-tertiary-subtle: #c9e1a7;
27
+ --ds-color-farebrand-basiceconomy: #97eaf8;
28
+ --ds-color-farebrand-business-first: #00274a;
29
+ --ds-color-farebrand-economy: #0074ca;
30
+ --ds-color-farebrand-premiumeconomy: #005154;
31
+ --ds-color-farebrand-oneworld-emerald: #139142;
32
+ --ds-color-farebrand-oneworld-sapphire: #015daa;
33
+ --ds-color-farebrand-oneworld-ruby: #a41d4a;
34
+ --ds-color-pagebackground-default: #ebfafd;
35
+ --ds-color-pagebackground-utility: #ffffff;
34
36
  --ds-color-status-default: #afb9c6;
35
- --ds-color-status-error: #f15f65;
37
+ --ds-color-status-error: #e53339;
36
38
  --ds-color-status-error-subtle: #fddede;
37
- --ds-color-status-info: #005fa7;
38
- --ds-color-status-info-subtle: #aedeff;
39
- --ds-color-status-success: #7ac248;
39
+ --ds-color-status-info: #01426a;
40
+ --ds-color-status-info-subtle: #e8f2f8;
41
+ --ds-color-status-success: #529325;
40
42
  --ds-color-status-success-subtle: #e4f1da;
41
43
  --ds-color-status-warning: #fac200;
42
44
  --ds-color-status-warning-subtle: #fff6d1;
43
- --ds-color-surface-accent1: #265688;
44
- --ds-color-surface-accent1-muted: #ebf7ff;
45
+ --ds-color-surface-accent1: #5de3f7;
46
+ --ds-color-surface-accent1-muted: #ebfafd;
47
+ --ds-color-surface-accent1-subtle: #b4eff9;
48
+ --ds-color-surface-accent2: #a3cd6a;
49
+ --ds-color-surface-accent2-muted: #eaf3dd;
45
50
  --ds-color-surface-default: #ffffff;
46
- --ds-color-surface-inverse: #01426a;
47
- --ds-color-surface-inverse-subtle: #265688;
51
+ --ds-color-surface-inverse: #00274a;
52
+ --ds-color-surface-inverse-subtle: #2875b5;
48
53
  --ds-color-surface-neutral-medium: #c5c5c5;
49
- --ds-color-surface-neutral-subtle: #f7f7f7;
50
- --ds-color-texticon-accent1: #265688;
54
+ --ds-color-surface-neutral-subtle: #f2f2f2;
55
+ --ds-color-texticon-accent1: #00274a;
51
56
  --ds-color-texticon-default: #2a2a2a;
52
- --ds-color-texticon-disabled: #adadad;
57
+ --ds-color-texticon-disabled: #d0d0d0;
53
58
  --ds-color-texticon-inverse: #ffffff;
59
+ --ds-color-texticon-inverse-disabled: #d0d0d0;
54
60
  --ds-color-texticon-muted: #676767;
55
61
  --ds-font-weight-body-default: Book;
56
62
  --ds-font-weight-body-large: Book;
@@ -63,11 +69,11 @@
63
69
  --ds-font-weight-heading-heading3: Medium;
64
70
  --ds-font-weight-heading-heading4: Medium;
65
71
  --ds-font-weight-heading-heading5: Medium;
66
- --ds-font-weight-heading-heading6: Medium;
72
+ --ds-font-weight-heading-heading6: Medium;
67
73
  }
68
74
 
69
75
  /* Properties from CSSCustomProperties--hawaiian.css */
70
- [aag-theme="aag-theme-ha"] {
76
+ [data-aag-theme="aag-theme-ha"] {
71
77
  --ds-color-border-bold: #adadad;
72
78
  --ds-color-border-brand: #d0d0d0;
73
79
  --ds-color-border-default: #d0d0d0;
@@ -75,25 +81,27 @@
75
81
  --ds-color-border-divider-inverse: #ffffff66;
76
82
  --ds-color-border-inverse: #ffffff;
77
83
  --ds-color-border-subtle: #dddddd;
78
- --ds-color-brand-accent1: #00a5ba;
79
84
  --ds-color-brand-primary: #ce0c88;
80
85
  --ds-color-brand-primary-bold: #831a57;
86
+ --ds-color-brand-primary-muted: #fdf1f8;
81
87
  --ds-color-brand-primary-subtle: #f0a5d2;
82
88
  --ds-color-brand-secondary: #463c8f;
83
89
  --ds-color-brand-secondary-bold: #31295c;
84
- --ds-color-brand-secondary-subtle: #8c7eb8;
90
+ --ds-color-brand-secondary-muted: #edeaf4;
91
+ --ds-color-brand-secondary-subtle: #6b5da4;
85
92
  --ds-color-brand-tertiary: #ee453d;
86
93
  --ds-color-brand-tertiary-bold: #97322a;
94
+ --ds-color-brand-tertiary-muted: #ffeeea;
87
95
  --ds-color-brand-tertiary-subtle: #ff9080;
88
- --ds-color-fare-brand-basic: #d0d0d0;
89
- --ds-color-fare-brand-first: #463c8f;
90
- --ds-color-fare-brand-economy: #ce0c88;
91
- --ds-color-fare-brand-premium: #00a5ba;
92
- --ds-color-fare-brand-one-world-emerald: #139142;
93
- --ds-color-fare-brand-one-world-ruby: #a41d4a;
94
- --ds-color-fare-brand-one-world-sapphire: #015daa;
95
- --ds-color-page-background-default: #ffffff;
96
- --ds-color-page-background-utility: #f7f7f7;
96
+ --ds-color-farebrand-basiceconomy: #d0d0d0;
97
+ --ds-color-farebrand-business-first: #463c8f;
98
+ --ds-color-farebrand-economy: #ce0c88;
99
+ --ds-color-farebrand-premiumeconomy: #00a5ba;
100
+ --ds-color-farebrand-oneworld-emerald: #139142;
101
+ --ds-color-farebrand-oneworld-sapphire: #015daa;
102
+ --ds-color-farebrand-oneworld-ruby: #a41d4a;
103
+ --ds-color-pagebackground-default: #ffffff;
104
+ --ds-color-pagebackground-utility: #f2f2f2;
97
105
  --ds-color-status-default: #463c8f;
98
106
  --ds-color-status-error: #e53339;
99
107
  --ds-color-status-error-subtle: #fddede;
@@ -101,19 +109,23 @@
101
109
  --ds-color-status-info-subtle: #e8f2f8;
102
110
  --ds-color-status-success: #529325;
103
111
  --ds-color-status-success-subtle: #e4f1da;
104
- --ds-color-status-warning: #9e7b00;
112
+ --ds-color-status-warning: #fac200;
105
113
  --ds-color-status-warning-subtle: #fff6d1;
106
- --ds-color-surface-accent1: #f2f2f2;
107
- --ds-color-surface-accent1-muted: #f2f2f2;
114
+ --ds-color-surface-accent1: #dddddd;
115
+ --ds-color-surface-accent1-muted: #f7f7f7;
116
+ --ds-color-surface-accent1-subtle: #f2f2f2;
117
+ --ds-color-surface-accent2: #dddddd;
118
+ --ds-color-surface-accent2-muted: #f7f7f7;
108
119
  --ds-color-surface-default: #ffffff;
109
120
  --ds-color-surface-inverse: #463c8f;
110
- --ds-color-surface-inverse-subtle: #463c8f;
121
+ --ds-color-surface-inverse-subtle: #6b5da4;
111
122
  --ds-color-surface-neutral-medium: #dddddd;
112
- --ds-color-surface-neutral-subtle: #f2f2f2;
123
+ --ds-color-surface-neutral-subtle: #f7f7f7;
113
124
  --ds-color-texticon-accent1: #000000;
114
125
  --ds-color-texticon-default: #000000;
115
- --ds-color-texticon-disabled: #adadad;
126
+ --ds-color-texticon-disabled: #d0d0d0;
116
127
  --ds-color-texticon-inverse: #ffffff;
128
+ --ds-color-texticon-inverse-disabled: #d0d0d0;
117
129
  --ds-color-texticon-muted: #3d3d3d;
118
130
  --ds-font-weight-display: Semibold;
119
131
  --ds-font-weight-body-default: Regular;
@@ -126,5 +138,74 @@
126
138
  --ds-font-weight-heading-heading3: Medium;
127
139
  --ds-font-weight-heading-heading4: Medium;
128
140
  --ds-font-weight-heading-heading5: Medium;
129
- --ds-font-weight-heading-heading6: Medium;
141
+ --ds-font-weight-heading-heading6: Medium;
142
+ }
143
+
144
+ /* Properties from CSSCustomProperties--alaskaClassic.css */
145
+ [data-aag-theme="aag-theme-ac"] {
146
+ --ds-color-border-bold: #585e67;
147
+ --ds-color-border-brand: #01426a;
148
+ --ds-color-border-default: #959595;
149
+ --ds-color-border-divider: #00000026;
150
+ --ds-color-border-divider-inverse: #ffffff66;
151
+ --ds-color-border-inverse: #ffffff;
152
+ --ds-color-border-subtle: #dddddd;
153
+ --ds-color-brand-primary: #0074ca;
154
+ --ds-color-brand-primary-bold: #003761;
155
+ --ds-color-brand-primary-muted: #ebf7ff;
156
+ --ds-color-brand-primary-subtle: #289bee;
157
+ --ds-color-brand-secondary: #01426a;
158
+ --ds-color-brand-secondary-bold: #00274a;
159
+ --ds-color-brand-secondary-muted: #ebf3f9;
160
+ --ds-color-brand-secondary-subtle: #2875b5;
161
+ --ds-color-brand-tertiary: #5de3f7;
162
+ --ds-color-brand-tertiary-bold: #18c3dd;
163
+ --ds-color-brand-tertiary-muted: #ebfafd;
164
+ --ds-color-brand-tertiary-subtle: #b4eff9;
165
+ --ds-color-farebrand-basiceconomy: #97eaf8;
166
+ --ds-color-farebrand-business-first: #00274a;
167
+ --ds-color-farebrand-economy: #0074ca;
168
+ --ds-color-farebrand-premiumeconomy: #005154;
169
+ --ds-color-farebrand-oneworld-emerald: #139142;
170
+ --ds-color-farebrand-oneworld-sapphire: #015daa;
171
+ --ds-color-farebrand-oneworld-ruby: #a41d4a;
172
+ --ds-color-pagebackground-default: #ffffff;
173
+ --ds-color-pagebackground-utility: #f7f8fa;
174
+ --ds-color-status-default: #afb9c6;
175
+ --ds-color-status-error: #e53339;
176
+ --ds-color-status-error-subtle: #fddede;
177
+ --ds-color-status-info: #007db1;
178
+ --ds-color-status-info-subtle: #e8f2f8;
179
+ --ds-color-status-success: #529325;
180
+ --ds-color-status-success-subtle: #e4f1da;
181
+ --ds-color-status-warning: #fac200;
182
+ --ds-color-status-warning-subtle: #fff6d1;
183
+ --ds-color-surface-accent1: #0074ca;
184
+ --ds-color-surface-accent1-muted: #ebf7ff;
185
+ --ds-color-surface-accent1-subtle: #289bee;
186
+ --ds-color-surface-accent2: #959595;
187
+ --ds-color-surface-accent2-muted: #c5c5c5;
188
+ --ds-color-surface-default: #ffffff;
189
+ --ds-color-surface-inverse: #01426a;
190
+ --ds-color-surface-inverse-subtle: #2875b5;
191
+ --ds-color-surface-neutral-medium: #c5c5c5;
192
+ --ds-color-surface-neutral-subtle: #f2f2f2;
193
+ --ds-color-texticon-accent1: #01426a;
194
+ --ds-color-texticon-default: #2a2a2a;
195
+ --ds-color-texticon-disabled: #d0d0d0;
196
+ --ds-color-texticon-inverse: #ffffff;
197
+ --ds-color-texticon-inverse-disabled: #d0d0d0;
198
+ --ds-color-texticon-muted: #676767;
199
+ --ds-font-weight-body-default: Book;
200
+ --ds-font-weight-body-large: Book;
201
+ --ds-font-weight-body-small: Book;
202
+ --ds-font-weight-body-xsmall: Book;
203
+ --ds-font-weight-body-xxsmall: Book;
204
+ --ds-font-weight-display: Light;
205
+ --ds-font-weight-heading-heading1: Book;
206
+ --ds-font-weight-heading-heading2: Book;
207
+ --ds-font-weight-heading-heading3: Medium;
208
+ --ds-font-weight-heading-heading4: Medium;
209
+ --ds-font-weight-heading-heading5: Medium;
210
+ --ds-font-weight-heading-heading6: Medium;
130
211
  }