@primer/primitives 7.13.0 → 7.13.1-rc.4461d84
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/package.json +1 -1
- package/tokens-next-private/css/functional/themes/dark-colorblind.css +10 -10
- package/tokens-next-private/css/functional/themes/dark-dimmed.css +10 -10
- package/tokens-next-private/css/functional/themes/dark-high-contrast.css +10 -10
- package/tokens-next-private/css/functional/themes/dark-tritanopia.css +10 -10
- package/tokens-next-private/css/functional/themes/dark.css +10 -10
- package/tokens-next-private/css/functional/themes/light-colorblind.css +10 -10
- package/tokens-next-private/css/functional/themes/light-high-contrast.css +10 -10
- package/tokens-next-private/css/functional/themes/light-tritanopia.css +10 -10
- package/tokens-next-private/css/functional/themes/light.css +10 -10
- package/tokens-next-private/docs/functional/themes/dark-colorblind.json +46 -34
- package/tokens-next-private/docs/functional/themes/dark-dimmed.json +45 -33
- package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +47 -33
- package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +45 -33
- package/tokens-next-private/docs/functional/themes/dark.json +45 -33
- package/tokens-next-private/docs/functional/themes/light-colorblind.json +43 -31
- package/tokens-next-private/docs/functional/themes/light-high-contrast.json +45 -31
- package/tokens-next-private/docs/functional/themes/light-tritanopia.json +43 -31
- package/tokens-next-private/docs/functional/themes/light.json +43 -31
- package/tokens-next-private/figma/themes/dark.json +90 -72
- package/tokens-next-private/figma/themes/light.json +60 -42
- package/tokens-next-private/scss/base/size/size.scss +17 -21
- package/tokens-next-private/scss/base/typography/typography.scss +4 -8
- package/tokens-next-private/scss/functional/size/border.scss +12 -16
- package/tokens-next-private/scss/functional/size/breakpoints.scss +6 -10
- package/tokens-next-private/scss/functional/size/size-coarse.scss +3 -7
- package/tokens-next-private/scss/functional/size/size-fine.scss +3 -7
- package/tokens-next-private/scss/functional/size/size.scss +67 -71
- package/tokens-next-private/scss/functional/size/viewport.scss +6 -19
- package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +413 -417
- package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +413 -417
- package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +413 -417
- package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +413 -417
- package/tokens-next-private/scss/functional/themes/dark.scss +413 -417
- package/tokens-next-private/scss/functional/themes/light-colorblind.scss +413 -417
- package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +413 -417
- package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +413 -417
- package/tokens-next-private/scss/functional/themes/light.scss +413 -417
- package/tokens-next-private/scss/functional/typography/typography.scss +45 -49
- package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
- package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
|
@@ -110,7 +110,6 @@
|
|
|
110
110
|
--button-default-borderColor-active: #d0d7de;
|
|
111
111
|
--button-default-borderColor-disabled: #f6f8fa;
|
|
112
112
|
--button-default-shadow-resting: 0px 1px 0px 0px #1f23280a;
|
|
113
|
-
--button-default-shadow-inset: inset 0px 1px 0px 0px #ffffff40;
|
|
114
113
|
--button-primary-fgColor-rest: #ffffff;
|
|
115
114
|
--button-primary-fgColor-disabled: #ffffffcc;
|
|
116
115
|
--button-primary-iconColor-rest: #ffffffcc;
|
|
@@ -120,6 +119,7 @@
|
|
|
120
119
|
--button-primary-bgColor-disabled: #95d8a6;
|
|
121
120
|
--button-primary-borderColor-rest: #1f232826;
|
|
122
121
|
--button-primary-borderColor-hover: #1f232826;
|
|
122
|
+
--button-primary-borderColor-active: #1f232826;
|
|
123
123
|
--button-primary-borderColor-disabled: #95d8a6;
|
|
124
124
|
--button-primary-shadow-selected: inset 0px 1px 0px 0px #002d114d;
|
|
125
125
|
--button-invisible-fgColor-rest: #0969da;
|
|
@@ -140,8 +140,8 @@
|
|
|
140
140
|
--button-outline-bgColor-hover: #0969da;
|
|
141
141
|
--button-outline-bgColor-active: #0757ba;
|
|
142
142
|
--button-outline-bgColor-disabled: #f6f8fa;
|
|
143
|
-
--button-outline-borderColor-hover: #
|
|
144
|
-
--button-outline-borderColor-active: #
|
|
143
|
+
--button-outline-borderColor-hover: #1f232826;
|
|
144
|
+
--button-outline-borderColor-active: #1f232826;
|
|
145
145
|
--button-outline-shadow-selected: inset 0px 1px 0px 0px #00215533;
|
|
146
146
|
--button-danger-fgColor-rest: #d1242f;
|
|
147
147
|
--button-danger-fgColor-hover: #ffffff;
|
|
@@ -154,8 +154,8 @@
|
|
|
154
154
|
--button-danger-bgColor-active: #8b0820;
|
|
155
155
|
--button-danger-bgColor-disabled: #f6f8fa;
|
|
156
156
|
--button-danger-borderColor-rest: #d0d7de;
|
|
157
|
-
--button-danger-borderColor-hover: #
|
|
158
|
-
--button-danger-borderColor-active: #
|
|
157
|
+
--button-danger-borderColor-hover: #1f232826;
|
|
158
|
+
--button-danger-borderColor-active: #1f232826;
|
|
159
159
|
--button-danger-shadow-selected: inset 0px 1px 0px 0px #4c001433;
|
|
160
160
|
--buttonCounter-default-bgColor-rest: #eaeef2;
|
|
161
161
|
--buttonCounter-invisible-bgColor-rest: #eaeef2;
|
|
@@ -526,7 +526,6 @@
|
|
|
526
526
|
--button-default-borderColor-active: #d0d7de;
|
|
527
527
|
--button-default-borderColor-disabled: #f6f8fa;
|
|
528
528
|
--button-default-shadow-resting: 0px 1px 0px 0px #1f23280a;
|
|
529
|
-
--button-default-shadow-inset: inset 0px 1px 0px 0px #ffffff40;
|
|
530
529
|
--button-primary-fgColor-rest: #ffffff;
|
|
531
530
|
--button-primary-fgColor-disabled: #ffffffcc;
|
|
532
531
|
--button-primary-iconColor-rest: #ffffffcc;
|
|
@@ -536,6 +535,7 @@
|
|
|
536
535
|
--button-primary-bgColor-disabled: #95d8a6;
|
|
537
536
|
--button-primary-borderColor-rest: #1f232826;
|
|
538
537
|
--button-primary-borderColor-hover: #1f232826;
|
|
538
|
+
--button-primary-borderColor-active: #1f232826;
|
|
539
539
|
--button-primary-borderColor-disabled: #95d8a6;
|
|
540
540
|
--button-primary-shadow-selected: inset 0px 1px 0px 0px #002d114d;
|
|
541
541
|
--button-invisible-fgColor-rest: #0969da;
|
|
@@ -556,8 +556,8 @@
|
|
|
556
556
|
--button-outline-bgColor-hover: #0969da;
|
|
557
557
|
--button-outline-bgColor-active: #0757ba;
|
|
558
558
|
--button-outline-bgColor-disabled: #f6f8fa;
|
|
559
|
-
--button-outline-borderColor-hover: #
|
|
560
|
-
--button-outline-borderColor-active: #
|
|
559
|
+
--button-outline-borderColor-hover: #1f232826;
|
|
560
|
+
--button-outline-borderColor-active: #1f232826;
|
|
561
561
|
--button-outline-shadow-selected: inset 0px 1px 0px 0px #00215533;
|
|
562
562
|
--button-danger-fgColor-rest: #d1242f;
|
|
563
563
|
--button-danger-fgColor-hover: #ffffff;
|
|
@@ -570,8 +570,8 @@
|
|
|
570
570
|
--button-danger-bgColor-active: #8b0820;
|
|
571
571
|
--button-danger-bgColor-disabled: #f6f8fa;
|
|
572
572
|
--button-danger-borderColor-rest: #d0d7de;
|
|
573
|
-
--button-danger-borderColor-hover: #
|
|
574
|
-
--button-danger-borderColor-active: #
|
|
573
|
+
--button-danger-borderColor-hover: #1f232826;
|
|
574
|
+
--button-danger-borderColor-active: #1f232826;
|
|
575
575
|
--button-danger-shadow-selected: inset 0px 1px 0px 0px #4c001433;
|
|
576
576
|
--buttonCounter-default-bgColor-rest: #eaeef2;
|
|
577
577
|
--buttonCounter-invisible-bgColor-rest: #eaeef2;
|
|
@@ -3184,7 +3184,7 @@
|
|
|
3184
3184
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3185
3185
|
"isSource": true,
|
|
3186
3186
|
"original": {
|
|
3187
|
-
"value": "{borderColor.
|
|
3187
|
+
"value": "{button.default.borderColor.rest}",
|
|
3188
3188
|
"$type": "color",
|
|
3189
3189
|
"$extensions": {
|
|
3190
3190
|
"org.primer.figma": {
|
|
@@ -3213,7 +3213,7 @@
|
|
|
3213
3213
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3214
3214
|
"isSource": true,
|
|
3215
3215
|
"original": {
|
|
3216
|
-
"value": "{borderColor.
|
|
3216
|
+
"value": "{button.default.borderColor.rest}",
|
|
3217
3217
|
"$type": "color",
|
|
3218
3218
|
"$extensions": {
|
|
3219
3219
|
"org.primer.figma": {
|
|
@@ -3280,27 +3280,6 @@
|
|
|
3280
3280
|
"attributes": {},
|
|
3281
3281
|
"path": ["button", "default", "shadow", "resting"]
|
|
3282
3282
|
},
|
|
3283
|
-
"button-default-shadow-inset": {
|
|
3284
|
-
"value": "0px 0px 0px 0px #000000",
|
|
3285
|
-
"$type": "shadow",
|
|
3286
|
-
"filePath": "src/tokens/functional/shadow/dark.json5",
|
|
3287
|
-
"isSource": true,
|
|
3288
|
-
"original": {
|
|
3289
|
-
"value": {
|
|
3290
|
-
"color": "{base.color.transparent}",
|
|
3291
|
-
"alpha": 0,
|
|
3292
|
-
"offsetX": "0px",
|
|
3293
|
-
"offsetY": "0px",
|
|
3294
|
-
"blur": "0px",
|
|
3295
|
-
"spread": "0px",
|
|
3296
|
-
"inset": false
|
|
3297
|
-
},
|
|
3298
|
-
"$type": "shadow"
|
|
3299
|
-
},
|
|
3300
|
-
"name": "button-default-shadow-inset",
|
|
3301
|
-
"attributes": {},
|
|
3302
|
-
"path": ["button", "default", "shadow", "inset"]
|
|
3303
|
-
},
|
|
3304
3283
|
"button-primary-fgColor-rest": {
|
|
3305
3284
|
"value": "#ffffff",
|
|
3306
3285
|
"$type": "color",
|
|
@@ -3584,6 +3563,35 @@
|
|
|
3584
3563
|
"attributes": {},
|
|
3585
3564
|
"path": ["button", "primary", "borderColor", "hover"]
|
|
3586
3565
|
},
|
|
3566
|
+
"button-primary-borderColor-active": {
|
|
3567
|
+
"value": "#f0f6fc1a",
|
|
3568
|
+
"$type": "color",
|
|
3569
|
+
"$extensions": {
|
|
3570
|
+
"org.primer.figma": {
|
|
3571
|
+
"collection": "mode",
|
|
3572
|
+
"mode": "dark",
|
|
3573
|
+
"group": "component",
|
|
3574
|
+
"scopes": ["borderColor"]
|
|
3575
|
+
}
|
|
3576
|
+
},
|
|
3577
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3578
|
+
"isSource": true,
|
|
3579
|
+
"original": {
|
|
3580
|
+
"value": "{button.primary.borderColor.rest}",
|
|
3581
|
+
"$type": "color",
|
|
3582
|
+
"$extensions": {
|
|
3583
|
+
"org.primer.figma": {
|
|
3584
|
+
"collection": "mode",
|
|
3585
|
+
"mode": "dark",
|
|
3586
|
+
"group": "component",
|
|
3587
|
+
"scopes": ["borderColor"]
|
|
3588
|
+
}
|
|
3589
|
+
}
|
|
3590
|
+
},
|
|
3591
|
+
"name": "button-primary-borderColor-active",
|
|
3592
|
+
"attributes": {},
|
|
3593
|
+
"path": ["button", "primary", "borderColor", "active"]
|
|
3594
|
+
},
|
|
3587
3595
|
"button-primary-borderColor-disabled": {
|
|
3588
3596
|
"value": "#1158c7",
|
|
3589
3597
|
"$type": "color",
|
|
@@ -4161,7 +4169,7 @@
|
|
|
4161
4169
|
"path": ["button", "outline", "bgColor", "disabled"]
|
|
4162
4170
|
},
|
|
4163
4171
|
"button-outline-borderColor-hover": {
|
|
4164
|
-
"value": "#
|
|
4172
|
+
"value": "#f0f6fc1a",
|
|
4165
4173
|
"$type": "color",
|
|
4166
4174
|
"$extensions": {
|
|
4167
4175
|
"org.primer.figma": {
|
|
@@ -4171,10 +4179,11 @@
|
|
|
4171
4179
|
"scopes": ["borderColor"]
|
|
4172
4180
|
}
|
|
4173
4181
|
},
|
|
4182
|
+
"alpha": 0.1,
|
|
4174
4183
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4175
4184
|
"isSource": true,
|
|
4176
4185
|
"original": {
|
|
4177
|
-
"value": "{
|
|
4186
|
+
"value": "{base.color.gray.0}",
|
|
4178
4187
|
"$type": "color",
|
|
4179
4188
|
"$extensions": {
|
|
4180
4189
|
"org.primer.figma": {
|
|
@@ -4183,14 +4192,15 @@
|
|
|
4183
4192
|
"group": "component",
|
|
4184
4193
|
"scopes": ["borderColor"]
|
|
4185
4194
|
}
|
|
4186
|
-
}
|
|
4195
|
+
},
|
|
4196
|
+
"alpha": 0.1
|
|
4187
4197
|
},
|
|
4188
4198
|
"name": "button-outline-borderColor-hover",
|
|
4189
4199
|
"attributes": {},
|
|
4190
4200
|
"path": ["button", "outline", "borderColor", "hover"]
|
|
4191
4201
|
},
|
|
4192
4202
|
"button-outline-borderColor-selected": {
|
|
4193
|
-
"value": "#
|
|
4203
|
+
"value": "#f0f6fc1a",
|
|
4194
4204
|
"$type": "color",
|
|
4195
4205
|
"$extensions": {
|
|
4196
4206
|
"org.primer.figma": {
|
|
@@ -4203,7 +4213,7 @@
|
|
|
4203
4213
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4204
4214
|
"isSource": true,
|
|
4205
4215
|
"original": {
|
|
4206
|
-
"value": "{borderColor.
|
|
4216
|
+
"value": "{button.outline.borderColor.hover}",
|
|
4207
4217
|
"$type": "color",
|
|
4208
4218
|
"$extensions": {
|
|
4209
4219
|
"org.primer.figma": {
|
|
@@ -4571,7 +4581,7 @@
|
|
|
4571
4581
|
"path": ["button", "danger", "borderColor", "rest"]
|
|
4572
4582
|
},
|
|
4573
4583
|
"button-danger-borderColor-hover": {
|
|
4574
|
-
"value": "#
|
|
4584
|
+
"value": "#f0f6fc1a",
|
|
4575
4585
|
"$type": "color",
|
|
4576
4586
|
"$extensions": {
|
|
4577
4587
|
"org.primer.figma": {
|
|
@@ -4581,10 +4591,11 @@
|
|
|
4581
4591
|
"scopes": ["borderColor"]
|
|
4582
4592
|
}
|
|
4583
4593
|
},
|
|
4584
|
-
"
|
|
4594
|
+
"alpha": 0.1,
|
|
4595
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4585
4596
|
"isSource": true,
|
|
4586
4597
|
"original": {
|
|
4587
|
-
"value": "{base.color.
|
|
4598
|
+
"value": "{base.color.gray.0}",
|
|
4588
4599
|
"$type": "color",
|
|
4589
4600
|
"$extensions": {
|
|
4590
4601
|
"org.primer.figma": {
|
|
@@ -4593,14 +4604,15 @@
|
|
|
4593
4604
|
"group": "component",
|
|
4594
4605
|
"scopes": ["borderColor"]
|
|
4595
4606
|
}
|
|
4596
|
-
}
|
|
4607
|
+
},
|
|
4608
|
+
"alpha": 0.1
|
|
4597
4609
|
},
|
|
4598
4610
|
"name": "button-danger-borderColor-hover",
|
|
4599
4611
|
"attributes": {},
|
|
4600
4612
|
"path": ["button", "danger", "borderColor", "hover"]
|
|
4601
4613
|
},
|
|
4602
4614
|
"button-danger-borderColor-active": {
|
|
4603
|
-
"value": "#
|
|
4615
|
+
"value": "#f0f6fc1a",
|
|
4604
4616
|
"$type": "color",
|
|
4605
4617
|
"$extensions": {
|
|
4606
4618
|
"org.primer.figma": {
|
|
@@ -4613,7 +4625,7 @@
|
|
|
4613
4625
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4614
4626
|
"isSource": true,
|
|
4615
4627
|
"original": {
|
|
4616
|
-
"value": "{button.danger.
|
|
4628
|
+
"value": "{button.danger.borderColor.hover}",
|
|
4617
4629
|
"$type": "color",
|
|
4618
4630
|
"$extensions": {
|
|
4619
4631
|
"org.primer.figma": {
|
|
@@ -3184,7 +3184,7 @@
|
|
|
3184
3184
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3185
3185
|
"isSource": true,
|
|
3186
3186
|
"original": {
|
|
3187
|
-
"value": "{borderColor.
|
|
3187
|
+
"value": "{button.default.borderColor.rest}",
|
|
3188
3188
|
"$type": "color",
|
|
3189
3189
|
"$extensions": {
|
|
3190
3190
|
"org.primer.figma": {
|
|
@@ -3213,7 +3213,7 @@
|
|
|
3213
3213
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3214
3214
|
"isSource": true,
|
|
3215
3215
|
"original": {
|
|
3216
|
-
"value": "{borderColor.
|
|
3216
|
+
"value": "{button.default.borderColor.rest}",
|
|
3217
3217
|
"$type": "color",
|
|
3218
3218
|
"$extensions": {
|
|
3219
3219
|
"org.primer.figma": {
|
|
@@ -3280,27 +3280,6 @@
|
|
|
3280
3280
|
"attributes": {},
|
|
3281
3281
|
"path": ["button", "default", "shadow", "resting"]
|
|
3282
3282
|
},
|
|
3283
|
-
"button-default-shadow-inset": {
|
|
3284
|
-
"value": "0px 0px 0px 0px #000000",
|
|
3285
|
-
"$type": "shadow",
|
|
3286
|
-
"filePath": "src/tokens/functional/shadow/dark.json5",
|
|
3287
|
-
"isSource": true,
|
|
3288
|
-
"original": {
|
|
3289
|
-
"value": {
|
|
3290
|
-
"color": "{base.color.transparent}",
|
|
3291
|
-
"alpha": 0,
|
|
3292
|
-
"offsetX": "0px",
|
|
3293
|
-
"offsetY": "0px",
|
|
3294
|
-
"blur": "0px",
|
|
3295
|
-
"spread": "0px",
|
|
3296
|
-
"inset": false
|
|
3297
|
-
},
|
|
3298
|
-
"$type": "shadow"
|
|
3299
|
-
},
|
|
3300
|
-
"name": "button-default-shadow-inset",
|
|
3301
|
-
"attributes": {},
|
|
3302
|
-
"path": ["button", "default", "shadow", "inset"]
|
|
3303
|
-
},
|
|
3304
3283
|
"button-primary-fgColor-rest": {
|
|
3305
3284
|
"value": "#cdd9e5",
|
|
3306
3285
|
"$type": "color",
|
|
@@ -3590,6 +3569,35 @@
|
|
|
3590
3569
|
"attributes": {},
|
|
3591
3570
|
"path": ["button", "primary", "borderColor", "hover"]
|
|
3592
3571
|
},
|
|
3572
|
+
"button-primary-borderColor-active": {
|
|
3573
|
+
"value": "#cdd9e51a",
|
|
3574
|
+
"$type": "color",
|
|
3575
|
+
"$extensions": {
|
|
3576
|
+
"org.primer.figma": {
|
|
3577
|
+
"collection": "mode",
|
|
3578
|
+
"mode": "dark",
|
|
3579
|
+
"group": "component",
|
|
3580
|
+
"scopes": ["borderColor"]
|
|
3581
|
+
}
|
|
3582
|
+
},
|
|
3583
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3584
|
+
"isSource": true,
|
|
3585
|
+
"original": {
|
|
3586
|
+
"value": "{button.primary.borderColor.rest}",
|
|
3587
|
+
"$type": "color",
|
|
3588
|
+
"$extensions": {
|
|
3589
|
+
"org.primer.figma": {
|
|
3590
|
+
"collection": "mode",
|
|
3591
|
+
"mode": "dark",
|
|
3592
|
+
"group": "component",
|
|
3593
|
+
"scopes": ["borderColor"]
|
|
3594
|
+
}
|
|
3595
|
+
}
|
|
3596
|
+
},
|
|
3597
|
+
"name": "button-primary-borderColor-active",
|
|
3598
|
+
"attributes": {},
|
|
3599
|
+
"path": ["button", "primary", "borderColor", "active"]
|
|
3600
|
+
},
|
|
3593
3601
|
"button-primary-borderColor-disabled": {
|
|
3594
3602
|
"value": "#50a254",
|
|
3595
3603
|
"$type": "color",
|
|
@@ -4167,7 +4175,7 @@
|
|
|
4167
4175
|
"path": ["button", "outline", "bgColor", "disabled"]
|
|
4168
4176
|
},
|
|
4169
4177
|
"button-outline-borderColor-hover": {
|
|
4170
|
-
"value": "#
|
|
4178
|
+
"value": "#cdd9e51a",
|
|
4171
4179
|
"$type": "color",
|
|
4172
4180
|
"$extensions": {
|
|
4173
4181
|
"org.primer.figma": {
|
|
@@ -4177,10 +4185,11 @@
|
|
|
4177
4185
|
"scopes": ["borderColor"]
|
|
4178
4186
|
}
|
|
4179
4187
|
},
|
|
4188
|
+
"alpha": 0.1,
|
|
4180
4189
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4181
4190
|
"isSource": true,
|
|
4182
4191
|
"original": {
|
|
4183
|
-
"value": "{
|
|
4192
|
+
"value": "{base.color.gray.0}",
|
|
4184
4193
|
"$type": "color",
|
|
4185
4194
|
"$extensions": {
|
|
4186
4195
|
"org.primer.figma": {
|
|
@@ -4189,14 +4198,15 @@
|
|
|
4189
4198
|
"group": "component",
|
|
4190
4199
|
"scopes": ["borderColor"]
|
|
4191
4200
|
}
|
|
4192
|
-
}
|
|
4201
|
+
},
|
|
4202
|
+
"alpha": 0.1
|
|
4193
4203
|
},
|
|
4194
4204
|
"name": "button-outline-borderColor-hover",
|
|
4195
4205
|
"attributes": {},
|
|
4196
4206
|
"path": ["button", "outline", "borderColor", "hover"]
|
|
4197
4207
|
},
|
|
4198
4208
|
"button-outline-borderColor-selected": {
|
|
4199
|
-
"value": "#
|
|
4209
|
+
"value": "#cdd9e51a",
|
|
4200
4210
|
"$type": "color",
|
|
4201
4211
|
"$extensions": {
|
|
4202
4212
|
"org.primer.figma": {
|
|
@@ -4209,7 +4219,7 @@
|
|
|
4209
4219
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4210
4220
|
"isSource": true,
|
|
4211
4221
|
"original": {
|
|
4212
|
-
"value": "{borderColor.
|
|
4222
|
+
"value": "{button.outline.borderColor.hover}",
|
|
4213
4223
|
"$type": "color",
|
|
4214
4224
|
"$extensions": {
|
|
4215
4225
|
"org.primer.figma": {
|
|
@@ -4577,7 +4587,7 @@
|
|
|
4577
4587
|
"path": ["button", "danger", "borderColor", "rest"]
|
|
4578
4588
|
},
|
|
4579
4589
|
"button-danger-borderColor-hover": {
|
|
4580
|
-
"value": "#
|
|
4590
|
+
"value": "#cdd9e51a",
|
|
4581
4591
|
"$type": "color",
|
|
4582
4592
|
"$extensions": {
|
|
4583
4593
|
"org.primer.figma": {
|
|
@@ -4587,10 +4597,11 @@
|
|
|
4587
4597
|
"scopes": ["borderColor"]
|
|
4588
4598
|
}
|
|
4589
4599
|
},
|
|
4600
|
+
"alpha": 0.1,
|
|
4590
4601
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4591
4602
|
"isSource": true,
|
|
4592
4603
|
"original": {
|
|
4593
|
-
"value": "{base.color.
|
|
4604
|
+
"value": "{base.color.gray.0}",
|
|
4594
4605
|
"$type": "color",
|
|
4595
4606
|
"$extensions": {
|
|
4596
4607
|
"org.primer.figma": {
|
|
@@ -4599,14 +4610,15 @@
|
|
|
4599
4610
|
"group": "component",
|
|
4600
4611
|
"scopes": ["borderColor"]
|
|
4601
4612
|
}
|
|
4602
|
-
}
|
|
4613
|
+
},
|
|
4614
|
+
"alpha": 0.1
|
|
4603
4615
|
},
|
|
4604
4616
|
"name": "button-danger-borderColor-hover",
|
|
4605
4617
|
"attributes": {},
|
|
4606
4618
|
"path": ["button", "danger", "borderColor", "hover"]
|
|
4607
4619
|
},
|
|
4608
4620
|
"button-danger-borderColor-active": {
|
|
4609
|
-
"value": "#
|
|
4621
|
+
"value": "#cdd9e51a",
|
|
4610
4622
|
"$type": "color",
|
|
4611
4623
|
"$extensions": {
|
|
4612
4624
|
"org.primer.figma": {
|
|
@@ -4619,7 +4631,7 @@
|
|
|
4619
4631
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4620
4632
|
"isSource": true,
|
|
4621
4633
|
"original": {
|
|
4622
|
-
"value": "{button.danger.
|
|
4634
|
+
"value": "{button.danger.borderColor.hover}",
|
|
4623
4635
|
"$type": "color",
|
|
4624
4636
|
"$extensions": {
|
|
4625
4637
|
"org.primer.figma": {
|
|
@@ -3192,7 +3192,7 @@
|
|
|
3192
3192
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3193
3193
|
"isSource": true,
|
|
3194
3194
|
"original": {
|
|
3195
|
-
"value": "{borderColor.
|
|
3195
|
+
"value": "{button.default.borderColor.rest}",
|
|
3196
3196
|
"$type": "color",
|
|
3197
3197
|
"$extensions": {
|
|
3198
3198
|
"org.primer.figma": {
|
|
@@ -3221,7 +3221,7 @@
|
|
|
3221
3221
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3222
3222
|
"isSource": true,
|
|
3223
3223
|
"original": {
|
|
3224
|
-
"value": "{borderColor.
|
|
3224
|
+
"value": "{button.default.borderColor.rest}",
|
|
3225
3225
|
"$type": "color",
|
|
3226
3226
|
"$extensions": {
|
|
3227
3227
|
"org.primer.figma": {
|
|
@@ -3288,27 +3288,6 @@
|
|
|
3288
3288
|
"attributes": {},
|
|
3289
3289
|
"path": ["button", "default", "shadow", "resting"]
|
|
3290
3290
|
},
|
|
3291
|
-
"button-default-shadow-inset": {
|
|
3292
|
-
"value": "0px 0px 0px 0px #000000",
|
|
3293
|
-
"$type": "shadow",
|
|
3294
|
-
"filePath": "src/tokens/functional/shadow/dark.json5",
|
|
3295
|
-
"isSource": true,
|
|
3296
|
-
"original": {
|
|
3297
|
-
"value": {
|
|
3298
|
-
"color": "{base.color.transparent}",
|
|
3299
|
-
"alpha": 0,
|
|
3300
|
-
"offsetX": "0px",
|
|
3301
|
-
"offsetY": "0px",
|
|
3302
|
-
"blur": "0px",
|
|
3303
|
-
"spread": "0px",
|
|
3304
|
-
"inset": false
|
|
3305
|
-
},
|
|
3306
|
-
"$type": "shadow"
|
|
3307
|
-
},
|
|
3308
|
-
"name": "button-default-shadow-inset",
|
|
3309
|
-
"attributes": {},
|
|
3310
|
-
"path": ["button", "default", "shadow", "inset"]
|
|
3311
|
-
},
|
|
3312
3291
|
"button-primary-fgColor-rest": {
|
|
3313
3292
|
"value": "#0a0c10",
|
|
3314
3293
|
"$type": "color",
|
|
@@ -3600,6 +3579,37 @@
|
|
|
3600
3579
|
"attributes": {},
|
|
3601
3580
|
"path": ["button", "primary", "borderColor", "hover"]
|
|
3602
3581
|
},
|
|
3582
|
+
"button-primary-borderColor-active": {
|
|
3583
|
+
"value": "#4ae168",
|
|
3584
|
+
"$type": "color",
|
|
3585
|
+
"$extensions": {
|
|
3586
|
+
"org.primer.figma": {
|
|
3587
|
+
"collection": "mode",
|
|
3588
|
+
"mode": "dark",
|
|
3589
|
+
"group": "component",
|
|
3590
|
+
"scopes": ["borderColor"]
|
|
3591
|
+
}
|
|
3592
|
+
},
|
|
3593
|
+
"filePath": "src/tokens/functional/color/dark/overrides/dark.high-contrast.json5",
|
|
3594
|
+
"isSource": true,
|
|
3595
|
+
"alpha": 1,
|
|
3596
|
+
"original": {
|
|
3597
|
+
"value": "{base.color.green.2}",
|
|
3598
|
+
"$type": "color",
|
|
3599
|
+
"$extensions": {
|
|
3600
|
+
"org.primer.figma": {
|
|
3601
|
+
"collection": "mode",
|
|
3602
|
+
"mode": "dark",
|
|
3603
|
+
"group": "component",
|
|
3604
|
+
"scopes": ["borderColor"]
|
|
3605
|
+
}
|
|
3606
|
+
},
|
|
3607
|
+
"alpha": 1
|
|
3608
|
+
},
|
|
3609
|
+
"name": "button-primary-borderColor-active",
|
|
3610
|
+
"attributes": {},
|
|
3611
|
+
"path": ["button", "primary", "borderColor", "active"]
|
|
3612
|
+
},
|
|
3603
3613
|
"button-primary-borderColor-disabled": {
|
|
3604
3614
|
"value": "#4ae16866",
|
|
3605
3615
|
"$type": "color",
|
|
@@ -4187,7 +4197,7 @@
|
|
|
4187
4197
|
"path": ["button", "outline", "bgColor", "disabled"]
|
|
4188
4198
|
},
|
|
4189
4199
|
"button-outline-borderColor-hover": {
|
|
4190
|
-
"value": "#
|
|
4200
|
+
"value": "#ffffff1a",
|
|
4191
4201
|
"$type": "color",
|
|
4192
4202
|
"$extensions": {
|
|
4193
4203
|
"org.primer.figma": {
|
|
@@ -4197,10 +4207,11 @@
|
|
|
4197
4207
|
"scopes": ["borderColor"]
|
|
4198
4208
|
}
|
|
4199
4209
|
},
|
|
4210
|
+
"alpha": 0.1,
|
|
4200
4211
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4201
4212
|
"isSource": true,
|
|
4202
4213
|
"original": {
|
|
4203
|
-
"value": "{
|
|
4214
|
+
"value": "{base.color.gray.0}",
|
|
4204
4215
|
"$type": "color",
|
|
4205
4216
|
"$extensions": {
|
|
4206
4217
|
"org.primer.figma": {
|
|
@@ -4209,14 +4220,15 @@
|
|
|
4209
4220
|
"group": "component",
|
|
4210
4221
|
"scopes": ["borderColor"]
|
|
4211
4222
|
}
|
|
4212
|
-
}
|
|
4223
|
+
},
|
|
4224
|
+
"alpha": 0.1
|
|
4213
4225
|
},
|
|
4214
4226
|
"name": "button-outline-borderColor-hover",
|
|
4215
4227
|
"attributes": {},
|
|
4216
4228
|
"path": ["button", "outline", "borderColor", "hover"]
|
|
4217
4229
|
},
|
|
4218
4230
|
"button-outline-borderColor-selected": {
|
|
4219
|
-
"value": "#
|
|
4231
|
+
"value": "#ffffff1a",
|
|
4220
4232
|
"$type": "color",
|
|
4221
4233
|
"$extensions": {
|
|
4222
4234
|
"org.primer.figma": {
|
|
@@ -4229,7 +4241,7 @@
|
|
|
4229
4241
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4230
4242
|
"isSource": true,
|
|
4231
4243
|
"original": {
|
|
4232
|
-
"value": "{borderColor.
|
|
4244
|
+
"value": "{button.outline.borderColor.hover}",
|
|
4233
4245
|
"$type": "color",
|
|
4234
4246
|
"$extensions": {
|
|
4235
4247
|
"org.primer.figma": {
|
|
@@ -4597,7 +4609,7 @@
|
|
|
4597
4609
|
"path": ["button", "danger", "borderColor", "rest"]
|
|
4598
4610
|
},
|
|
4599
4611
|
"button-danger-borderColor-hover": {
|
|
4600
|
-
"value": "#
|
|
4612
|
+
"value": "#ffffff1a",
|
|
4601
4613
|
"$type": "color",
|
|
4602
4614
|
"$extensions": {
|
|
4603
4615
|
"org.primer.figma": {
|
|
@@ -4607,10 +4619,11 @@
|
|
|
4607
4619
|
"scopes": ["borderColor"]
|
|
4608
4620
|
}
|
|
4609
4621
|
},
|
|
4622
|
+
"alpha": 0.1,
|
|
4610
4623
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4611
4624
|
"isSource": true,
|
|
4612
4625
|
"original": {
|
|
4613
|
-
"value": "{base.color.
|
|
4626
|
+
"value": "{base.color.gray.0}",
|
|
4614
4627
|
"$type": "color",
|
|
4615
4628
|
"$extensions": {
|
|
4616
4629
|
"org.primer.figma": {
|
|
@@ -4619,14 +4632,15 @@
|
|
|
4619
4632
|
"group": "component",
|
|
4620
4633
|
"scopes": ["borderColor"]
|
|
4621
4634
|
}
|
|
4622
|
-
}
|
|
4635
|
+
},
|
|
4636
|
+
"alpha": 0.1
|
|
4623
4637
|
},
|
|
4624
4638
|
"name": "button-danger-borderColor-hover",
|
|
4625
4639
|
"attributes": {},
|
|
4626
4640
|
"path": ["button", "danger", "borderColor", "hover"]
|
|
4627
4641
|
},
|
|
4628
4642
|
"button-danger-borderColor-active": {
|
|
4629
|
-
"value": "#
|
|
4643
|
+
"value": "#ffffff1a",
|
|
4630
4644
|
"$type": "color",
|
|
4631
4645
|
"$extensions": {
|
|
4632
4646
|
"org.primer.figma": {
|
|
@@ -4639,7 +4653,7 @@
|
|
|
4639
4653
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4640
4654
|
"isSource": true,
|
|
4641
4655
|
"original": {
|
|
4642
|
-
"value": "{button.danger.
|
|
4656
|
+
"value": "{button.danger.borderColor.hover}",
|
|
4643
4657
|
"$type": "color",
|
|
4644
4658
|
"$extensions": {
|
|
4645
4659
|
"org.primer.figma": {
|