@primer/primitives 10.0.0 → 10.1.0-rc.3e576ad9
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/dist/build/filters/isColor.js +0 -3
- package/dist/build/formats/typescriptExportDefinition.js +2 -2
- package/dist/build/platforms/css.d.ts +1 -1
- package/dist/build/platforms/css.js +10 -6
- package/dist/build/platforms/deprecatedJson.d.ts +1 -1
- package/dist/build/platforms/docJson.d.ts +1 -1
- package/dist/build/platforms/docJson.js +5 -1
- package/dist/build/platforms/fallbacks.d.ts +1 -1
- package/dist/build/platforms/figma.d.ts +1 -1
- package/dist/build/platforms/figma.js +6 -3
- package/dist/build/platforms/javascript.d.ts +1 -1
- package/dist/build/platforms/javascript.js +5 -1
- package/dist/build/platforms/json.d.ts +1 -1
- package/dist/build/platforms/json.js +5 -1
- package/dist/build/platforms/styleLint.d.ts +1 -1
- package/dist/build/platforms/styleLint.js +5 -1
- package/dist/build/platforms/typeDefinitions.d.ts +1 -1
- package/dist/build/platforms/typeDefinitions.js +5 -1
- package/dist/build/platforms/typescript.d.ts +1 -1
- package/dist/build/platforms/typescript.js +5 -1
- package/dist/build/preprocessors/themeOverrides.d.ts +2 -0
- package/dist/build/preprocessors/themeOverrides.js +22 -0
- package/dist/build/preprocessors/utilities/transformTokens.d.ts +8 -0
- package/dist/build/preprocessors/utilities/transformTokens.js +22 -0
- package/dist/build/{PrimerStyleDictionary.js → primerStyleDictionary.js} +8 -1
- package/dist/build/schemas/colorToken.d.ts +75 -0
- package/dist/build/schemas/colorToken.js +23 -0
- package/dist/build/transformers/borderToCss.js +2 -2
- package/dist/build/transformers/figmaAttributes.js +1 -1
- package/dist/build/transformers/utilities/invalidTokenError.js +0 -2
- package/dist/build/types/{StyleDictionaryConfigGenerator.d.ts → styleDictionaryConfigGenerator.d.ts} +1 -0
- package/dist/build/types/{TokenBuildInput.d.ts → tokenBuildInput.d.ts} +2 -0
- package/dist/build/utilities/lowerCaseFirstCharacter.d.ts +8 -0
- package/dist/build/utilities/lowerCaseFirstCharacter.js +10 -0
- package/dist/css/functional/size/border.css +7 -6
- package/dist/css/functional/themes/dark-colorblind.css +56 -2
- package/dist/css/functional/themes/dark-dimmed.css +56 -2
- package/dist/css/functional/themes/dark-high-contrast.css +56 -2
- package/dist/css/functional/themes/dark-tritanopia.css +56 -2
- package/dist/css/functional/themes/dark.css +56 -2
- package/dist/css/functional/themes/light-colorblind.css +56 -2
- package/dist/css/functional/themes/light-high-contrast.css +56 -2
- package/dist/css/functional/themes/light-tritanopia.css +56 -2
- package/dist/css/functional/themes/light.css +56 -2
- package/dist/css/primitives.css +7 -6
- package/dist/docs/base/size/size.json +19 -19
- package/dist/docs/base/typography/typography.json +4 -4
- package/dist/docs/functional/size/border.json +41 -28
- package/dist/docs/functional/size/breakpoints.json +6 -6
- package/dist/docs/functional/size/size-coarse.json +3 -3
- package/dist/docs/functional/size/size-fine.json +3 -3
- package/dist/docs/functional/size/size.json +66 -66
- package/dist/docs/functional/size/viewport.json +6 -6
- package/dist/docs/functional/themes/dark-colorblind.json +450 -7
- package/dist/docs/functional/themes/dark-dimmed.json +450 -7
- package/dist/docs/functional/themes/dark-high-contrast.json +450 -7
- package/dist/docs/functional/themes/dark-tritanopia.json +450 -7
- package/dist/docs/functional/themes/dark.json +450 -7
- package/dist/docs/functional/themes/light-colorblind.json +445 -2
- package/dist/docs/functional/themes/light-high-contrast.json +445 -2
- package/dist/docs/functional/themes/light-tritanopia.json +445 -2
- package/dist/docs/functional/themes/light.json +445 -2
- package/dist/docs/functional/typography/typography.json +46 -46
- package/dist/fallbacks/functional/size/border.json +7 -6
- package/dist/figma/figma.json +0 -8
- package/dist/internalCss/dark-colorblind.css +84 -2
- package/dist/internalCss/dark-dimmed.css +84 -2
- package/dist/internalCss/dark-high-contrast.css +84 -2
- package/dist/internalCss/dark-tritanopia.css +84 -2
- package/dist/internalCss/dark.css +84 -2
- package/dist/internalCss/light-colorblind.css +84 -2
- package/dist/internalCss/light-high-contrast.css +84 -2
- package/dist/internalCss/light-tritanopia.css +84 -2
- package/dist/internalCss/light.css +84 -2
- package/dist/styleLint/base/size/size.json +19 -19
- package/dist/styleLint/base/typography/typography.json +4 -4
- package/dist/styleLint/functional/size/border.json +41 -28
- package/dist/styleLint/functional/size/breakpoints.json +6 -6
- package/dist/styleLint/functional/size/size-coarse.json +3 -3
- package/dist/styleLint/functional/size/size-fine.json +3 -3
- package/dist/styleLint/functional/size/size.json +66 -66
- package/dist/styleLint/functional/size/viewport.json +6 -6
- package/dist/styleLint/functional/themes/dark-colorblind.json +450 -7
- package/dist/styleLint/functional/themes/dark-dimmed.json +450 -7
- package/dist/styleLint/functional/themes/dark-high-contrast.json +450 -7
- package/dist/styleLint/functional/themes/dark-tritanopia.json +450 -7
- package/dist/styleLint/functional/themes/dark.json +450 -7
- package/dist/styleLint/functional/themes/light-colorblind.json +445 -2
- package/dist/styleLint/functional/themes/light-high-contrast.json +445 -2
- package/dist/styleLint/functional/themes/light-tritanopia.json +445 -2
- package/dist/styleLint/functional/themes/light.json +445 -2
- package/dist/styleLint/functional/typography/typography.json +46 -46
- package/package.json +11 -10
- package/src/tokens/base/typography/typography.json5 +48 -0
- package/src/tokens/functional/border/border.json5 +236 -0
- package/src/tokens/functional/color/dark/primitives-dark.json5 +0 -1
- package/src/tokens/functional/size/border.json5 +115 -0
- package/src/tokens/functional/typography/typography.json5 +527 -0
- package/src/tokens/base/typography/typography.json +0 -48
- package/src/tokens/functional/border/dark.json5 +0 -12
- package/src/tokens/functional/border/light.json5 +0 -12
- package/src/tokens/functional/color/dark/patterns-dark.json +0 -3963
- package/src/tokens/functional/size/border.json +0 -111
- package/src/tokens/functional/typography/typography.json +0 -527
- /package/dist/build/{PrimerStyleDictionary.d.ts → primerStyleDictionary.d.ts} +0 -0
- /package/dist/build/types/{Border.d.ts → border.d.ts} +0 -0
- /package/dist/build/types/{BorderTokenValue.d.ts → borderTokenValue.d.ts} +0 -0
- /package/dist/build/types/{ColorHex.d.ts → colorHex.d.ts} +0 -0
- /package/dist/build/types/{PlatformInitializer.d.ts → platformInitializer.d.ts} +0 -0
- /package/dist/build/types/{Shadow.d.ts → shadow.d.ts} +0 -0
- /package/dist/build/types/{ShadowTokenValue.d.ts → shadowTokenValue.d.ts} +0 -0
- /package/dist/build/types/{SizeEm.d.ts → sizeEm.d.ts} +0 -0
- /package/dist/build/types/{SizePx.d.ts → sizePx.d.ts} +0 -0
- /package/dist/build/types/{SizeRem.d.ts → sizeRem.d.ts} +0 -0
- /package/dist/build/types/{TypographyTokenValue.d.ts → typographyTokenValue.d.ts} +0 -0
- /package/src/tokens/base/size/{size.json → size.json5} +0 -0
- /package/src/tokens/functional/size/{breakpoints.json → breakpoints.json5} +0 -0
- /package/src/tokens/functional/size/{size-coarse.json → size-coarse.json5} +0 -0
- /package/src/tokens/functional/size/{size-fine.json → size-fine.json5} +0 -0
- /package/src/tokens/functional/size/{size.json → size.json5} +0 -0
- /package/src/tokens/functional/size/{viewport.json → viewport.json5} +0 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"scopes": ["fontFamily"]
|
|
7
7
|
}
|
|
8
8
|
},
|
|
9
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
9
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
10
10
|
"isSource": true,
|
|
11
11
|
"original": {
|
|
12
12
|
"$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"scopes": ["fontFamily"]
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
34
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
35
35
|
"isSource": true,
|
|
36
36
|
"original": {
|
|
37
37
|
"$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"scopes": ["fontFamily"]
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
59
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
60
60
|
"isSource": true,
|
|
61
61
|
"original": {
|
|
62
62
|
"$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"scopes": ["fontFamily"]
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
84
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
85
85
|
"isSource": true,
|
|
86
86
|
"original": {
|
|
87
87
|
"$value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"fontSizeInPx": 40
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
113
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
114
114
|
"isSource": true,
|
|
115
115
|
"original": {
|
|
116
116
|
"$value": 1.4,
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"scopes": ["fontSize"]
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
142
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
143
143
|
"isSource": true,
|
|
144
144
|
"original": {
|
|
145
145
|
"$value": "40px",
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"scopes": ["lineHeight"]
|
|
168
168
|
}
|
|
169
169
|
},
|
|
170
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
170
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
171
171
|
"isSource": true,
|
|
172
172
|
"original": {
|
|
173
173
|
"$value": 1.4,
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"scopes": ["fontWeight"]
|
|
196
196
|
}
|
|
197
197
|
},
|
|
198
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
198
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
199
199
|
"isSource": true,
|
|
200
200
|
"original": {
|
|
201
201
|
"$value": "{base.text.weight.medium}",
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
"type": "fontWeight"
|
|
215
215
|
},
|
|
216
216
|
"text-display-shorthand": {
|
|
217
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
217
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
218
218
|
"isSource": true,
|
|
219
219
|
"original": {
|
|
220
220
|
"$value": {
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
"scopes": ["fontSize"]
|
|
241
241
|
}
|
|
242
242
|
},
|
|
243
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
243
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
244
244
|
"isSource": true,
|
|
245
245
|
"original": {
|
|
246
246
|
"$value": "32px",
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
"scopes": ["fontSize"]
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
268
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
269
269
|
"isSource": true,
|
|
270
270
|
"original": {
|
|
271
271
|
"$value": "20px",
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
"scopes": ["fontSize"]
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
293
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
294
294
|
"isSource": true,
|
|
295
295
|
"original": {
|
|
296
296
|
"$value": "16px",
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
"scopes": ["lineHeight"]
|
|
319
319
|
}
|
|
320
320
|
},
|
|
321
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
321
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
322
322
|
"isSource": true,
|
|
323
323
|
"original": {
|
|
324
324
|
"$value": 1.5,
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
"scopes": ["lineHeight"]
|
|
350
350
|
}
|
|
351
351
|
},
|
|
352
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
352
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
353
353
|
"isSource": true,
|
|
354
354
|
"original": {
|
|
355
355
|
"$value": 1.6,
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
"scopes": ["lineHeight"]
|
|
381
381
|
}
|
|
382
382
|
},
|
|
383
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
383
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
384
384
|
"isSource": true,
|
|
385
385
|
"original": {
|
|
386
386
|
"$value": 1.5,
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
"scopes": ["fontWeight"]
|
|
409
409
|
}
|
|
410
410
|
},
|
|
411
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
411
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
412
412
|
"isSource": true,
|
|
413
413
|
"original": {
|
|
414
414
|
"$value": "{base.text.weight.semibold}",
|
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
"scopes": ["fontWeight"]
|
|
434
434
|
}
|
|
435
435
|
},
|
|
436
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
436
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
437
437
|
"isSource": true,
|
|
438
438
|
"original": {
|
|
439
439
|
"$value": "{base.text.weight.semibold}",
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
"scopes": ["fontWeight"]
|
|
459
459
|
}
|
|
460
460
|
},
|
|
461
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
461
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
462
462
|
"isSource": true,
|
|
463
463
|
"original": {
|
|
464
464
|
"$value": "{base.text.weight.semibold}",
|
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
"type": "fontWeight"
|
|
478
478
|
},
|
|
479
479
|
"text-title-shorthand-large": {
|
|
480
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
480
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
481
481
|
"isSource": true,
|
|
482
482
|
"original": {
|
|
483
483
|
"$value": {
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
"description": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports."
|
|
498
498
|
},
|
|
499
499
|
"text-title-shorthand-medium": {
|
|
500
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
500
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
501
501
|
"isSource": true,
|
|
502
502
|
"original": {
|
|
503
503
|
"$value": {
|
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
"description": "Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition."
|
|
518
518
|
},
|
|
519
519
|
"text-title-shorthand-small": {
|
|
520
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
520
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
521
521
|
"isSource": true,
|
|
522
522
|
"original": {
|
|
523
523
|
"$value": {
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
"scopes": ["fontSize"]
|
|
544
544
|
}
|
|
545
545
|
},
|
|
546
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
546
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
547
547
|
"isSource": true,
|
|
548
548
|
"original": {
|
|
549
549
|
"$value": "20px",
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
"scopes": ["lineHeight"]
|
|
572
572
|
}
|
|
573
573
|
},
|
|
574
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
574
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
575
575
|
"isSource": true,
|
|
576
576
|
"original": {
|
|
577
577
|
"$value": 1.6,
|
|
@@ -599,7 +599,7 @@
|
|
|
599
599
|
"scopes": ["fontWeight"]
|
|
600
600
|
}
|
|
601
601
|
},
|
|
602
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
602
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
603
603
|
"isSource": true,
|
|
604
604
|
"original": {
|
|
605
605
|
"$value": "{base.text.weight.normal}",
|
|
@@ -618,7 +618,7 @@
|
|
|
618
618
|
"type": "fontWeight"
|
|
619
619
|
},
|
|
620
620
|
"text-subtitle-shorthand": {
|
|
621
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
621
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
622
622
|
"isSource": true,
|
|
623
623
|
"original": {
|
|
624
624
|
"$value": {
|
|
@@ -644,7 +644,7 @@
|
|
|
644
644
|
"scopes": ["fontSize"]
|
|
645
645
|
}
|
|
646
646
|
},
|
|
647
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
647
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
648
648
|
"isSource": true,
|
|
649
649
|
"original": {
|
|
650
650
|
"$value": "16px",
|
|
@@ -669,7 +669,7 @@
|
|
|
669
669
|
"scopes": ["fontSize"]
|
|
670
670
|
}
|
|
671
671
|
},
|
|
672
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
672
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
673
673
|
"isSource": true,
|
|
674
674
|
"original": {
|
|
675
675
|
"$value": "14px",
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
"scopes": ["fontSize"]
|
|
695
695
|
}
|
|
696
696
|
},
|
|
697
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
697
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
698
698
|
"isSource": true,
|
|
699
699
|
"original": {
|
|
700
700
|
"$value": "12px",
|
|
@@ -722,7 +722,7 @@
|
|
|
722
722
|
"scopes": ["lineHeight"]
|
|
723
723
|
}
|
|
724
724
|
},
|
|
725
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
725
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
726
726
|
"isSource": true,
|
|
727
727
|
"original": {
|
|
728
728
|
"$value": 1.5,
|
|
@@ -753,7 +753,7 @@
|
|
|
753
753
|
"scopes": ["lineHeight"]
|
|
754
754
|
}
|
|
755
755
|
},
|
|
756
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
756
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
757
757
|
"isSource": true,
|
|
758
758
|
"original": {
|
|
759
759
|
"$value": 1.4285,
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
"scopes": ["lineHeight"]
|
|
785
785
|
}
|
|
786
786
|
},
|
|
787
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
787
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
788
788
|
"isSource": true,
|
|
789
789
|
"original": {
|
|
790
790
|
"$value": 1.6666,
|
|
@@ -812,7 +812,7 @@
|
|
|
812
812
|
"scopes": ["fontWeight"]
|
|
813
813
|
}
|
|
814
814
|
},
|
|
815
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
815
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
816
816
|
"isSource": true,
|
|
817
817
|
"original": {
|
|
818
818
|
"$value": "{base.text.weight.normal}",
|
|
@@ -831,7 +831,7 @@
|
|
|
831
831
|
"type": "fontWeight"
|
|
832
832
|
},
|
|
833
833
|
"text-body-shorthand-large": {
|
|
834
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
834
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
835
835
|
"isSource": true,
|
|
836
836
|
"original": {
|
|
837
837
|
"$value": {
|
|
@@ -851,7 +851,7 @@
|
|
|
851
851
|
"description": "User-generated content, markdown rendering."
|
|
852
852
|
},
|
|
853
853
|
"text-body-shorthand-medium": {
|
|
854
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
854
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
855
855
|
"isSource": true,
|
|
856
856
|
"original": {
|
|
857
857
|
"$value": {
|
|
@@ -871,7 +871,7 @@
|
|
|
871
871
|
"description": "Default UI font. Most commonly used for body text."
|
|
872
872
|
},
|
|
873
873
|
"text-body-shorthand-small": {
|
|
874
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
874
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
875
875
|
"isSource": true,
|
|
876
876
|
"original": {
|
|
877
877
|
"$value": {
|
|
@@ -897,7 +897,7 @@
|
|
|
897
897
|
"scopes": ["fontSize"]
|
|
898
898
|
}
|
|
899
899
|
},
|
|
900
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
900
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
901
901
|
"isSource": true,
|
|
902
902
|
"original": {
|
|
903
903
|
"$value": "12px",
|
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
"scopes": ["lineHeight"]
|
|
926
926
|
}
|
|
927
927
|
},
|
|
928
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
928
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
929
929
|
"isSource": true,
|
|
930
930
|
"original": {
|
|
931
931
|
"$value": 1.3333,
|
|
@@ -953,7 +953,7 @@
|
|
|
953
953
|
"scopes": ["fontWeight"]
|
|
954
954
|
}
|
|
955
955
|
},
|
|
956
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
956
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
957
957
|
"isSource": true,
|
|
958
958
|
"original": {
|
|
959
959
|
"$value": "{base.text.weight.normal}",
|
|
@@ -972,7 +972,7 @@
|
|
|
972
972
|
"type": "fontWeight"
|
|
973
973
|
},
|
|
974
974
|
"text-caption-shorthand": {
|
|
975
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
975
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
976
976
|
"isSource": true,
|
|
977
977
|
"original": {
|
|
978
978
|
"$value": {
|
|
@@ -998,7 +998,7 @@
|
|
|
998
998
|
"scopes": ["fontSize"]
|
|
999
999
|
}
|
|
1000
1000
|
},
|
|
1001
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
1001
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1002
1002
|
"isSource": true,
|
|
1003
1003
|
"original": {
|
|
1004
1004
|
"$value": "13px",
|
|
@@ -1026,7 +1026,7 @@
|
|
|
1026
1026
|
"scopes": ["lineHeight"]
|
|
1027
1027
|
}
|
|
1028
1028
|
},
|
|
1029
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
1029
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1030
1030
|
"isSource": true,
|
|
1031
1031
|
"original": {
|
|
1032
1032
|
"$value": 1.5385,
|
|
@@ -1054,7 +1054,7 @@
|
|
|
1054
1054
|
"scopes": ["fontWeight"]
|
|
1055
1055
|
}
|
|
1056
1056
|
},
|
|
1057
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
1057
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1058
1058
|
"isSource": true,
|
|
1059
1059
|
"original": {
|
|
1060
1060
|
"$value": "{base.text.weight.normal}",
|
|
@@ -1073,7 +1073,7 @@
|
|
|
1073
1073
|
"type": "fontWeight"
|
|
1074
1074
|
},
|
|
1075
1075
|
"text-codeBlock-shorthand": {
|
|
1076
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
1076
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1077
1077
|
"isSource": true,
|
|
1078
1078
|
"original": {
|
|
1079
1079
|
"$value": {
|
|
@@ -1099,7 +1099,7 @@
|
|
|
1099
1099
|
"scopes": ["fontSize"]
|
|
1100
1100
|
}
|
|
1101
1101
|
},
|
|
1102
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
1102
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1103
1103
|
"isSource": true,
|
|
1104
1104
|
"original": {
|
|
1105
1105
|
"$value": "0.9285em",
|
|
@@ -1124,7 +1124,7 @@
|
|
|
1124
1124
|
"scopes": ["fontWeight"]
|
|
1125
1125
|
}
|
|
1126
1126
|
},
|
|
1127
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
1127
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1128
1128
|
"isSource": true,
|
|
1129
1129
|
"original": {
|
|
1130
1130
|
"$value": "{base.text.weight.normal}",
|
|
@@ -1143,7 +1143,7 @@
|
|
|
1143
1143
|
"type": "fontWeight"
|
|
1144
1144
|
},
|
|
1145
1145
|
"text-codeInline-shorthand": {
|
|
1146
|
-
"filePath": "src/tokens/functional/typography/typography.
|
|
1146
|
+
"filePath": "src/tokens/functional/typography/typography.json5",
|
|
1147
1147
|
"isSource": true,
|
|
1148
1148
|
"original": {
|
|
1149
1149
|
"$value": {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"--boxShadow-thin": "inset 0 0 0
|
|
3
|
-
"--boxShadow-thick": "inset 0 0 0
|
|
4
|
-
"--boxShadow-thicker": "inset 0 0 0
|
|
5
|
-
"--borderWidth-
|
|
6
|
-
"--borderWidth-
|
|
7
|
-
"--borderWidth-
|
|
2
|
+
"--boxShadow-thin": "inset 0 0 0 0.0625rem",
|
|
3
|
+
"--boxShadow-thick": "inset 0 0 0 0.125rem",
|
|
4
|
+
"--boxShadow-thicker": "inset 0 0 0 0.25rem",
|
|
5
|
+
"--borderWidth-default": "0.0625rem",
|
|
6
|
+
"--borderWidth-thin": "0.0625rem",
|
|
7
|
+
"--borderWidth-thick": "0.125rem",
|
|
8
|
+
"--borderWidth-thicker": "0.25rem",
|
|
8
9
|
"--borderRadius-small": "0.1875rem",
|
|
9
10
|
"--borderRadius-medium": "0.375rem",
|
|
10
11
|
"--borderRadius-large": "0.75rem",
|
package/dist/figma/figma.json
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
[data-color-mode="dark"][data-dark-theme="dark_colorblind"] ::backdrop,
|
|
3
3
|
[data-color-mode="auto"][data-light-theme="dark_colorblind"],
|
|
4
4
|
[data-color-mode="auto"][data-light-theme="dark_colorblind"] ::backdrop {
|
|
5
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
|
|
6
|
+
--boxShadow-thick: inset 0 0 0 0.125rem;
|
|
7
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem;
|
|
8
|
+
--borderWidth-default: 0.0625rem;
|
|
9
|
+
--borderWidth-thin: 0.0625rem;
|
|
10
|
+
--borderWidth-thick: 0.125rem;
|
|
11
|
+
--borderWidth-thicker: 0.25rem;
|
|
12
|
+
--borderRadius-small: 0.1875rem;
|
|
13
|
+
--borderRadius-medium: 0.375rem;
|
|
14
|
+
--borderRadius-large: 0.75rem;
|
|
15
|
+
--borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
|
|
16
|
+
--borderRadius-default: 0.375rem;
|
|
17
|
+
--outline-focus-offset: -0.125rem;
|
|
18
|
+
--outline-focus-width: 0.125rem;
|
|
5
19
|
--base-color-black: #010409;
|
|
6
20
|
--base-color-inset: #010409;
|
|
7
21
|
--base-color-white: #ffffff;
|
|
@@ -601,6 +615,7 @@
|
|
|
601
615
|
--reactionButton-selected-fgColor-rest: #4493f8;
|
|
602
616
|
--reactionButton-selected-fgColor-hover: #79c0ff;
|
|
603
617
|
--focus-outlineColor: #1f6feb;
|
|
618
|
+
--focus-outline: 2px solid #1f6feb;
|
|
604
619
|
--menu-bgColor-active: #151b23;
|
|
605
620
|
--overlay-bgColor: #151b23;
|
|
606
621
|
--overlay-borderColor: #3d444db3;
|
|
@@ -866,11 +881,51 @@
|
|
|
866
881
|
--shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
|
|
867
882
|
--shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
|
|
868
883
|
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
869
|
-
--
|
|
884
|
+
--border-default: 0.0625rem solid #3d444d;
|
|
885
|
+
--border-muted: 0.0625rem solid #3d444db3;
|
|
886
|
+
--border-emphasis: 0.0625rem solid #656c76;
|
|
887
|
+
--border-disabled: 0.0625rem solid #656c761a;
|
|
888
|
+
--border-transparent: 0.0625rem solid #00000000;
|
|
889
|
+
--border-neutral-emphasis: 0.0625rem solid #656c76;
|
|
890
|
+
--border-neutral-muted: 0.0625rem solid #3d444db3;
|
|
891
|
+
--border-accent-emphasis: 0.0625rem solid #1f6feb;
|
|
892
|
+
--border-accent-muted: 0.0625rem solid #388bfd66;
|
|
893
|
+
--border-success-emphasis: 0.0625rem solid #1f6feb;
|
|
894
|
+
--border-success-muted: 0.0625rem solid #388bfd66;
|
|
895
|
+
--border-open-emphasis: 0.0625rem solid #1f6feb;
|
|
896
|
+
--border-open-muted: 0.0625rem solid #388bfd66;
|
|
897
|
+
--border-danger-emphasis: 0.0625rem solid #bd561d;
|
|
898
|
+
--border-danger-muted: 0.0625rem solid #db6d2866;
|
|
899
|
+
--border-closed-emphasis: 0.0625rem solid #bd561d;
|
|
900
|
+
--border-closed-muted: 0.0625rem solid #db6d2866;
|
|
901
|
+
--border-attention-emphasis: 0.0625rem solid #9e6a03;
|
|
902
|
+
--border-attention-muted: 0.0625rem solid #bb800966;
|
|
903
|
+
--border-severe-emphasis: 0.0625rem solid #bd561d;
|
|
904
|
+
--border-severe-muted: 0.0625rem solid #db6d2866;
|
|
905
|
+
--border-done-emphasis: 0.0625rem solid #8957e5;
|
|
906
|
+
--border-done-muted: 0.0625rem solid #ab7df866;
|
|
907
|
+
--border-upsell-emphasis: 0.0625rem solid #8957e5;
|
|
908
|
+
--border-upsell-muted: 0.0625rem solid #ab7df866;
|
|
909
|
+
--border-sponsors-emphasis: 0.0625rem solid #bf4b8a;
|
|
910
|
+
--border-sponsors-muted: 0.0625rem solid #db61a266;
|
|
870
911
|
}
|
|
871
912
|
@media (prefers-color-scheme: dark) {
|
|
872
913
|
[data-color-mode="auto"][data-dark-theme="dark_colorblind"],
|
|
873
914
|
[data-color-mode="auto"][data-dark-theme="dark_colorblind"] ::backdrop {
|
|
915
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
|
|
916
|
+
--boxShadow-thick: inset 0 0 0 0.125rem;
|
|
917
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem;
|
|
918
|
+
--borderWidth-default: 0.0625rem;
|
|
919
|
+
--borderWidth-thin: 0.0625rem;
|
|
920
|
+
--borderWidth-thick: 0.125rem;
|
|
921
|
+
--borderWidth-thicker: 0.25rem;
|
|
922
|
+
--borderRadius-small: 0.1875rem;
|
|
923
|
+
--borderRadius-medium: 0.375rem;
|
|
924
|
+
--borderRadius-large: 0.75rem;
|
|
925
|
+
--borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
|
|
926
|
+
--borderRadius-default: 0.375rem;
|
|
927
|
+
--outline-focus-offset: -0.125rem;
|
|
928
|
+
--outline-focus-width: 0.125rem;
|
|
874
929
|
--base-color-black: #010409;
|
|
875
930
|
--base-color-inset: #010409;
|
|
876
931
|
--base-color-white: #ffffff;
|
|
@@ -1470,6 +1525,7 @@
|
|
|
1470
1525
|
--reactionButton-selected-fgColor-rest: #4493f8;
|
|
1471
1526
|
--reactionButton-selected-fgColor-hover: #79c0ff;
|
|
1472
1527
|
--focus-outlineColor: #1f6feb;
|
|
1528
|
+
--focus-outline: 2px solid #1f6feb;
|
|
1473
1529
|
--menu-bgColor-active: #151b23;
|
|
1474
1530
|
--overlay-bgColor: #151b23;
|
|
1475
1531
|
--overlay-borderColor: #3d444db3;
|
|
@@ -1735,6 +1791,32 @@
|
|
|
1735
1791
|
--shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
|
|
1736
1792
|
--shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
|
|
1737
1793
|
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
1738
|
-
--
|
|
1794
|
+
--border-default: 0.0625rem solid #3d444d;
|
|
1795
|
+
--border-muted: 0.0625rem solid #3d444db3;
|
|
1796
|
+
--border-emphasis: 0.0625rem solid #656c76;
|
|
1797
|
+
--border-disabled: 0.0625rem solid #656c761a;
|
|
1798
|
+
--border-transparent: 0.0625rem solid #00000000;
|
|
1799
|
+
--border-neutral-emphasis: 0.0625rem solid #656c76;
|
|
1800
|
+
--border-neutral-muted: 0.0625rem solid #3d444db3;
|
|
1801
|
+
--border-accent-emphasis: 0.0625rem solid #1f6feb;
|
|
1802
|
+
--border-accent-muted: 0.0625rem solid #388bfd66;
|
|
1803
|
+
--border-success-emphasis: 0.0625rem solid #1f6feb;
|
|
1804
|
+
--border-success-muted: 0.0625rem solid #388bfd66;
|
|
1805
|
+
--border-open-emphasis: 0.0625rem solid #1f6feb;
|
|
1806
|
+
--border-open-muted: 0.0625rem solid #388bfd66;
|
|
1807
|
+
--border-danger-emphasis: 0.0625rem solid #bd561d;
|
|
1808
|
+
--border-danger-muted: 0.0625rem solid #db6d2866;
|
|
1809
|
+
--border-closed-emphasis: 0.0625rem solid #bd561d;
|
|
1810
|
+
--border-closed-muted: 0.0625rem solid #db6d2866;
|
|
1811
|
+
--border-attention-emphasis: 0.0625rem solid #9e6a03;
|
|
1812
|
+
--border-attention-muted: 0.0625rem solid #bb800966;
|
|
1813
|
+
--border-severe-emphasis: 0.0625rem solid #bd561d;
|
|
1814
|
+
--border-severe-muted: 0.0625rem solid #db6d2866;
|
|
1815
|
+
--border-done-emphasis: 0.0625rem solid #8957e5;
|
|
1816
|
+
--border-done-muted: 0.0625rem solid #ab7df866;
|
|
1817
|
+
--border-upsell-emphasis: 0.0625rem solid #8957e5;
|
|
1818
|
+
--border-upsell-muted: 0.0625rem solid #ab7df866;
|
|
1819
|
+
--border-sponsors-emphasis: 0.0625rem solid #bf4b8a;
|
|
1820
|
+
--border-sponsors-muted: 0.0625rem solid #db61a266;
|
|
1739
1821
|
}
|
|
1740
1822
|
}
|