You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* move mapping and change capitalization
* make values a bulleted list
* restore pipe separation for some number only values
* render color swatches for fill/etc and fix render of values for borderSpacing
* add back font typography section and sort values alphabetically
* move shorthands into related properties
* double check shorthands mappings
* add descriptsions
* add more descriptions
* more missing mdn links
* fix blend mode screen description and add cursor mdn
* fix missing flexShrink/etc properties and make number description only for sizing properties
* refactor so shorthands are top level
* forgot to remove code
* move to new section
* fix test-esm
* undo type module
* add missing base colors
---------
Co-authored-by: Robert Snow <rsnow@adobe.com>
Co-authored-by: Robert Snow <snowystinger@gmail.com>
exportconst description ='Reference table for the style macro';
10
10
@@ -24,7 +24,7 @@ All Spectrum 2 color tokens are available across color properties (e.g., `backgr
24
24
25
25
## Text
26
26
27
-
Spectrum 2 typography can be applied via the `font`[shorthand](#shorthands), which sets `fontFamily`, `fontSize`, `fontWeight`, `lineHeight`, and `color`. You can override any of these individually.
27
+
Spectrum 2 typography can be applied via the `font` shorthand, which sets `fontFamily`, `fontSize`, `fontWeight`, `lineHeight`, and `color`. You can override any of these individually.
28
28
Note that `font` should be applied on a per element basis rather than globally so as to properly conform with Spectrum designs.
29
29
30
30
```tsx
@@ -52,12 +52,6 @@ Note that `font` should be applied on a per element basis rather than globally s
0 commit comments