@hashicorp/design-system-tokens 1.9.0 → 1.11.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.
- package/CHANGELOG.md +57 -13
- package/dist/devdot/css/helpers/color.css +1 -1
- package/dist/devdot/css/helpers/elevation.css +1 -1
- package/dist/devdot/css/helpers/focus-ring.css +1 -1
- package/dist/devdot/css/helpers/typography.css +1 -1
- package/dist/devdot/css/tokens.css +13 -3
- package/dist/docs/products/tokens.json +234 -2
- package/dist/marketing/css/helpers/color.css +1 -1
- package/dist/marketing/css/helpers/elevation.css +1 -1
- package/dist/marketing/css/helpers/focus-ring.css +1 -1
- package/dist/marketing/css/helpers/typography.css +1 -1
- package/dist/marketing/css/tokens.css +13 -3
- package/dist/marketing/tokens.json +262 -2
- package/dist/products/css/helpers/color.css +1 -1
- package/dist/products/css/helpers/elevation.css +1 -1
- package/dist/products/css/helpers/focus-ring.css +1 -1
- package/dist/products/css/helpers/typography.css +1 -1
- package/dist/products/css/tokens.css +13 -3
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,68 +1,112 @@
|
|
|
1
1
|
# @hashicorp/design-system-tokens
|
|
2
2
|
|
|
3
|
+
## 1.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
Updated `vault`, `vault-secrets`, and `vault-radar` brand color values
|
|
8
|
+
|
|
9
|
+
<small class="doc-whats-new-changelog-metadata">[#1914](https://github.com/hashicorp/design-system/pull/1914)</small>
|
|
10
|
+
|
|
11
|
+
<div class="doc-whats-new-changelog-separator"></div>
|
|
12
|
+
|
|
13
|
+
Added design token for `terraform-brand-on-dark` color
|
|
14
|
+
|
|
15
|
+
<small class="doc-whats-new-changelog-metadata">[#1915](https://github.com/hashicorp/design-system/pull/1915)</small>
|
|
16
|
+
|
|
17
|
+
<div class="doc-whats-new-changelog-separator"></div>
|
|
18
|
+
|
|
19
|
+
## 1.10.0
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
Added color tokens for “Vault Radar” product
|
|
24
|
+
|
|
25
|
+
<small class="doc-whats-new-changelog-metadata">[#1904](https://github.com/hashicorp/design-system/pull/1904)</small>
|
|
26
|
+
|
|
27
|
+
<div class="doc-whats-new-changelog-separator"></div>
|
|
28
|
+
|
|
3
29
|
## 1.9.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
6
32
|
|
|
7
|
-
|
|
33
|
+
Added design tokens for `SideNav` with `@isCollapsible` (to control if users can collapse the sidenav on 'desktop' viewports) and `@isMinimized` (to control the default state on 'desktop' viewports) arguments
|
|
34
|
+
|
|
35
|
+
<small class="doc-whats-new-changelog-metadata">[#1630](https://github.com/hashicorp/design-system/pull/1630)</small>
|
|
8
36
|
|
|
9
37
|
## 1.8.0
|
|
10
38
|
|
|
11
39
|
### Minor Changes
|
|
12
40
|
|
|
13
|
-
|
|
41
|
+
Added color tokens for “Vault Secrets” product
|
|
14
42
|
|
|
15
|
-
|
|
43
|
+
<small class="doc-whats-new-changelog-metadata">[#1640](https://github.com/hashicorp/design-system/pull/1640)</small>
|
|
16
44
|
|
|
17
45
|
## 1.7.0
|
|
18
46
|
|
|
19
47
|
### Minor Changes
|
|
20
48
|
|
|
21
|
-
|
|
49
|
+
Added JSON output format for `marketing` target (and in the process refactored internal logic for tokens generation)
|
|
50
|
+
|
|
51
|
+
<small class="doc-whats-new-changelog-metadata">[#1513](https://github.com/hashicorp/design-system/pull/1513) - Thanks [@dstaley](https://github.com/dstaley) for the contribution! 🙏 </small>
|
|
22
52
|
|
|
23
53
|
## 1.6.0
|
|
24
54
|
|
|
25
55
|
### Minor Changes
|
|
26
56
|
|
|
27
|
-
|
|
57
|
+
Added design token for loading state icon on search input
|
|
58
|
+
|
|
59
|
+
<small class="doc-whats-new-changelog-metadata">[#1452](https://github.com/hashicorp/design-system/pull/1452)</small>
|
|
28
60
|
|
|
29
61
|
## 1.5.0
|
|
30
62
|
|
|
31
63
|
### Minor Changes
|
|
32
64
|
|
|
33
|
-
-
|
|
34
|
-
|
|
65
|
+
- Added new `TooltipButton` component and `hds-tooltip` modifier
|
|
66
|
+
- Added design tokens for `Tooltip`
|
|
67
|
+
|
|
68
|
+
<small class="doc-whats-new-changelog-metadata">[#1283](https://github.com/hashicorp/design-system/pull/1283)</small>
|
|
35
69
|
|
|
36
70
|
## 1.4.2
|
|
37
71
|
|
|
38
72
|
### Patch Changes
|
|
39
73
|
|
|
40
|
-
|
|
74
|
+
Added design tokens for `SideNav` component
|
|
75
|
+
|
|
76
|
+
<small class="doc-whats-new-changelog-metadata">[#1313](https://github.com/hashicorp/design-system/pull/1313)</small>
|
|
41
77
|
|
|
42
78
|
## 1.4.1
|
|
43
79
|
|
|
44
80
|
### Patch Changes
|
|
45
81
|
|
|
46
|
-
-
|
|
47
|
-
|
|
82
|
+
- Scoped group layout styles to nested child components.
|
|
83
|
+
- Fixed bug with `--token-pagination-child-spacing-vertical` value so that it adds "px" unit.
|
|
84
|
+
|
|
85
|
+
<small class="doc-whats-new-changelog-metadata">[#1204](https://github.com/hashicorp/design-system/pull/1204)</small>
|
|
48
86
|
|
|
49
87
|
## 1.4.0
|
|
50
88
|
|
|
51
89
|
### Minor Changes
|
|
52
90
|
|
|
53
|
-
|
|
91
|
+
Added design tokens for `Pagination` component
|
|
92
|
+
|
|
93
|
+
<small class="doc-whats-new-changelog-metadata">[#661](https://github.com/hashicorp/design-system/pull/661)</small>
|
|
54
94
|
|
|
55
95
|
## 1.3.1
|
|
56
96
|
|
|
57
97
|
### Patch Changes
|
|
58
98
|
|
|
59
|
-
|
|
99
|
+
Updated design system name to "Helios"
|
|
100
|
+
|
|
101
|
+
<small class="doc-whats-new-changelog-metadata">[#1036](https://github.com/hashicorp/design-system/pull/1036)</small>
|
|
60
102
|
|
|
61
103
|
## 1.3.0
|
|
62
104
|
|
|
63
105
|
### Minor Changes
|
|
64
106
|
|
|
65
|
-
|
|
107
|
+
Added design tokens for indeterminate `Checkbox`
|
|
108
|
+
|
|
109
|
+
<small class="doc-whats-new-changelog-metadata">[#740](https://github.com/hashicorp/design-system/pull/740)</small>
|
|
66
110
|
|
|
67
111
|
## 1.2.0
|
|
68
112
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Fri,
|
|
3
|
+
* Generated on Fri, 02 Feb 2024 21:05:58 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -129,6 +129,7 @@
|
|
|
129
129
|
--token-color-packer-gradient-faint-start: #f3fcff; /* this is the 'packer-50' value at 25% opacity on white */
|
|
130
130
|
--token-color-packer-gradient-faint-stop: #d4f2ff;
|
|
131
131
|
--token-color-terraform-brand: #7b42bc;
|
|
132
|
+
--token-color-terraform-brand-on-dark: #a067da; /* this is an alternative brand color meant to be used on dark backgrounds */
|
|
132
133
|
--token-color-terraform-foreground: #773cb4;
|
|
133
134
|
--token-color-terraform-surface: #f4ecff;
|
|
134
135
|
--token-color-terraform-border: #ebdbfc;
|
|
@@ -144,7 +145,16 @@
|
|
|
144
145
|
--token-color-vagrant-gradient-primary-stop: #7dadff;
|
|
145
146
|
--token-color-vagrant-gradient-faint-start: #f4faff; /* this is the 'vagrant-50' value at 25% opacity on white */
|
|
146
147
|
--token-color-vagrant-gradient-faint-stop: #d6ebff;
|
|
147
|
-
--token-color-vault-
|
|
148
|
+
--token-color-vault-radar-brand: #ffcf25;
|
|
149
|
+
--token-color-vault-radar-brand-alt: #000000; /* this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault radar would not work */
|
|
150
|
+
--token-color-vault-radar-foreground: #9a6f00;
|
|
151
|
+
--token-color-vault-radar-surface: #fff9cf;
|
|
152
|
+
--token-color-vault-radar-border: #feec7b;
|
|
153
|
+
--token-color-vault-radar-gradient-primary-start: #feec7b;
|
|
154
|
+
--token-color-vault-radar-gradient-primary-stop: #ffe543;
|
|
155
|
+
--token-color-vault-radar-gradient-faint-start: #fffdf2; /* this is the 'vault-radar-50' value at 25% opacity on white */
|
|
156
|
+
--token-color-vault-radar-gradient-faint-stop: #fff9cf;
|
|
157
|
+
--token-color-vault-secrets-brand: #ffcf25;
|
|
148
158
|
--token-color-vault-secrets-brand-alt: #000000; /* this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault Secrets would not work */
|
|
149
159
|
--token-color-vault-secrets-foreground: #9a6f00;
|
|
150
160
|
--token-color-vault-secrets-surface: #fff9cf;
|
|
@@ -153,7 +163,7 @@
|
|
|
153
163
|
--token-color-vault-secrets-gradient-primary-stop: #ffe543;
|
|
154
164
|
--token-color-vault-secrets-gradient-faint-start: #fffdf2; /* this is the 'vault-secrets-50' value at 25% opacity on white */
|
|
155
165
|
--token-color-vault-secrets-gradient-faint-stop: #fff9cf;
|
|
156
|
-
--token-color-vault-brand: #
|
|
166
|
+
--token-color-vault-brand: #ffcf25;
|
|
157
167
|
--token-color-vault-brand-alt: #000000; /* this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault would not work */
|
|
158
168
|
--token-color-vault-foreground: #9a6f00;
|
|
159
169
|
--token-color-vault-surface: #fff9cf;
|
|
@@ -2672,6 +2672,29 @@
|
|
|
2672
2672
|
"brand"
|
|
2673
2673
|
]
|
|
2674
2674
|
},
|
|
2675
|
+
{
|
|
2676
|
+
"value": "#a067da",
|
|
2677
|
+
"type": "color",
|
|
2678
|
+
"group": "branding",
|
|
2679
|
+
"comment": "this is an alternative brand color meant to be used on dark backgrounds",
|
|
2680
|
+
"original": {
|
|
2681
|
+
"value": "#a067da",
|
|
2682
|
+
"type": "color",
|
|
2683
|
+
"group": "branding",
|
|
2684
|
+
"comment": "this is an alternative brand color meant to be used on dark backgrounds"
|
|
2685
|
+
},
|
|
2686
|
+
"name": "token-color-terraform-brand-on-dark",
|
|
2687
|
+
"attributes": {
|
|
2688
|
+
"category": "color",
|
|
2689
|
+
"type": "terraform",
|
|
2690
|
+
"item": "brand-on-dark"
|
|
2691
|
+
},
|
|
2692
|
+
"path": [
|
|
2693
|
+
"color",
|
|
2694
|
+
"terraform",
|
|
2695
|
+
"brand-on-dark"
|
|
2696
|
+
]
|
|
2697
|
+
},
|
|
2675
2698
|
{
|
|
2676
2699
|
"value": "#773cb4",
|
|
2677
2700
|
"type": "color",
|
|
@@ -3024,7 +3047,216 @@
|
|
|
3024
3047
|
]
|
|
3025
3048
|
},
|
|
3026
3049
|
{
|
|
3027
|
-
"value": "#
|
|
3050
|
+
"value": "#ffcf25",
|
|
3051
|
+
"type": "color",
|
|
3052
|
+
"group": "branding",
|
|
3053
|
+
"original": {
|
|
3054
|
+
"value": "{color.palette.vault-radar-brand.value}",
|
|
3055
|
+
"type": "color",
|
|
3056
|
+
"group": "branding"
|
|
3057
|
+
},
|
|
3058
|
+
"name": "token-color-vault-radar-brand",
|
|
3059
|
+
"attributes": {
|
|
3060
|
+
"category": "color",
|
|
3061
|
+
"type": "vault-radar",
|
|
3062
|
+
"item": "brand"
|
|
3063
|
+
},
|
|
3064
|
+
"path": [
|
|
3065
|
+
"color",
|
|
3066
|
+
"vault-radar",
|
|
3067
|
+
"brand"
|
|
3068
|
+
]
|
|
3069
|
+
},
|
|
3070
|
+
{
|
|
3071
|
+
"value": "#000000",
|
|
3072
|
+
"type": "color",
|
|
3073
|
+
"group": "branding",
|
|
3074
|
+
"comment": "this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault radar would not work",
|
|
3075
|
+
"original": {
|
|
3076
|
+
"value": "#000",
|
|
3077
|
+
"type": "color",
|
|
3078
|
+
"group": "branding",
|
|
3079
|
+
"comment": "this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault radar would not work"
|
|
3080
|
+
},
|
|
3081
|
+
"name": "token-color-vault-radar-brand-alt",
|
|
3082
|
+
"attributes": {
|
|
3083
|
+
"category": "color",
|
|
3084
|
+
"type": "vault-radar",
|
|
3085
|
+
"item": "brand-alt"
|
|
3086
|
+
},
|
|
3087
|
+
"path": [
|
|
3088
|
+
"color",
|
|
3089
|
+
"vault-radar",
|
|
3090
|
+
"brand-alt"
|
|
3091
|
+
]
|
|
3092
|
+
},
|
|
3093
|
+
{
|
|
3094
|
+
"value": "#9a6f00",
|
|
3095
|
+
"type": "color",
|
|
3096
|
+
"group": "branding",
|
|
3097
|
+
"original": {
|
|
3098
|
+
"value": "{color.palette.vault-radar-500.value}",
|
|
3099
|
+
"type": "color",
|
|
3100
|
+
"group": "branding"
|
|
3101
|
+
},
|
|
3102
|
+
"name": "token-color-vault-radar-foreground",
|
|
3103
|
+
"attributes": {
|
|
3104
|
+
"category": "color",
|
|
3105
|
+
"type": "vault-radar",
|
|
3106
|
+
"item": "foreground"
|
|
3107
|
+
},
|
|
3108
|
+
"path": [
|
|
3109
|
+
"color",
|
|
3110
|
+
"vault-radar",
|
|
3111
|
+
"foreground"
|
|
3112
|
+
]
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
"value": "#fff9cf",
|
|
3116
|
+
"type": "color",
|
|
3117
|
+
"group": "branding",
|
|
3118
|
+
"original": {
|
|
3119
|
+
"value": "{color.palette.vault-radar-50.value}",
|
|
3120
|
+
"type": "color",
|
|
3121
|
+
"group": "branding"
|
|
3122
|
+
},
|
|
3123
|
+
"name": "token-color-vault-radar-surface",
|
|
3124
|
+
"attributes": {
|
|
3125
|
+
"category": "color",
|
|
3126
|
+
"type": "vault-radar",
|
|
3127
|
+
"item": "surface"
|
|
3128
|
+
},
|
|
3129
|
+
"path": [
|
|
3130
|
+
"color",
|
|
3131
|
+
"vault-radar",
|
|
3132
|
+
"surface"
|
|
3133
|
+
]
|
|
3134
|
+
},
|
|
3135
|
+
{
|
|
3136
|
+
"value": "#feec7b",
|
|
3137
|
+
"type": "color",
|
|
3138
|
+
"group": "branding",
|
|
3139
|
+
"original": {
|
|
3140
|
+
"value": "{color.palette.vault-radar-100.value}",
|
|
3141
|
+
"type": "color",
|
|
3142
|
+
"group": "branding"
|
|
3143
|
+
},
|
|
3144
|
+
"name": "token-color-vault-radar-border",
|
|
3145
|
+
"attributes": {
|
|
3146
|
+
"category": "color",
|
|
3147
|
+
"type": "vault-radar",
|
|
3148
|
+
"item": "border"
|
|
3149
|
+
},
|
|
3150
|
+
"path": [
|
|
3151
|
+
"color",
|
|
3152
|
+
"vault-radar",
|
|
3153
|
+
"border"
|
|
3154
|
+
]
|
|
3155
|
+
},
|
|
3156
|
+
{
|
|
3157
|
+
"value": "#feec7b",
|
|
3158
|
+
"type": "color",
|
|
3159
|
+
"group": "branding",
|
|
3160
|
+
"original": {
|
|
3161
|
+
"value": "{color.palette.vault-radar-100.value}",
|
|
3162
|
+
"type": "color",
|
|
3163
|
+
"group": "branding"
|
|
3164
|
+
},
|
|
3165
|
+
"name": "token-color-vault-radar-gradient-primary-start",
|
|
3166
|
+
"attributes": {
|
|
3167
|
+
"category": "color",
|
|
3168
|
+
"type": "vault-radar",
|
|
3169
|
+
"item": "gradient",
|
|
3170
|
+
"subitem": "primary",
|
|
3171
|
+
"state": "start"
|
|
3172
|
+
},
|
|
3173
|
+
"path": [
|
|
3174
|
+
"color",
|
|
3175
|
+
"vault-radar",
|
|
3176
|
+
"gradient",
|
|
3177
|
+
"primary",
|
|
3178
|
+
"start"
|
|
3179
|
+
]
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"value": "#ffe543",
|
|
3183
|
+
"type": "color",
|
|
3184
|
+
"group": "branding",
|
|
3185
|
+
"original": {
|
|
3186
|
+
"value": "{color.palette.vault-radar-200.value}",
|
|
3187
|
+
"type": "color",
|
|
3188
|
+
"group": "branding"
|
|
3189
|
+
},
|
|
3190
|
+
"name": "token-color-vault-radar-gradient-primary-stop",
|
|
3191
|
+
"attributes": {
|
|
3192
|
+
"category": "color",
|
|
3193
|
+
"type": "vault-radar",
|
|
3194
|
+
"item": "gradient",
|
|
3195
|
+
"subitem": "primary",
|
|
3196
|
+
"state": "stop"
|
|
3197
|
+
},
|
|
3198
|
+
"path": [
|
|
3199
|
+
"color",
|
|
3200
|
+
"vault-radar",
|
|
3201
|
+
"gradient",
|
|
3202
|
+
"primary",
|
|
3203
|
+
"stop"
|
|
3204
|
+
]
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
3207
|
+
"value": "#fffdf2",
|
|
3208
|
+
"type": "color",
|
|
3209
|
+
"group": "branding",
|
|
3210
|
+
"comment": "this is the 'vault-radar-50' value at 25% opacity on white",
|
|
3211
|
+
"original": {
|
|
3212
|
+
"value": "#fffdf2",
|
|
3213
|
+
"type": "color",
|
|
3214
|
+
"group": "branding",
|
|
3215
|
+
"comment": "this is the 'vault-radar-50' value at 25% opacity on white"
|
|
3216
|
+
},
|
|
3217
|
+
"name": "token-color-vault-radar-gradient-faint-start",
|
|
3218
|
+
"attributes": {
|
|
3219
|
+
"category": "color",
|
|
3220
|
+
"type": "vault-radar",
|
|
3221
|
+
"item": "gradient",
|
|
3222
|
+
"subitem": "faint",
|
|
3223
|
+
"state": "start"
|
|
3224
|
+
},
|
|
3225
|
+
"path": [
|
|
3226
|
+
"color",
|
|
3227
|
+
"vault-radar",
|
|
3228
|
+
"gradient",
|
|
3229
|
+
"faint",
|
|
3230
|
+
"start"
|
|
3231
|
+
]
|
|
3232
|
+
},
|
|
3233
|
+
{
|
|
3234
|
+
"value": "#fff9cf",
|
|
3235
|
+
"type": "color",
|
|
3236
|
+
"group": "branding",
|
|
3237
|
+
"original": {
|
|
3238
|
+
"value": "{color.palette.vault-radar-50.value}",
|
|
3239
|
+
"type": "color",
|
|
3240
|
+
"group": "branding"
|
|
3241
|
+
},
|
|
3242
|
+
"name": "token-color-vault-radar-gradient-faint-stop",
|
|
3243
|
+
"attributes": {
|
|
3244
|
+
"category": "color",
|
|
3245
|
+
"type": "vault-radar",
|
|
3246
|
+
"item": "gradient",
|
|
3247
|
+
"subitem": "faint",
|
|
3248
|
+
"state": "stop"
|
|
3249
|
+
},
|
|
3250
|
+
"path": [
|
|
3251
|
+
"color",
|
|
3252
|
+
"vault-radar",
|
|
3253
|
+
"gradient",
|
|
3254
|
+
"faint",
|
|
3255
|
+
"stop"
|
|
3256
|
+
]
|
|
3257
|
+
},
|
|
3258
|
+
{
|
|
3259
|
+
"value": "#ffcf25",
|
|
3028
3260
|
"type": "color",
|
|
3029
3261
|
"group": "branding",
|
|
3030
3262
|
"original": {
|
|
@@ -3233,7 +3465,7 @@
|
|
|
3233
3465
|
]
|
|
3234
3466
|
},
|
|
3235
3467
|
{
|
|
3236
|
-
"value": "#
|
|
3468
|
+
"value": "#ffcf25",
|
|
3237
3469
|
"type": "color",
|
|
3238
3470
|
"group": "branding",
|
|
3239
3471
|
"original": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Fri,
|
|
3
|
+
* Generated on Fri, 02 Feb 2024 21:05:58 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -127,6 +127,7 @@
|
|
|
127
127
|
--token-color-packer-gradient-faint-start: #f3fcff; /* this is the 'packer-50' value at 25% opacity on white */
|
|
128
128
|
--token-color-packer-gradient-faint-stop: #d4f2ff;
|
|
129
129
|
--token-color-terraform-brand: #7b42bc;
|
|
130
|
+
--token-color-terraform-brand-on-dark: #a067da; /* this is an alternative brand color meant to be used on dark backgrounds */
|
|
130
131
|
--token-color-terraform-foreground: #773cb4;
|
|
131
132
|
--token-color-terraform-surface: #f4ecff;
|
|
132
133
|
--token-color-terraform-border: #ebdbfc;
|
|
@@ -142,7 +143,16 @@
|
|
|
142
143
|
--token-color-vagrant-gradient-primary-stop: #7dadff;
|
|
143
144
|
--token-color-vagrant-gradient-faint-start: #f4faff; /* this is the 'vagrant-50' value at 25% opacity on white */
|
|
144
145
|
--token-color-vagrant-gradient-faint-stop: #d6ebff;
|
|
145
|
-
--token-color-vault-
|
|
146
|
+
--token-color-vault-radar-brand: #ffcf25;
|
|
147
|
+
--token-color-vault-radar-brand-alt: #000000; /* this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault radar would not work */
|
|
148
|
+
--token-color-vault-radar-foreground: #9a6f00;
|
|
149
|
+
--token-color-vault-radar-surface: #fff9cf;
|
|
150
|
+
--token-color-vault-radar-border: #feec7b;
|
|
151
|
+
--token-color-vault-radar-gradient-primary-start: #feec7b;
|
|
152
|
+
--token-color-vault-radar-gradient-primary-stop: #ffe543;
|
|
153
|
+
--token-color-vault-radar-gradient-faint-start: #fffdf2; /* this is the 'vault-radar-50' value at 25% opacity on white */
|
|
154
|
+
--token-color-vault-radar-gradient-faint-stop: #fff9cf;
|
|
155
|
+
--token-color-vault-secrets-brand: #ffcf25;
|
|
146
156
|
--token-color-vault-secrets-brand-alt: #000000; /* this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault Secrets would not work */
|
|
147
157
|
--token-color-vault-secrets-foreground: #9a6f00;
|
|
148
158
|
--token-color-vault-secrets-surface: #fff9cf;
|
|
@@ -151,7 +161,7 @@
|
|
|
151
161
|
--token-color-vault-secrets-gradient-primary-stop: #ffe543;
|
|
152
162
|
--token-color-vault-secrets-gradient-faint-start: #fffdf2; /* this is the 'vault-secrets-50' value at 25% opacity on white */
|
|
153
163
|
--token-color-vault-secrets-gradient-faint-stop: #fff9cf;
|
|
154
|
-
--token-color-vault-brand: #
|
|
164
|
+
--token-color-vault-brand: #ffcf25;
|
|
155
165
|
--token-color-vault-brand-alt: #000000; /* this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault would not work */
|
|
156
166
|
--token-color-vault-foreground: #9a6f00;
|
|
157
167
|
--token-color-vault-surface: #fff9cf;
|
|
@@ -2972,6 +2972,31 @@
|
|
|
2972
2972
|
"brand"
|
|
2973
2973
|
]
|
|
2974
2974
|
},
|
|
2975
|
+
"brand-on-dark": {
|
|
2976
|
+
"value": "#a067da",
|
|
2977
|
+
"type": "color",
|
|
2978
|
+
"group": "branding",
|
|
2979
|
+
"comment": "this is an alternative brand color meant to be used on dark backgrounds",
|
|
2980
|
+
"filePath": "src/products/shared/color/semantic-product-terraform.json",
|
|
2981
|
+
"isSource": true,
|
|
2982
|
+
"original": {
|
|
2983
|
+
"value": "#a067da",
|
|
2984
|
+
"type": "color",
|
|
2985
|
+
"group": "branding",
|
|
2986
|
+
"comment": "this is an alternative brand color meant to be used on dark backgrounds"
|
|
2987
|
+
},
|
|
2988
|
+
"name": "token-color-terraform-brand-on-dark",
|
|
2989
|
+
"attributes": {
|
|
2990
|
+
"category": "color",
|
|
2991
|
+
"type": "terraform",
|
|
2992
|
+
"item": "brand-on-dark"
|
|
2993
|
+
},
|
|
2994
|
+
"path": [
|
|
2995
|
+
"color",
|
|
2996
|
+
"terraform",
|
|
2997
|
+
"brand-on-dark"
|
|
2998
|
+
]
|
|
2999
|
+
},
|
|
2975
3000
|
"foreground": {
|
|
2976
3001
|
"value": "#773cb4",
|
|
2977
3002
|
"type": "color",
|
|
@@ -3368,9 +3393,244 @@
|
|
|
3368
3393
|
}
|
|
3369
3394
|
}
|
|
3370
3395
|
},
|
|
3396
|
+
"vault-radar": {
|
|
3397
|
+
"brand": {
|
|
3398
|
+
"value": "#ffcf25",
|
|
3399
|
+
"type": "color",
|
|
3400
|
+
"group": "branding",
|
|
3401
|
+
"filePath": "src/products/shared/color/semantic-product-vault-radar.json",
|
|
3402
|
+
"isSource": true,
|
|
3403
|
+
"original": {
|
|
3404
|
+
"value": "{color.palette.vault-radar-brand.value}",
|
|
3405
|
+
"type": "color",
|
|
3406
|
+
"group": "branding"
|
|
3407
|
+
},
|
|
3408
|
+
"name": "token-color-vault-radar-brand",
|
|
3409
|
+
"attributes": {
|
|
3410
|
+
"category": "color",
|
|
3411
|
+
"type": "vault-radar",
|
|
3412
|
+
"item": "brand"
|
|
3413
|
+
},
|
|
3414
|
+
"path": [
|
|
3415
|
+
"color",
|
|
3416
|
+
"vault-radar",
|
|
3417
|
+
"brand"
|
|
3418
|
+
]
|
|
3419
|
+
},
|
|
3420
|
+
"brand-alt": {
|
|
3421
|
+
"value": "#000000",
|
|
3422
|
+
"type": "color",
|
|
3423
|
+
"group": "branding",
|
|
3424
|
+
"comment": "this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault radar would not work",
|
|
3425
|
+
"filePath": "src/products/shared/color/semantic-product-vault-radar.json",
|
|
3426
|
+
"isSource": true,
|
|
3427
|
+
"original": {
|
|
3428
|
+
"value": "#000",
|
|
3429
|
+
"type": "color",
|
|
3430
|
+
"group": "branding",
|
|
3431
|
+
"comment": "this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault radar would not work"
|
|
3432
|
+
},
|
|
3433
|
+
"name": "token-color-vault-radar-brand-alt",
|
|
3434
|
+
"attributes": {
|
|
3435
|
+
"category": "color",
|
|
3436
|
+
"type": "vault-radar",
|
|
3437
|
+
"item": "brand-alt"
|
|
3438
|
+
},
|
|
3439
|
+
"path": [
|
|
3440
|
+
"color",
|
|
3441
|
+
"vault-radar",
|
|
3442
|
+
"brand-alt"
|
|
3443
|
+
]
|
|
3444
|
+
},
|
|
3445
|
+
"foreground": {
|
|
3446
|
+
"value": "#9a6f00",
|
|
3447
|
+
"type": "color",
|
|
3448
|
+
"group": "branding",
|
|
3449
|
+
"filePath": "src/products/shared/color/semantic-product-vault-radar.json",
|
|
3450
|
+
"isSource": true,
|
|
3451
|
+
"original": {
|
|
3452
|
+
"value": "{color.palette.vault-radar-500.value}",
|
|
3453
|
+
"type": "color",
|
|
3454
|
+
"group": "branding"
|
|
3455
|
+
},
|
|
3456
|
+
"name": "token-color-vault-radar-foreground",
|
|
3457
|
+
"attributes": {
|
|
3458
|
+
"category": "color",
|
|
3459
|
+
"type": "vault-radar",
|
|
3460
|
+
"item": "foreground"
|
|
3461
|
+
},
|
|
3462
|
+
"path": [
|
|
3463
|
+
"color",
|
|
3464
|
+
"vault-radar",
|
|
3465
|
+
"foreground"
|
|
3466
|
+
]
|
|
3467
|
+
},
|
|
3468
|
+
"surface": {
|
|
3469
|
+
"value": "#fff9cf",
|
|
3470
|
+
"type": "color",
|
|
3471
|
+
"group": "branding",
|
|
3472
|
+
"filePath": "src/products/shared/color/semantic-product-vault-radar.json",
|
|
3473
|
+
"isSource": true,
|
|
3474
|
+
"original": {
|
|
3475
|
+
"value": "{color.palette.vault-radar-50.value}",
|
|
3476
|
+
"type": "color",
|
|
3477
|
+
"group": "branding"
|
|
3478
|
+
},
|
|
3479
|
+
"name": "token-color-vault-radar-surface",
|
|
3480
|
+
"attributes": {
|
|
3481
|
+
"category": "color",
|
|
3482
|
+
"type": "vault-radar",
|
|
3483
|
+
"item": "surface"
|
|
3484
|
+
},
|
|
3485
|
+
"path": [
|
|
3486
|
+
"color",
|
|
3487
|
+
"vault-radar",
|
|
3488
|
+
"surface"
|
|
3489
|
+
]
|
|
3490
|
+
},
|
|
3491
|
+
"border": {
|
|
3492
|
+
"value": "#feec7b",
|
|
3493
|
+
"type": "color",
|
|
3494
|
+
"group": "branding",
|
|
3495
|
+
"filePath": "src/products/shared/color/semantic-product-vault-radar.json",
|
|
3496
|
+
"isSource": true,
|
|
3497
|
+
"original": {
|
|
3498
|
+
"value": "{color.palette.vault-radar-100.value}",
|
|
3499
|
+
"type": "color",
|
|
3500
|
+
"group": "branding"
|
|
3501
|
+
},
|
|
3502
|
+
"name": "token-color-vault-radar-border",
|
|
3503
|
+
"attributes": {
|
|
3504
|
+
"category": "color",
|
|
3505
|
+
"type": "vault-radar",
|
|
3506
|
+
"item": "border"
|
|
3507
|
+
},
|
|
3508
|
+
"path": [
|
|
3509
|
+
"color",
|
|
3510
|
+
"vault-radar",
|
|
3511
|
+
"border"
|
|
3512
|
+
]
|
|
3513
|
+
},
|
|
3514
|
+
"gradient": {
|
|
3515
|
+
"primary": {
|
|
3516
|
+
"start": {
|
|
3517
|
+
"value": "#feec7b",
|
|
3518
|
+
"type": "color",
|
|
3519
|
+
"group": "branding",
|
|
3520
|
+
"filePath": "src/products/shared/color/semantic-product-vault-radar.json",
|
|
3521
|
+
"isSource": true,
|
|
3522
|
+
"original": {
|
|
3523
|
+
"value": "{color.palette.vault-radar-100.value}",
|
|
3524
|
+
"type": "color",
|
|
3525
|
+
"group": "branding"
|
|
3526
|
+
},
|
|
3527
|
+
"name": "token-color-vault-radar-gradient-primary-start",
|
|
3528
|
+
"attributes": {
|
|
3529
|
+
"category": "color",
|
|
3530
|
+
"type": "vault-radar",
|
|
3531
|
+
"item": "gradient",
|
|
3532
|
+
"subitem": "primary",
|
|
3533
|
+
"state": "start"
|
|
3534
|
+
},
|
|
3535
|
+
"path": [
|
|
3536
|
+
"color",
|
|
3537
|
+
"vault-radar",
|
|
3538
|
+
"gradient",
|
|
3539
|
+
"primary",
|
|
3540
|
+
"start"
|
|
3541
|
+
]
|
|
3542
|
+
},
|
|
3543
|
+
"stop": {
|
|
3544
|
+
"value": "#ffe543",
|
|
3545
|
+
"type": "color",
|
|
3546
|
+
"group": "branding",
|
|
3547
|
+
"filePath": "src/products/shared/color/semantic-product-vault-radar.json",
|
|
3548
|
+
"isSource": true,
|
|
3549
|
+
"original": {
|
|
3550
|
+
"value": "{color.palette.vault-radar-200.value}",
|
|
3551
|
+
"type": "color",
|
|
3552
|
+
"group": "branding"
|
|
3553
|
+
},
|
|
3554
|
+
"name": "token-color-vault-radar-gradient-primary-stop",
|
|
3555
|
+
"attributes": {
|
|
3556
|
+
"category": "color",
|
|
3557
|
+
"type": "vault-radar",
|
|
3558
|
+
"item": "gradient",
|
|
3559
|
+
"subitem": "primary",
|
|
3560
|
+
"state": "stop"
|
|
3561
|
+
},
|
|
3562
|
+
"path": [
|
|
3563
|
+
"color",
|
|
3564
|
+
"vault-radar",
|
|
3565
|
+
"gradient",
|
|
3566
|
+
"primary",
|
|
3567
|
+
"stop"
|
|
3568
|
+
]
|
|
3569
|
+
}
|
|
3570
|
+
},
|
|
3571
|
+
"faint": {
|
|
3572
|
+
"start": {
|
|
3573
|
+
"value": "#fffdf2",
|
|
3574
|
+
"type": "color",
|
|
3575
|
+
"group": "branding",
|
|
3576
|
+
"comment": "this is the 'vault-radar-50' value at 25% opacity on white",
|
|
3577
|
+
"filePath": "src/products/shared/color/semantic-product-vault-radar.json",
|
|
3578
|
+
"isSource": true,
|
|
3579
|
+
"original": {
|
|
3580
|
+
"value": "#fffdf2",
|
|
3581
|
+
"type": "color",
|
|
3582
|
+
"group": "branding",
|
|
3583
|
+
"comment": "this is the 'vault-radar-50' value at 25% opacity on white"
|
|
3584
|
+
},
|
|
3585
|
+
"name": "token-color-vault-radar-gradient-faint-start",
|
|
3586
|
+
"attributes": {
|
|
3587
|
+
"category": "color",
|
|
3588
|
+
"type": "vault-radar",
|
|
3589
|
+
"item": "gradient",
|
|
3590
|
+
"subitem": "faint",
|
|
3591
|
+
"state": "start"
|
|
3592
|
+
},
|
|
3593
|
+
"path": [
|
|
3594
|
+
"color",
|
|
3595
|
+
"vault-radar",
|
|
3596
|
+
"gradient",
|
|
3597
|
+
"faint",
|
|
3598
|
+
"start"
|
|
3599
|
+
]
|
|
3600
|
+
},
|
|
3601
|
+
"stop": {
|
|
3602
|
+
"value": "#fff9cf",
|
|
3603
|
+
"type": "color",
|
|
3604
|
+
"group": "branding",
|
|
3605
|
+
"filePath": "src/products/shared/color/semantic-product-vault-radar.json",
|
|
3606
|
+
"isSource": true,
|
|
3607
|
+
"original": {
|
|
3608
|
+
"value": "{color.palette.vault-radar-50.value}",
|
|
3609
|
+
"type": "color",
|
|
3610
|
+
"group": "branding"
|
|
3611
|
+
},
|
|
3612
|
+
"name": "token-color-vault-radar-gradient-faint-stop",
|
|
3613
|
+
"attributes": {
|
|
3614
|
+
"category": "color",
|
|
3615
|
+
"type": "vault-radar",
|
|
3616
|
+
"item": "gradient",
|
|
3617
|
+
"subitem": "faint",
|
|
3618
|
+
"state": "stop"
|
|
3619
|
+
},
|
|
3620
|
+
"path": [
|
|
3621
|
+
"color",
|
|
3622
|
+
"vault-radar",
|
|
3623
|
+
"gradient",
|
|
3624
|
+
"faint",
|
|
3625
|
+
"stop"
|
|
3626
|
+
]
|
|
3627
|
+
}
|
|
3628
|
+
}
|
|
3629
|
+
}
|
|
3630
|
+
},
|
|
3371
3631
|
"vault-secrets": {
|
|
3372
3632
|
"brand": {
|
|
3373
|
-
"value": "#
|
|
3633
|
+
"value": "#ffcf25",
|
|
3374
3634
|
"type": "color",
|
|
3375
3635
|
"group": "branding",
|
|
3376
3636
|
"filePath": "src/products/shared/color/semantic-product-vault-secrets.json",
|
|
@@ -3605,7 +3865,7 @@
|
|
|
3605
3865
|
},
|
|
3606
3866
|
"vault": {
|
|
3607
3867
|
"brand": {
|
|
3608
|
-
"value": "#
|
|
3868
|
+
"value": "#ffcf25",
|
|
3609
3869
|
"type": "color",
|
|
3610
3870
|
"group": "branding",
|
|
3611
3871
|
"filePath": "src/products/shared/color/semantic-product-vault.json",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Fri,
|
|
3
|
+
* Generated on Fri, 02 Feb 2024 21:05:58 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -127,6 +127,7 @@
|
|
|
127
127
|
--token-color-packer-gradient-faint-start: #f3fcff; /* this is the 'packer-50' value at 25% opacity on white */
|
|
128
128
|
--token-color-packer-gradient-faint-stop: #d4f2ff;
|
|
129
129
|
--token-color-terraform-brand: #7b42bc;
|
|
130
|
+
--token-color-terraform-brand-on-dark: #a067da; /* this is an alternative brand color meant to be used on dark backgrounds */
|
|
130
131
|
--token-color-terraform-foreground: #773cb4;
|
|
131
132
|
--token-color-terraform-surface: #f4ecff;
|
|
132
133
|
--token-color-terraform-border: #ebdbfc;
|
|
@@ -142,7 +143,16 @@
|
|
|
142
143
|
--token-color-vagrant-gradient-primary-stop: #7dadff;
|
|
143
144
|
--token-color-vagrant-gradient-faint-start: #f4faff; /* this is the 'vagrant-50' value at 25% opacity on white */
|
|
144
145
|
--token-color-vagrant-gradient-faint-stop: #d6ebff;
|
|
145
|
-
--token-color-vault-
|
|
146
|
+
--token-color-vault-radar-brand: #ffcf25;
|
|
147
|
+
--token-color-vault-radar-brand-alt: #000000; /* this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault radar would not work */
|
|
148
|
+
--token-color-vault-radar-foreground: #9a6f00;
|
|
149
|
+
--token-color-vault-radar-surface: #fff9cf;
|
|
150
|
+
--token-color-vault-radar-border: #feec7b;
|
|
151
|
+
--token-color-vault-radar-gradient-primary-start: #feec7b;
|
|
152
|
+
--token-color-vault-radar-gradient-primary-stop: #ffe543;
|
|
153
|
+
--token-color-vault-radar-gradient-faint-start: #fffdf2; /* this is the 'vault-radar-50' value at 25% opacity on white */
|
|
154
|
+
--token-color-vault-radar-gradient-faint-stop: #fff9cf;
|
|
155
|
+
--token-color-vault-secrets-brand: #ffcf25;
|
|
146
156
|
--token-color-vault-secrets-brand-alt: #000000; /* this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault Secrets would not work */
|
|
147
157
|
--token-color-vault-secrets-foreground: #9a6f00;
|
|
148
158
|
--token-color-vault-secrets-surface: #fff9cf;
|
|
@@ -151,7 +161,7 @@
|
|
|
151
161
|
--token-color-vault-secrets-gradient-primary-stop: #ffe543;
|
|
152
162
|
--token-color-vault-secrets-gradient-faint-start: #fffdf2; /* this is the 'vault-secrets-50' value at 25% opacity on white */
|
|
153
163
|
--token-color-vault-secrets-gradient-faint-stop: #fff9cf;
|
|
154
|
-
--token-color-vault-brand: #
|
|
164
|
+
--token-color-vault-brand: #ffcf25;
|
|
155
165
|
--token-color-vault-brand-alt: #000000; /* this is a special “alternative” color, used as an exception in some contexts where the normal “brand” color for Vault would not work */
|
|
156
166
|
--token-color-vault-foreground: #9a6f00;
|
|
157
167
|
--token-color-vault-surface: #fff9cf;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hashicorp/design-system-tokens",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"description": "Helios Design Tokens",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hashicorp",
|
|
@@ -22,20 +22,20 @@
|
|
|
22
22
|
"build": "ts-node --transpile-only ./scripts/build"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@types/fs-extra": "^
|
|
26
|
-
"@types/lodash": "^4.14.
|
|
27
|
-
"@types/node": "^
|
|
28
|
-
"@types/tinycolor2": "^1.4.
|
|
25
|
+
"@types/fs-extra": "^11.0.3",
|
|
26
|
+
"@types/lodash": "^4.14.200",
|
|
27
|
+
"@types/node": "^20.8.9",
|
|
28
|
+
"@types/tinycolor2": "^1.4.5",
|
|
29
29
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
30
30
|
"@typescript-eslint/parser": "^4.33.0",
|
|
31
31
|
"del": "^5.1.0",
|
|
32
32
|
"eslint": "^7.32.0",
|
|
33
|
-
"fs-extra": "^
|
|
33
|
+
"fs-extra": "^11.1.1",
|
|
34
34
|
"lodash": "^4.17.21",
|
|
35
35
|
"path": "^0.12.7",
|
|
36
|
-
"style-dictionary": "^3.
|
|
36
|
+
"style-dictionary": "^3.9.0",
|
|
37
37
|
"tinycolor2": "^1.6.0",
|
|
38
|
-
"ts-node": "^9.1
|
|
39
|
-
"typescript": "^
|
|
38
|
+
"ts-node": "^10.9.1",
|
|
39
|
+
"typescript": "^5.2.2"
|
|
40
40
|
}
|
|
41
41
|
}
|