@nswds/tokens 3.1.0 → 3.3.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.
@@ -0,0 +1,72 @@
1
+ export const heading1 = {
2
+ fontFamily:
3
+ "'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
4
+ fontSize: '2.25rem',
5
+ fontWeight: 800,
6
+ lineHeight: 1.2,
7
+ letterSpacing: '-0.0125em',
8
+ }
9
+ export const heading2 = {
10
+ fontFamily:
11
+ "'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
12
+ fontSize: '1.5rem',
13
+ fontWeight: 700,
14
+ lineHeight: 1.3333333,
15
+ letterSpacing: '0em',
16
+ }
17
+ export const heading3 = {
18
+ fontFamily:
19
+ "'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
20
+ fontSize: '1.25rem',
21
+ fontWeight: 600,
22
+ lineHeight: 1.6,
23
+ letterSpacing: '0em',
24
+ }
25
+ export const heading4 = {
26
+ fontFamily:
27
+ "'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
28
+ fontSize: '1rem',
29
+ fontWeight: 600,
30
+ lineHeight: 1.5,
31
+ letterSpacing: '0em',
32
+ }
33
+ export const body = {
34
+ fontFamily:
35
+ "'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
36
+ fontSize: '1rem',
37
+ fontWeight: 400,
38
+ lineHeight: 1.75,
39
+ letterSpacing: '0em',
40
+ }
41
+ export const bodySm = {
42
+ fontFamily:
43
+ "'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
44
+ fontSize: '0.875rem',
45
+ fontWeight: 400,
46
+ lineHeight: 1.75,
47
+ letterSpacing: '0em',
48
+ }
49
+ export const lead = {
50
+ fontFamily:
51
+ "'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
52
+ fontSize: '1.25rem',
53
+ fontWeight: 400,
54
+ lineHeight: 1.6,
55
+ letterSpacing: '0em',
56
+ }
57
+ export const caption = {
58
+ fontFamily:
59
+ "'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
60
+ fontSize: '0.75rem',
61
+ fontWeight: 400,
62
+ lineHeight: 1.5,
63
+ letterSpacing: '0.025em',
64
+ }
65
+ export const code = {
66
+ fontFamily:
67
+ "'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace",
68
+ fontSize: '0.875rem',
69
+ fontWeight: 400,
70
+ lineHeight: 1.5,
71
+ letterSpacing: '0em',
72
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nswds/tokens",
3
- "version": "3.1.0",
3
+ "version": "3.3.0",
4
4
  "description": "NSW Application Design System Design Tokens",
5
5
  "license": "MPL-2.0",
6
6
  "keywords": [