@rocket.chat/fuselage-tokens 0.6.3-dev.355 → 0.6.3-dev.356

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rocket.chat/fuselage-tokens",
3
- "version": "0.6.3-dev.355+1993e020",
3
+ "version": "0.6.3-dev.356+bacf4811",
4
4
  "description": "Design tokens for Fuselage, Rocket.Chat's design system",
5
5
  "homepage": "https://rocketchat.github.io/Rocket.Chat.Fuselage/",
6
6
  "author": {
@@ -37,8 +37,8 @@
37
37
  "lint-staged": "lint-staged"
38
38
  },
39
39
  "devDependencies": {
40
- "@rocket.chat/eslint-config-alt": "^0.6.3-dev.355+1993e020",
41
- "@rocket.chat/prettier-config": "^0.6.3-dev.355+1993e020",
40
+ "@rocket.chat/eslint-config-alt": "^0.6.3-dev.356+bacf4811",
41
+ "@rocket.chat/prettier-config": "^0.6.3-dev.356+bacf4811",
42
42
  "build-design-tokens": "^0.30.1",
43
43
  "eslint": "^7.32.0",
44
44
  "eslint-config-prettier": "^8.3.0",
@@ -53,5 +53,5 @@
53
53
  "stylelint-prettier": "^1.2.0",
54
54
  "stylelint-scss": "^3.21.0"
55
55
  },
56
- "gitHead": "1993e020ec738c17d9bbfc8f65801c5f209be401"
56
+ "gitHead": "bacf48117a8fd5c51512c76092c1ba05e94b5e38"
57
57
  }
package/typography.js CHANGED
@@ -29,31 +29,61 @@ module.exports = {
29
29
  ],
30
30
  },
31
31
  fontScales: {
32
+ hero: {
33
+ fontSize: 48,
34
+ fontWeight: 800,
35
+ letterSpacing: 0,
36
+ lineHeight: 64,
37
+ },
32
38
  h1: {
33
- fontSize: 22,
34
- fontWeight: 400,
39
+ fontSize: 32,
40
+ fontWeight: 700,
41
+ letterSpacing: 0,
42
+ lineHeight: 40,
43
+ },
44
+ h2: {
45
+ fontSize: 24,
46
+ fontWeight: 700,
35
47
  letterSpacing: 0,
36
48
  lineHeight: 32,
37
49
  },
38
- s1: {
50
+ h3: {
51
+ fontSize: 20,
52
+ fontWeight: 700,
53
+ letterSpacing: 0,
54
+ lineHeight: 28,
55
+ },
56
+ h4: {
57
+ fontSize: 16,
58
+ fontWeight: 700,
59
+ letterSpacing: 0,
60
+ lineHeight: 24,
61
+ },
62
+ h5: {
63
+ fontSize: 14,
64
+ fontWeight: 700,
65
+ letterSpacing: 0,
66
+ lineHeight: 20,
67
+ },
68
+ p1: {
39
69
  fontSize: 16,
40
70
  fontWeight: 400,
41
71
  letterSpacing: 0,
42
- lineHeight: 22,
72
+ lineHeight: 24,
43
73
  },
44
- s2: {
74
+ p2: {
45
75
  fontSize: 16,
46
76
  fontWeight: 500,
47
77
  letterSpacing: 0,
48
- lineHeight: 22,
78
+ lineHeight: 24,
49
79
  },
50
- p1: {
80
+ p3: {
51
81
  fontSize: 14,
52
82
  fontWeight: 400,
53
83
  letterSpacing: 0,
54
84
  lineHeight: 20,
55
85
  },
56
- p2: {
86
+ p4: {
57
87
  fontSize: 14,
58
88
  fontWeight: 500,
59
89
  letterSpacing: 0,
@@ -67,14 +97,14 @@ module.exports = {
67
97
  },
68
98
  c2: {
69
99
  fontSize: 12,
70
- fontWeight: 600,
100
+ fontWeight: 700,
71
101
  letterSpacing: 0,
72
102
  lineHeight: 16,
73
103
  },
74
104
  micro: {
75
105
  fontSize: 10,
76
- fontWeight: 600,
77
- letterSpacing: 0.2,
106
+ fontWeight: 700,
107
+ letterSpacing: 0,
78
108
  lineHeight: 12,
79
109
  },
80
110
  },
package/typography.json CHANGED
@@ -27,31 +27,61 @@
27
27
  ]
28
28
  },
29
29
  "fontScales": {
30
+ "hero": {
31
+ "fontSize": 48,
32
+ "fontWeight": 800,
33
+ "letterSpacing": 0,
34
+ "lineHeight": 64
35
+ },
30
36
  "h1": {
31
- "fontSize": 22,
32
- "fontWeight": 400,
37
+ "fontSize": 32,
38
+ "fontWeight": 700,
39
+ "letterSpacing": 0,
40
+ "lineHeight": 40
41
+ },
42
+ "h2": {
43
+ "fontSize": 24,
44
+ "fontWeight": 700,
33
45
  "letterSpacing": 0,
34
46
  "lineHeight": 32
35
47
  },
36
- "s1": {
48
+ "h3": {
49
+ "fontSize": 20,
50
+ "fontWeight": 700,
51
+ "letterSpacing": 0,
52
+ "lineHeight": 28
53
+ },
54
+ "h4": {
55
+ "fontSize": 16,
56
+ "fontWeight": 700,
57
+ "letterSpacing": 0,
58
+ "lineHeight": 24
59
+ },
60
+ "h5": {
61
+ "fontSize": 14,
62
+ "fontWeight": 700,
63
+ "letterSpacing": 0,
64
+ "lineHeight": 20
65
+ },
66
+ "p1": {
37
67
  "fontSize": 16,
38
68
  "fontWeight": 400,
39
69
  "letterSpacing": 0,
40
- "lineHeight": 22
70
+ "lineHeight": 24
41
71
  },
42
- "s2": {
72
+ "p2": {
43
73
  "fontSize": 16,
44
74
  "fontWeight": 500,
45
75
  "letterSpacing": 0,
46
- "lineHeight": 22
76
+ "lineHeight": 24
47
77
  },
48
- "p1": {
78
+ "p3": {
49
79
  "fontSize": 14,
50
80
  "fontWeight": 400,
51
81
  "letterSpacing": 0,
52
82
  "lineHeight": 20
53
83
  },
54
- "p2": {
84
+ "p4": {
55
85
  "fontSize": 14,
56
86
  "fontWeight": 500,
57
87
  "letterSpacing": 0,
@@ -65,14 +95,14 @@
65
95
  },
66
96
  "c2": {
67
97
  "fontSize": 12,
68
- "fontWeight": 600,
98
+ "fontWeight": 700,
69
99
  "letterSpacing": 0,
70
100
  "lineHeight": 16
71
101
  },
72
102
  "micro": {
73
103
  "fontSize": 10,
74
- "fontWeight": 600,
75
- "letterSpacing": 0.2,
104
+ "fontWeight": 700,
105
+ "letterSpacing": 0,
76
106
  "lineHeight": 12
77
107
  }
78
108
  }
package/typography.mjs CHANGED
@@ -27,31 +27,61 @@ export default {
27
27
  ],
28
28
  },
29
29
  fontScales: {
30
+ hero: {
31
+ fontSize: 48,
32
+ fontWeight: 800,
33
+ letterSpacing: 0,
34
+ lineHeight: 64,
35
+ },
30
36
  h1: {
31
- fontSize: 22,
32
- fontWeight: 400,
37
+ fontSize: 32,
38
+ fontWeight: 700,
39
+ letterSpacing: 0,
40
+ lineHeight: 40,
41
+ },
42
+ h2: {
43
+ fontSize: 24,
44
+ fontWeight: 700,
33
45
  letterSpacing: 0,
34
46
  lineHeight: 32,
35
47
  },
36
- s1: {
48
+ h3: {
49
+ fontSize: 20,
50
+ fontWeight: 700,
51
+ letterSpacing: 0,
52
+ lineHeight: 28,
53
+ },
54
+ h4: {
55
+ fontSize: 16,
56
+ fontWeight: 700,
57
+ letterSpacing: 0,
58
+ lineHeight: 24,
59
+ },
60
+ h5: {
61
+ fontSize: 14,
62
+ fontWeight: 700,
63
+ letterSpacing: 0,
64
+ lineHeight: 20,
65
+ },
66
+ p1: {
37
67
  fontSize: 16,
38
68
  fontWeight: 400,
39
69
  letterSpacing: 0,
40
- lineHeight: 22,
70
+ lineHeight: 24,
41
71
  },
42
- s2: {
72
+ p2: {
43
73
  fontSize: 16,
44
74
  fontWeight: 500,
45
75
  letterSpacing: 0,
46
- lineHeight: 22,
76
+ lineHeight: 24,
47
77
  },
48
- p1: {
78
+ p3: {
49
79
  fontSize: 14,
50
80
  fontWeight: 400,
51
81
  letterSpacing: 0,
52
82
  lineHeight: 20,
53
83
  },
54
- p2: {
84
+ p4: {
55
85
  fontSize: 14,
56
86
  fontWeight: 500,
57
87
  letterSpacing: 0,
@@ -65,14 +95,14 @@ export default {
65
95
  },
66
96
  c2: {
67
97
  fontSize: 12,
68
- fontWeight: 600,
98
+ fontWeight: 700,
69
99
  letterSpacing: 0,
70
100
  lineHeight: 16,
71
101
  },
72
102
  micro: {
73
103
  fontSize: 10,
74
- fontWeight: 600,
75
- letterSpacing: 0.2,
104
+ fontWeight: 700,
105
+ letterSpacing: 0,
76
106
  lineHeight: 12,
77
107
  },
78
108
  },
package/typography.scss CHANGED
@@ -26,31 +26,61 @@ $font-families: (
26
26
  ),
27
27
  );
28
28
  $font-scales: (
29
+ hero: (
30
+ font-size: 48,
31
+ font-weight: 800,
32
+ letter-spacing: 0,
33
+ line-height: 64,
34
+ ),
29
35
  h1: (
30
- font-size: 22,
31
- font-weight: 400,
36
+ font-size: 32,
37
+ font-weight: 700,
38
+ letter-spacing: 0,
39
+ line-height: 40,
40
+ ),
41
+ h2: (
42
+ font-size: 24,
43
+ font-weight: 700,
32
44
  letter-spacing: 0,
33
45
  line-height: 32,
34
46
  ),
35
- s1: (
47
+ h3: (
48
+ font-size: 20,
49
+ font-weight: 700,
50
+ letter-spacing: 0,
51
+ line-height: 28,
52
+ ),
53
+ h4: (
54
+ font-size: 16,
55
+ font-weight: 700,
56
+ letter-spacing: 0,
57
+ line-height: 24,
58
+ ),
59
+ h5: (
60
+ font-size: 14,
61
+ font-weight: 700,
62
+ letter-spacing: 0,
63
+ line-height: 20,
64
+ ),
65
+ p1: (
36
66
  font-size: 16,
37
67
  font-weight: 400,
38
68
  letter-spacing: 0,
39
- line-height: 22,
69
+ line-height: 24,
40
70
  ),
41
- s2: (
71
+ p2: (
42
72
  font-size: 16,
43
73
  font-weight: 500,
44
74
  letter-spacing: 0,
45
- line-height: 22,
75
+ line-height: 24,
46
76
  ),
47
- p1: (
77
+ p3: (
48
78
  font-size: 14,
49
79
  font-weight: 400,
50
80
  letter-spacing: 0,
51
81
  line-height: 20,
52
82
  ),
53
- p2: (
83
+ p4: (
54
84
  font-size: 14,
55
85
  font-weight: 500,
56
86
  letter-spacing: 0,
@@ -64,14 +94,14 @@ $font-scales: (
64
94
  ),
65
95
  c2: (
66
96
  font-size: 12,
67
- font-weight: 600,
97
+ font-weight: 700,
68
98
  letter-spacing: 0,
69
99
  line-height: 16,
70
100
  ),
71
101
  micro: (
72
102
  font-size: 10,
73
- font-weight: 600,
74
- letter-spacing: 0.2,
103
+ font-weight: 700,
104
+ letter-spacing: 0,
75
105
  line-height: 12,
76
106
  ),
77
107
  );