@atlaskit/tokens 1.12.0 → 1.13.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 +16 -0
- package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +3 -2
- package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +3 -2
- package/dist/cjs/artifacts/generated-pairs.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-dark.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-legacy-dark.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-legacy-light.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-light.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +7 -1
- package/dist/cjs/artifacts/token-names.js +7 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +137 -5
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +137 -5
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +137 -5
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +137 -5
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/background.js +22 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/color/background.js +22 -0
- package/dist/cjs/tokens/atlassian-legacy-light/color/background.js +22 -0
- package/dist/cjs/tokens/atlassian-light/color/background.js +22 -0
- package/dist/cjs/tokens/default/color/background.js +54 -2
- package/dist/cjs/utils/generate-custom-color-ramp.js +16 -7
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +3 -2
- package/dist/es2019/artifacts/atlassian-light-token-value-for-contrast-check.js +3 -2
- package/dist/es2019/artifacts/generated-pairs.js +2 -2
- package/dist/es2019/artifacts/themes/atlassian-dark.js +7 -1
- package/dist/es2019/artifacts/themes/atlassian-legacy-dark.js +7 -1
- package/dist/es2019/artifacts/themes/atlassian-legacy-light.js +7 -1
- package/dist/es2019/artifacts/themes/atlassian-light.js +7 -1
- package/dist/es2019/artifacts/token-default-values.js +7 -1
- package/dist/es2019/artifacts/token-names.js +7 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +137 -5
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +137 -5
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +137 -5
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +137 -5
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/background.js +22 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/color/background.js +22 -0
- package/dist/es2019/tokens/atlassian-legacy-light/color/background.js +22 -0
- package/dist/es2019/tokens/atlassian-light/color/background.js +22 -0
- package/dist/es2019/tokens/default/color/background.js +54 -2
- package/dist/es2019/utils/generate-custom-color-ramp.js +16 -5
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +3 -2
- package/dist/esm/artifacts/atlassian-light-token-value-for-contrast-check.js +3 -2
- package/dist/esm/artifacts/generated-pairs.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-dark.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-legacy-dark.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-legacy-light.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-light.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +7 -1
- package/dist/esm/artifacts/token-names.js +7 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +137 -5
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +137 -5
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +137 -5
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +137 -5
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/background.js +22 -0
- package/dist/esm/tokens/atlassian-legacy-dark/color/background.js +22 -0
- package/dist/esm/tokens/atlassian-legacy-light/color/background.js +22 -0
- package/dist/esm/tokens/atlassian-light/color/background.js +22 -0
- package/dist/esm/tokens/default/color/background.js +54 -2
- package/dist/esm/utils/generate-custom-color-ramp.js +16 -7
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -1
- package/dist/types/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -1
- package/dist/types/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-dark.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-legacy-dark.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-legacy-light.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-light.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +7 -1
- package/dist/types/artifacts/token-names.d.ts +13 -1
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +1 -1
- package/dist/types/tokens/atlassian-light/utility/utility.d.ts +1 -1
- package/dist/types/tokens/default/utility/utility.d.ts +1 -1
- package/dist/types/types.d.ts +10 -0
- package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -1
- package/dist/types-ts4.5/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -1
- package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-dark.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-legacy-dark.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-legacy-light.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-light.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +7 -1
- package/dist/types-ts4.5/artifacts/token-names.d.ts +13 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
- package/dist/types-ts4.5/tokens/atlassian-dark/utility/utility.d.ts +1 -1
- package/dist/types-ts4.5/tokens/atlassian-light/utility/utility.d.ts +1 -1
- package/dist/types-ts4.5/tokens/default/utility/utility.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +10 -0
- package/figma/atlassian-dark.json +56 -2
- package/figma/atlassian-legacy-dark.json +56 -2
- package/figma/atlassian-legacy-light.json +56 -2
- package/figma/atlassian-light.json +56 -2
- package/package.json +2 -2
- package/report.api.md +24 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-iteration.js +0 -902
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-iteration.js +0 -895
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-iteration.js +0 -895
- package/dist/types/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +0 -91
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +0 -91
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::6601df15e45294ebfb575b1b034a2aa7>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = [{
|
|
@@ -3127,6 +3127,72 @@ var tokens = [{
|
|
|
3127
3127
|
"name": "color.background.selected.bold.pressed",
|
|
3128
3128
|
"path": ["color", "background", "selected", "bold", "pressed"],
|
|
3129
3129
|
"cleanName": "color.background.selected.bold.pressed"
|
|
3130
|
+
}, {
|
|
3131
|
+
"attributes": {
|
|
3132
|
+
"group": "paint",
|
|
3133
|
+
"state": "active",
|
|
3134
|
+
"introduced": "1.13.0",
|
|
3135
|
+
"description": "Use for the background of elements used to reinforce our brand, but with less emphasis."
|
|
3136
|
+
},
|
|
3137
|
+
"value": "#0747A6",
|
|
3138
|
+
"filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
|
|
3139
|
+
"isSource": true,
|
|
3140
|
+
"original": {
|
|
3141
|
+
"attributes": {
|
|
3142
|
+
"group": "paint",
|
|
3143
|
+
"state": "active",
|
|
3144
|
+
"introduced": "1.13.0",
|
|
3145
|
+
"description": "Use for the background of elements used to reinforce our brand, but with less emphasis."
|
|
3146
|
+
},
|
|
3147
|
+
"value": "B500"
|
|
3148
|
+
},
|
|
3149
|
+
"name": "color.background.brand.subtlest.[default]",
|
|
3150
|
+
"path": ["color", "background", "brand", "subtlest", "[default]"],
|
|
3151
|
+
"cleanName": "color.background.brand.subtlest"
|
|
3152
|
+
}, {
|
|
3153
|
+
"attributes": {
|
|
3154
|
+
"group": "paint",
|
|
3155
|
+
"state": "active",
|
|
3156
|
+
"introduced": "1.13.0",
|
|
3157
|
+
"description": "Hovered state of color.background.brand.subtlest."
|
|
3158
|
+
},
|
|
3159
|
+
"value": "#0052CC",
|
|
3160
|
+
"filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
|
|
3161
|
+
"isSource": true,
|
|
3162
|
+
"original": {
|
|
3163
|
+
"attributes": {
|
|
3164
|
+
"group": "paint",
|
|
3165
|
+
"state": "active",
|
|
3166
|
+
"introduced": "1.13.0",
|
|
3167
|
+
"description": "Hovered state of color.background.brand.subtlest."
|
|
3168
|
+
},
|
|
3169
|
+
"value": "B400"
|
|
3170
|
+
},
|
|
3171
|
+
"name": "color.background.brand.subtlest.hovered",
|
|
3172
|
+
"path": ["color", "background", "brand", "subtlest", "hovered"],
|
|
3173
|
+
"cleanName": "color.background.brand.subtlest.hovered"
|
|
3174
|
+
}, {
|
|
3175
|
+
"attributes": {
|
|
3176
|
+
"group": "paint",
|
|
3177
|
+
"state": "active",
|
|
3178
|
+
"introduced": "1.13.0",
|
|
3179
|
+
"description": "Pressed state of color.background.brand.subtlest"
|
|
3180
|
+
},
|
|
3181
|
+
"value": "#0747A6",
|
|
3182
|
+
"filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
|
|
3183
|
+
"isSource": true,
|
|
3184
|
+
"original": {
|
|
3185
|
+
"attributes": {
|
|
3186
|
+
"group": "paint",
|
|
3187
|
+
"state": "active",
|
|
3188
|
+
"introduced": "1.13.0",
|
|
3189
|
+
"description": "Pressed state of color.background.brand.subtlest"
|
|
3190
|
+
},
|
|
3191
|
+
"value": "B500"
|
|
3192
|
+
},
|
|
3193
|
+
"name": "color.background.brand.subtlest.pressed",
|
|
3194
|
+
"path": ["color", "background", "brand", "subtlest", "pressed"],
|
|
3195
|
+
"cleanName": "color.background.brand.subtlest.pressed"
|
|
3130
3196
|
}, {
|
|
3131
3197
|
"attributes": {
|
|
3132
3198
|
"group": "paint",
|
|
@@ -3154,7 +3220,7 @@ var tokens = [{
|
|
|
3154
3220
|
"group": "paint",
|
|
3155
3221
|
"state": "active",
|
|
3156
3222
|
"introduced": "0.6.0",
|
|
3157
|
-
"description": "Hovered state of color.background.brand.bold"
|
|
3223
|
+
"description": "Hovered state of color.background.brand.bold."
|
|
3158
3224
|
},
|
|
3159
3225
|
"value": "#0065FF",
|
|
3160
3226
|
"filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
|
|
@@ -3164,7 +3230,7 @@ var tokens = [{
|
|
|
3164
3230
|
"group": "paint",
|
|
3165
3231
|
"state": "active",
|
|
3166
3232
|
"introduced": "0.6.0",
|
|
3167
|
-
"description": "Hovered state of color.background.brand.bold"
|
|
3233
|
+
"description": "Hovered state of color.background.brand.bold."
|
|
3168
3234
|
},
|
|
3169
3235
|
"value": "B300"
|
|
3170
3236
|
},
|
|
@@ -3176,7 +3242,7 @@ var tokens = [{
|
|
|
3176
3242
|
"group": "paint",
|
|
3177
3243
|
"state": "active",
|
|
3178
3244
|
"introduced": "0.6.0",
|
|
3179
|
-
"description": "Pressed state of color.background.brand.bold"
|
|
3245
|
+
"description": "Pressed state of color.background.brand.bold."
|
|
3180
3246
|
},
|
|
3181
3247
|
"value": "#0747A6",
|
|
3182
3248
|
"filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
|
|
@@ -3186,13 +3252,79 @@ var tokens = [{
|
|
|
3186
3252
|
"group": "paint",
|
|
3187
3253
|
"state": "active",
|
|
3188
3254
|
"introduced": "0.6.0",
|
|
3189
|
-
"description": "Pressed state of color.background.brand.bold"
|
|
3255
|
+
"description": "Pressed state of color.background.brand.bold."
|
|
3190
3256
|
},
|
|
3191
3257
|
"value": "B500"
|
|
3192
3258
|
},
|
|
3193
3259
|
"name": "color.background.brand.bold.pressed",
|
|
3194
3260
|
"path": ["color", "background", "brand", "bold", "pressed"],
|
|
3195
3261
|
"cleanName": "color.background.brand.bold.pressed"
|
|
3262
|
+
}, {
|
|
3263
|
+
"attributes": {
|
|
3264
|
+
"group": "paint",
|
|
3265
|
+
"state": "active",
|
|
3266
|
+
"introduced": "1.13.0",
|
|
3267
|
+
"description": "Use for the background of elements used to reinforce our brand, that need to stand out a lot."
|
|
3268
|
+
},
|
|
3269
|
+
"value": "#B3D4FF",
|
|
3270
|
+
"filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
|
|
3271
|
+
"isSource": true,
|
|
3272
|
+
"original": {
|
|
3273
|
+
"attributes": {
|
|
3274
|
+
"group": "paint",
|
|
3275
|
+
"state": "active",
|
|
3276
|
+
"introduced": "1.13.0",
|
|
3277
|
+
"description": "Use for the background of elements used to reinforce our brand, that need to stand out a lot."
|
|
3278
|
+
},
|
|
3279
|
+
"value": "B75"
|
|
3280
|
+
},
|
|
3281
|
+
"name": "color.background.brand.boldest.[default]",
|
|
3282
|
+
"path": ["color", "background", "brand", "boldest", "[default]"],
|
|
3283
|
+
"cleanName": "color.background.brand.boldest"
|
|
3284
|
+
}, {
|
|
3285
|
+
"attributes": {
|
|
3286
|
+
"group": "paint",
|
|
3287
|
+
"state": "active",
|
|
3288
|
+
"introduced": "1.13.0",
|
|
3289
|
+
"description": "Hovered state of color.background.brand.boldest."
|
|
3290
|
+
},
|
|
3291
|
+
"value": "#DEEBFF",
|
|
3292
|
+
"filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
|
|
3293
|
+
"isSource": true,
|
|
3294
|
+
"original": {
|
|
3295
|
+
"attributes": {
|
|
3296
|
+
"group": "paint",
|
|
3297
|
+
"state": "active",
|
|
3298
|
+
"introduced": "1.13.0",
|
|
3299
|
+
"description": "Hovered state of color.background.brand.boldest."
|
|
3300
|
+
},
|
|
3301
|
+
"value": "B50"
|
|
3302
|
+
},
|
|
3303
|
+
"name": "color.background.brand.boldest.hovered",
|
|
3304
|
+
"path": ["color", "background", "brand", "boldest", "hovered"],
|
|
3305
|
+
"cleanName": "color.background.brand.boldest.hovered"
|
|
3306
|
+
}, {
|
|
3307
|
+
"attributes": {
|
|
3308
|
+
"group": "paint",
|
|
3309
|
+
"state": "active",
|
|
3310
|
+
"introduced": "1.13.0",
|
|
3311
|
+
"description": "Pressed state of color.background.brand.boldest."
|
|
3312
|
+
},
|
|
3313
|
+
"value": "#4C9AFF",
|
|
3314
|
+
"filePath": "src/tokens/atlassian-legacy-dark/color/background.tsx",
|
|
3315
|
+
"isSource": true,
|
|
3316
|
+
"original": {
|
|
3317
|
+
"attributes": {
|
|
3318
|
+
"group": "paint",
|
|
3319
|
+
"state": "active",
|
|
3320
|
+
"introduced": "1.13.0",
|
|
3321
|
+
"description": "Pressed state of color.background.brand.boldest."
|
|
3322
|
+
},
|
|
3323
|
+
"value": "B100"
|
|
3324
|
+
},
|
|
3325
|
+
"name": "color.background.brand.boldest.pressed",
|
|
3326
|
+
"path": ["color", "background", "brand", "boldest", "pressed"],
|
|
3327
|
+
"cleanName": "color.background.brand.boldest.pressed"
|
|
3196
3328
|
}, {
|
|
3197
3329
|
"attributes": {
|
|
3198
3330
|
"group": "paint",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::8b7aab21b157bced2314e03774c8445e>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = [{
|
|
@@ -3127,6 +3127,72 @@ var tokens = [{
|
|
|
3127
3127
|
"name": "color.background.selected.bold.pressed",
|
|
3128
3128
|
"path": ["color", "background", "selected", "bold", "pressed"],
|
|
3129
3129
|
"cleanName": "color.background.selected.bold.pressed"
|
|
3130
|
+
}, {
|
|
3131
|
+
"attributes": {
|
|
3132
|
+
"group": "paint",
|
|
3133
|
+
"state": "active",
|
|
3134
|
+
"introduced": "1.13.0",
|
|
3135
|
+
"description": "Use for the background of elements used to reinforce our brand, but with less emphasis."
|
|
3136
|
+
},
|
|
3137
|
+
"value": "#B3D4FF",
|
|
3138
|
+
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3139
|
+
"isSource": true,
|
|
3140
|
+
"original": {
|
|
3141
|
+
"attributes": {
|
|
3142
|
+
"group": "paint",
|
|
3143
|
+
"state": "active",
|
|
3144
|
+
"introduced": "1.13.0",
|
|
3145
|
+
"description": "Use for the background of elements used to reinforce our brand, but with less emphasis."
|
|
3146
|
+
},
|
|
3147
|
+
"value": "B75"
|
|
3148
|
+
},
|
|
3149
|
+
"name": "color.background.brand.subtlest.[default]",
|
|
3150
|
+
"path": ["color", "background", "brand", "subtlest", "[default]"],
|
|
3151
|
+
"cleanName": "color.background.brand.subtlest"
|
|
3152
|
+
}, {
|
|
3153
|
+
"attributes": {
|
|
3154
|
+
"group": "paint",
|
|
3155
|
+
"state": "active",
|
|
3156
|
+
"introduced": "1.13.0",
|
|
3157
|
+
"description": "Hovered state of color.background.brand.subtlest."
|
|
3158
|
+
},
|
|
3159
|
+
"value": "#DEEBFF",
|
|
3160
|
+
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3161
|
+
"isSource": true,
|
|
3162
|
+
"original": {
|
|
3163
|
+
"attributes": {
|
|
3164
|
+
"group": "paint",
|
|
3165
|
+
"state": "active",
|
|
3166
|
+
"introduced": "1.13.0",
|
|
3167
|
+
"description": "Hovered state of color.background.brand.subtlest."
|
|
3168
|
+
},
|
|
3169
|
+
"value": "B50"
|
|
3170
|
+
},
|
|
3171
|
+
"name": "color.background.brand.subtlest.hovered",
|
|
3172
|
+
"path": ["color", "background", "brand", "subtlest", "hovered"],
|
|
3173
|
+
"cleanName": "color.background.brand.subtlest.hovered"
|
|
3174
|
+
}, {
|
|
3175
|
+
"attributes": {
|
|
3176
|
+
"group": "paint",
|
|
3177
|
+
"state": "active",
|
|
3178
|
+
"introduced": "1.13.0",
|
|
3179
|
+
"description": "Pressed state of color.background.brand.subtlest"
|
|
3180
|
+
},
|
|
3181
|
+
"value": "#4C9AFF",
|
|
3182
|
+
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3183
|
+
"isSource": true,
|
|
3184
|
+
"original": {
|
|
3185
|
+
"attributes": {
|
|
3186
|
+
"group": "paint",
|
|
3187
|
+
"state": "active",
|
|
3188
|
+
"introduced": "1.13.0",
|
|
3189
|
+
"description": "Pressed state of color.background.brand.subtlest"
|
|
3190
|
+
},
|
|
3191
|
+
"value": "B100"
|
|
3192
|
+
},
|
|
3193
|
+
"name": "color.background.brand.subtlest.pressed",
|
|
3194
|
+
"path": ["color", "background", "brand", "subtlest", "pressed"],
|
|
3195
|
+
"cleanName": "color.background.brand.subtlest.pressed"
|
|
3130
3196
|
}, {
|
|
3131
3197
|
"attributes": {
|
|
3132
3198
|
"group": "paint",
|
|
@@ -3154,7 +3220,7 @@ var tokens = [{
|
|
|
3154
3220
|
"group": "paint",
|
|
3155
3221
|
"state": "active",
|
|
3156
3222
|
"introduced": "0.6.0",
|
|
3157
|
-
"description": "Hovered state of color.background.brand.bold"
|
|
3223
|
+
"description": "Hovered state of color.background.brand.bold."
|
|
3158
3224
|
},
|
|
3159
3225
|
"value": "#0065FF",
|
|
3160
3226
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
@@ -3164,7 +3230,7 @@ var tokens = [{
|
|
|
3164
3230
|
"group": "paint",
|
|
3165
3231
|
"state": "active",
|
|
3166
3232
|
"introduced": "0.6.0",
|
|
3167
|
-
"description": "Hovered state of color.background.brand.bold"
|
|
3233
|
+
"description": "Hovered state of color.background.brand.bold."
|
|
3168
3234
|
},
|
|
3169
3235
|
"value": "B300"
|
|
3170
3236
|
},
|
|
@@ -3176,7 +3242,7 @@ var tokens = [{
|
|
|
3176
3242
|
"group": "paint",
|
|
3177
3243
|
"state": "active",
|
|
3178
3244
|
"introduced": "0.6.0",
|
|
3179
|
-
"description": "Pressed state of color.background.brand.bold"
|
|
3245
|
+
"description": "Pressed state of color.background.brand.bold."
|
|
3180
3246
|
},
|
|
3181
3247
|
"value": "#0747A6",
|
|
3182
3248
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
@@ -3186,13 +3252,79 @@ var tokens = [{
|
|
|
3186
3252
|
"group": "paint",
|
|
3187
3253
|
"state": "active",
|
|
3188
3254
|
"introduced": "0.6.0",
|
|
3189
|
-
"description": "Pressed state of color.background.brand.bold"
|
|
3255
|
+
"description": "Pressed state of color.background.brand.bold."
|
|
3190
3256
|
},
|
|
3191
3257
|
"value": "B500"
|
|
3192
3258
|
},
|
|
3193
3259
|
"name": "color.background.brand.bold.pressed",
|
|
3194
3260
|
"path": ["color", "background", "brand", "bold", "pressed"],
|
|
3195
3261
|
"cleanName": "color.background.brand.bold.pressed"
|
|
3262
|
+
}, {
|
|
3263
|
+
"attributes": {
|
|
3264
|
+
"group": "paint",
|
|
3265
|
+
"state": "active",
|
|
3266
|
+
"introduced": "1.13.0",
|
|
3267
|
+
"description": "Use for the background of elements used to reinforce our brand, that need to stand out a lot."
|
|
3268
|
+
},
|
|
3269
|
+
"value": "#0747A6",
|
|
3270
|
+
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3271
|
+
"isSource": true,
|
|
3272
|
+
"original": {
|
|
3273
|
+
"attributes": {
|
|
3274
|
+
"group": "paint",
|
|
3275
|
+
"state": "active",
|
|
3276
|
+
"introduced": "1.13.0",
|
|
3277
|
+
"description": "Use for the background of elements used to reinforce our brand, that need to stand out a lot."
|
|
3278
|
+
},
|
|
3279
|
+
"value": "B500"
|
|
3280
|
+
},
|
|
3281
|
+
"name": "color.background.brand.boldest.[default]",
|
|
3282
|
+
"path": ["color", "background", "brand", "boldest", "[default]"],
|
|
3283
|
+
"cleanName": "color.background.brand.boldest"
|
|
3284
|
+
}, {
|
|
3285
|
+
"attributes": {
|
|
3286
|
+
"group": "paint",
|
|
3287
|
+
"state": "active",
|
|
3288
|
+
"introduced": "1.13.0",
|
|
3289
|
+
"description": "Hovered state of color.background.brand.boldest."
|
|
3290
|
+
},
|
|
3291
|
+
"value": "#0052CC",
|
|
3292
|
+
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3293
|
+
"isSource": true,
|
|
3294
|
+
"original": {
|
|
3295
|
+
"attributes": {
|
|
3296
|
+
"group": "paint",
|
|
3297
|
+
"state": "active",
|
|
3298
|
+
"introduced": "1.13.0",
|
|
3299
|
+
"description": "Hovered state of color.background.brand.boldest."
|
|
3300
|
+
},
|
|
3301
|
+
"value": "B400"
|
|
3302
|
+
},
|
|
3303
|
+
"name": "color.background.brand.boldest.hovered",
|
|
3304
|
+
"path": ["color", "background", "brand", "boldest", "hovered"],
|
|
3305
|
+
"cleanName": "color.background.brand.boldest.hovered"
|
|
3306
|
+
}, {
|
|
3307
|
+
"attributes": {
|
|
3308
|
+
"group": "paint",
|
|
3309
|
+
"state": "active",
|
|
3310
|
+
"introduced": "1.13.0",
|
|
3311
|
+
"description": "Pressed state of color.background.brand.boldest."
|
|
3312
|
+
},
|
|
3313
|
+
"value": "#0747A6",
|
|
3314
|
+
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3315
|
+
"isSource": true,
|
|
3316
|
+
"original": {
|
|
3317
|
+
"attributes": {
|
|
3318
|
+
"group": "paint",
|
|
3319
|
+
"state": "active",
|
|
3320
|
+
"introduced": "1.13.0",
|
|
3321
|
+
"description": "Pressed state of color.background.brand.boldest."
|
|
3322
|
+
},
|
|
3323
|
+
"value": "B500"
|
|
3324
|
+
},
|
|
3325
|
+
"name": "color.background.brand.boldest.pressed",
|
|
3326
|
+
"path": ["color", "background", "brand", "boldest", "pressed"],
|
|
3327
|
+
"cleanName": "color.background.brand.boldest.pressed"
|
|
3196
3328
|
}, {
|
|
3197
3329
|
"attributes": {
|
|
3198
3330
|
"group": "paint",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::c96324369c8a09e129803eff1f33d1e8>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = [{
|
|
@@ -3127,6 +3127,72 @@ var tokens = [{
|
|
|
3127
3127
|
"name": "color.background.selected.bold.pressed",
|
|
3128
3128
|
"path": ["color", "background", "selected", "bold", "pressed"],
|
|
3129
3129
|
"cleanName": "color.background.selected.bold.pressed"
|
|
3130
|
+
}, {
|
|
3131
|
+
"attributes": {
|
|
3132
|
+
"group": "paint",
|
|
3133
|
+
"state": "active",
|
|
3134
|
+
"introduced": "1.13.0",
|
|
3135
|
+
"description": "Use for the background of elements used to reinforce our brand, but with less emphasis."
|
|
3136
|
+
},
|
|
3137
|
+
"value": "#E9F2FF",
|
|
3138
|
+
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
3139
|
+
"isSource": true,
|
|
3140
|
+
"original": {
|
|
3141
|
+
"attributes": {
|
|
3142
|
+
"group": "paint",
|
|
3143
|
+
"state": "active",
|
|
3144
|
+
"introduced": "1.13.0",
|
|
3145
|
+
"description": "Use for the background of elements used to reinforce our brand, but with less emphasis."
|
|
3146
|
+
},
|
|
3147
|
+
"value": "Blue100"
|
|
3148
|
+
},
|
|
3149
|
+
"name": "color.background.brand.subtlest.[default]",
|
|
3150
|
+
"path": ["color", "background", "brand", "subtlest", "[default]"],
|
|
3151
|
+
"cleanName": "color.background.brand.subtlest"
|
|
3152
|
+
}, {
|
|
3153
|
+
"attributes": {
|
|
3154
|
+
"group": "paint",
|
|
3155
|
+
"state": "active",
|
|
3156
|
+
"introduced": "1.13.0",
|
|
3157
|
+
"description": "Hovered state of color.background.brand.subtlest."
|
|
3158
|
+
},
|
|
3159
|
+
"value": "#CCE0FF",
|
|
3160
|
+
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
3161
|
+
"isSource": true,
|
|
3162
|
+
"original": {
|
|
3163
|
+
"attributes": {
|
|
3164
|
+
"group": "paint",
|
|
3165
|
+
"state": "active",
|
|
3166
|
+
"introduced": "1.13.0",
|
|
3167
|
+
"description": "Hovered state of color.background.brand.subtlest."
|
|
3168
|
+
},
|
|
3169
|
+
"value": "Blue200"
|
|
3170
|
+
},
|
|
3171
|
+
"name": "color.background.brand.subtlest.hovered",
|
|
3172
|
+
"path": ["color", "background", "brand", "subtlest", "hovered"],
|
|
3173
|
+
"cleanName": "color.background.brand.subtlest.hovered"
|
|
3174
|
+
}, {
|
|
3175
|
+
"attributes": {
|
|
3176
|
+
"group": "paint",
|
|
3177
|
+
"state": "active",
|
|
3178
|
+
"introduced": "1.13.0",
|
|
3179
|
+
"description": "Pressed state of color.background.brand.subtlest"
|
|
3180
|
+
},
|
|
3181
|
+
"value": "#85B8FF",
|
|
3182
|
+
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
3183
|
+
"isSource": true,
|
|
3184
|
+
"original": {
|
|
3185
|
+
"attributes": {
|
|
3186
|
+
"group": "paint",
|
|
3187
|
+
"state": "active",
|
|
3188
|
+
"introduced": "1.13.0",
|
|
3189
|
+
"description": "Pressed state of color.background.brand.subtlest"
|
|
3190
|
+
},
|
|
3191
|
+
"value": "Blue300"
|
|
3192
|
+
},
|
|
3193
|
+
"name": "color.background.brand.subtlest.pressed",
|
|
3194
|
+
"path": ["color", "background", "brand", "subtlest", "pressed"],
|
|
3195
|
+
"cleanName": "color.background.brand.subtlest.pressed"
|
|
3130
3196
|
}, {
|
|
3131
3197
|
"attributes": {
|
|
3132
3198
|
"group": "paint",
|
|
@@ -3154,7 +3220,7 @@ var tokens = [{
|
|
|
3154
3220
|
"group": "paint",
|
|
3155
3221
|
"state": "active",
|
|
3156
3222
|
"introduced": "0.6.0",
|
|
3157
|
-
"description": "Hovered state of color.background.brand.bold"
|
|
3223
|
+
"description": "Hovered state of color.background.brand.bold."
|
|
3158
3224
|
},
|
|
3159
3225
|
"value": "#0055CC",
|
|
3160
3226
|
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
@@ -3164,7 +3230,7 @@ var tokens = [{
|
|
|
3164
3230
|
"group": "paint",
|
|
3165
3231
|
"state": "active",
|
|
3166
3232
|
"introduced": "0.6.0",
|
|
3167
|
-
"description": "Hovered state of color.background.brand.bold"
|
|
3233
|
+
"description": "Hovered state of color.background.brand.bold."
|
|
3168
3234
|
},
|
|
3169
3235
|
"value": "Blue800"
|
|
3170
3236
|
},
|
|
@@ -3176,7 +3242,7 @@ var tokens = [{
|
|
|
3176
3242
|
"group": "paint",
|
|
3177
3243
|
"state": "active",
|
|
3178
3244
|
"introduced": "0.6.0",
|
|
3179
|
-
"description": "Pressed state of color.background.brand.bold"
|
|
3245
|
+
"description": "Pressed state of color.background.brand.bold."
|
|
3180
3246
|
},
|
|
3181
3247
|
"value": "#09326C",
|
|
3182
3248
|
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
@@ -3186,13 +3252,79 @@ var tokens = [{
|
|
|
3186
3252
|
"group": "paint",
|
|
3187
3253
|
"state": "active",
|
|
3188
3254
|
"introduced": "0.6.0",
|
|
3189
|
-
"description": "Pressed state of color.background.brand.bold"
|
|
3255
|
+
"description": "Pressed state of color.background.brand.bold."
|
|
3190
3256
|
},
|
|
3191
3257
|
"value": "Blue900"
|
|
3192
3258
|
},
|
|
3193
3259
|
"name": "color.background.brand.bold.pressed",
|
|
3194
3260
|
"path": ["color", "background", "brand", "bold", "pressed"],
|
|
3195
3261
|
"cleanName": "color.background.brand.bold.pressed"
|
|
3262
|
+
}, {
|
|
3263
|
+
"attributes": {
|
|
3264
|
+
"group": "paint",
|
|
3265
|
+
"state": "active",
|
|
3266
|
+
"introduced": "1.13.0",
|
|
3267
|
+
"description": "Use for the background of elements used to reinforce our brand, that need to stand out a lot."
|
|
3268
|
+
},
|
|
3269
|
+
"value": "#092957",
|
|
3270
|
+
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
3271
|
+
"isSource": true,
|
|
3272
|
+
"original": {
|
|
3273
|
+
"attributes": {
|
|
3274
|
+
"group": "paint",
|
|
3275
|
+
"state": "active",
|
|
3276
|
+
"introduced": "1.13.0",
|
|
3277
|
+
"description": "Use for the background of elements used to reinforce our brand, that need to stand out a lot."
|
|
3278
|
+
},
|
|
3279
|
+
"value": "Blue1000"
|
|
3280
|
+
},
|
|
3281
|
+
"name": "color.background.brand.boldest.[default]",
|
|
3282
|
+
"path": ["color", "background", "brand", "boldest", "[default]"],
|
|
3283
|
+
"cleanName": "color.background.brand.boldest"
|
|
3284
|
+
}, {
|
|
3285
|
+
"attributes": {
|
|
3286
|
+
"group": "paint",
|
|
3287
|
+
"state": "active",
|
|
3288
|
+
"introduced": "1.13.0",
|
|
3289
|
+
"description": "Hovered state of color.background.brand.boldest."
|
|
3290
|
+
},
|
|
3291
|
+
"value": "#09326C",
|
|
3292
|
+
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
3293
|
+
"isSource": true,
|
|
3294
|
+
"original": {
|
|
3295
|
+
"attributes": {
|
|
3296
|
+
"group": "paint",
|
|
3297
|
+
"state": "active",
|
|
3298
|
+
"introduced": "1.13.0",
|
|
3299
|
+
"description": "Hovered state of color.background.brand.boldest."
|
|
3300
|
+
},
|
|
3301
|
+
"value": "Blue900"
|
|
3302
|
+
},
|
|
3303
|
+
"name": "color.background.brand.boldest.hovered",
|
|
3304
|
+
"path": ["color", "background", "brand", "boldest", "hovered"],
|
|
3305
|
+
"cleanName": "color.background.brand.boldest.hovered"
|
|
3306
|
+
}, {
|
|
3307
|
+
"attributes": {
|
|
3308
|
+
"group": "paint",
|
|
3309
|
+
"state": "active",
|
|
3310
|
+
"introduced": "1.13.0",
|
|
3311
|
+
"description": "Pressed state of color.background.brand.boldest."
|
|
3312
|
+
},
|
|
3313
|
+
"value": "#0055CC",
|
|
3314
|
+
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
3315
|
+
"isSource": true,
|
|
3316
|
+
"original": {
|
|
3317
|
+
"attributes": {
|
|
3318
|
+
"group": "paint",
|
|
3319
|
+
"state": "active",
|
|
3320
|
+
"introduced": "1.13.0",
|
|
3321
|
+
"description": "Pressed state of color.background.brand.boldest."
|
|
3322
|
+
},
|
|
3323
|
+
"value": "Blue800"
|
|
3324
|
+
},
|
|
3325
|
+
"name": "color.background.brand.boldest.pressed",
|
|
3326
|
+
"path": ["color", "background", "brand", "boldest", "pressed"],
|
|
3327
|
+
"cleanName": "color.background.brand.boldest.pressed"
|
|
3196
3328
|
}, {
|
|
3197
3329
|
"attributes": {
|
|
3198
3330
|
"group": "paint",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
var name = "@atlaskit/tokens";
|
|
4
|
-
var version = "
|
|
4
|
+
var version = "0.0.0-development";
|
|
5
5
|
/**
|
|
6
6
|
* Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the
|
|
7
7
|
* resulting CSS Custom Property.
|
package/dist/esm/get-token.js
CHANGED
|
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
|
|
4
4
|
var name = "@atlaskit/tokens";
|
|
5
|
-
var version = "
|
|
5
|
+
var version = "0.0.0-development";
|
|
6
6
|
/**
|
|
7
7
|
* Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
|
|
8
8
|
* This should be used to implement design decisions throughout your application.
|
|
@@ -82,6 +82,17 @@ var color = {
|
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
brand: {
|
|
85
|
+
subtlest: {
|
|
86
|
+
'[default]': {
|
|
87
|
+
value: 'Blue1000'
|
|
88
|
+
},
|
|
89
|
+
hovered: {
|
|
90
|
+
value: 'Blue900'
|
|
91
|
+
},
|
|
92
|
+
pressed: {
|
|
93
|
+
value: 'Blue800'
|
|
94
|
+
}
|
|
95
|
+
},
|
|
85
96
|
bold: {
|
|
86
97
|
'[default]': {
|
|
87
98
|
value: 'Blue400'
|
|
@@ -92,6 +103,17 @@ var color = {
|
|
|
92
103
|
pressed: {
|
|
93
104
|
value: 'Blue200'
|
|
94
105
|
}
|
|
106
|
+
},
|
|
107
|
+
boldest: {
|
|
108
|
+
'[default]': {
|
|
109
|
+
value: 'Blue100'
|
|
110
|
+
},
|
|
111
|
+
hovered: {
|
|
112
|
+
value: 'Blue200'
|
|
113
|
+
},
|
|
114
|
+
pressed: {
|
|
115
|
+
value: 'Blue300'
|
|
116
|
+
}
|
|
95
117
|
}
|
|
96
118
|
},
|
|
97
119
|
selected: {
|
|
@@ -81,6 +81,17 @@ var color = {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
brand: {
|
|
84
|
+
subtlest: {
|
|
85
|
+
'[default]': {
|
|
86
|
+
value: 'B500'
|
|
87
|
+
},
|
|
88
|
+
hovered: {
|
|
89
|
+
value: 'B400'
|
|
90
|
+
},
|
|
91
|
+
pressed: {
|
|
92
|
+
value: 'B500'
|
|
93
|
+
}
|
|
94
|
+
},
|
|
84
95
|
bold: {
|
|
85
96
|
'[default]': {
|
|
86
97
|
value: 'B400'
|
|
@@ -91,6 +102,17 @@ var color = {
|
|
|
91
102
|
pressed: {
|
|
92
103
|
value: 'B500'
|
|
93
104
|
}
|
|
105
|
+
},
|
|
106
|
+
boldest: {
|
|
107
|
+
'[default]': {
|
|
108
|
+
value: 'B75'
|
|
109
|
+
},
|
|
110
|
+
hovered: {
|
|
111
|
+
value: 'B50'
|
|
112
|
+
},
|
|
113
|
+
pressed: {
|
|
114
|
+
value: 'B100'
|
|
115
|
+
}
|
|
94
116
|
}
|
|
95
117
|
},
|
|
96
118
|
selected: {
|