@rocket.chat/fuselage-tokens 0.33.2 → 0.34.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.
Files changed (59) hide show
  1. package/dist/badge.json +21 -23
  2. package/dist/badge.scss +20 -15
  3. package/dist/border.json +17 -0
  4. package/dist/border.scss +18 -0
  5. package/dist/breakpoints.json +36 -43
  6. package/dist/breakpoints.scss +27 -7
  7. package/dist/button.json +126 -128
  8. package/dist/button.scss +125 -120
  9. package/dist/colors.json +71 -71
  10. package/dist/colors.scss +76 -70
  11. package/dist/font.json +39 -41
  12. package/dist/font.scss +38 -33
  13. package/dist/shadow.json +24 -26
  14. package/dist/shadow.scss +23 -18
  15. package/dist/status.json +53 -81
  16. package/dist/status.scss +53 -66
  17. package/dist/statusBullet.json +24 -26
  18. package/dist/statusBullet.scss +24 -19
  19. package/dist/stroke.json +33 -35
  20. package/dist/stroke.scss +32 -27
  21. package/dist/surface.json +42 -44
  22. package/dist/surface.scss +41 -36
  23. package/dist/typography.json +3 -3
  24. package/dist/typography.scss +69 -3
  25. package/package.json +30 -40
  26. package/breakpoints.js +0 -46
  27. package/breakpoints.json +0 -44
  28. package/breakpoints.mjs +0 -44
  29. package/breakpoints.scss +0 -44
  30. package/colors.js +0 -74
  31. package/colors.json +0 -72
  32. package/colors.mjs +0 -72
  33. package/colors.scss +0 -72
  34. package/dist/badge.js +0 -17
  35. package/dist/badge.mjs +0 -17
  36. package/dist/breakpoints.js +0 -44
  37. package/dist/breakpoints.mjs +0 -44
  38. package/dist/button.js +0 -122
  39. package/dist/button.mjs +0 -122
  40. package/dist/colors.js +0 -72
  41. package/dist/colors.mjs +0 -72
  42. package/dist/font.js +0 -35
  43. package/dist/font.mjs +0 -35
  44. package/dist/shadow.js +0 -20
  45. package/dist/shadow.mjs +0 -20
  46. package/dist/status.js +0 -68
  47. package/dist/status.mjs +0 -68
  48. package/dist/statusBullet.js +0 -20
  49. package/dist/statusBullet.mjs +0 -20
  50. package/dist/stroke.js +0 -29
  51. package/dist/stroke.mjs +0 -29
  52. package/dist/surface.js +0 -38
  53. package/dist/surface.mjs +0 -38
  54. package/dist/typography.js +0 -121
  55. package/dist/typography.mjs +0 -121
  56. package/typography.js +0 -123
  57. package/typography.json +0 -121
  58. package/typography.mjs +0 -121
  59. package/typography.scss +0 -119
@@ -1,121 +0,0 @@
1
- module.exports = {
2
- "fontFamilies": {
3
- "sans": [
4
- "Inter",
5
- "-apple-system",
6
- "BlinkMacSystemFont",
7
- "Segoe UI",
8
- "Roboto",
9
- "Oxygen",
10
- "Ubuntu",
11
- "Cantarell",
12
- "Helvetica Neue",
13
- "Apple Color Emoji",
14
- "Segoe UI Emoji",
15
- "Segoe UI Symbol",
16
- "Meiryo UI",
17
- "Arial",
18
- "sans-serif"
19
- ],
20
- "mono": [
21
- "Menlo",
22
- "Monaco",
23
- "Consolas",
24
- "Liberation Mono",
25
- "Courier New",
26
- "monospace"
27
- ]
28
- },
29
- "fontScales": {
30
- "hero": {
31
- "fontSize": 48,
32
- "fontWeight": 800,
33
- "letterSpacing": 0,
34
- "lineHeight": 64
35
- },
36
- "h1": {
37
- "fontSize": 32,
38
- "fontWeight": 700,
39
- "letterSpacing": 0,
40
- "lineHeight": 40
41
- },
42
- "h2": {
43
- "fontSize": 24,
44
- "fontWeight": 700,
45
- "letterSpacing": 0,
46
- "lineHeight": 32
47
- },
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": {
67
- "fontSize": 16,
68
- "fontWeight": 400,
69
- "letterSpacing": 0,
70
- "lineHeight": 24
71
- },
72
- "p1m": {
73
- "fontSize": 16,
74
- "fontWeight": 500,
75
- "letterSpacing": 0,
76
- "lineHeight": 24
77
- },
78
- "p1b": {
79
- "fontSize": 16,
80
- "fontWeight": 700,
81
- "letterSpacing": 0,
82
- "lineHeight": 24
83
- },
84
- "p2": {
85
- "fontSize": 14,
86
- "fontWeight": 400,
87
- "letterSpacing": 0,
88
- "lineHeight": 20
89
- },
90
- "p2m": {
91
- "fontSize": 14,
92
- "fontWeight": 500,
93
- "letterSpacing": 0,
94
- "lineHeight": 20
95
- },
96
- "p2b": {
97
- "fontSize": 14,
98
- "fontWeight": 700,
99
- "letterSpacing": 0,
100
- "lineHeight": 20
101
- },
102
- "c1": {
103
- "fontSize": 12,
104
- "fontWeight": 400,
105
- "letterSpacing": 0,
106
- "lineHeight": 16
107
- },
108
- "c2": {
109
- "fontSize": 12,
110
- "fontWeight": 700,
111
- "letterSpacing": 0,
112
- "lineHeight": 16
113
- },
114
- "micro": {
115
- "fontSize": 10,
116
- "fontWeight": 700,
117
- "letterSpacing": 0,
118
- "lineHeight": 12
119
- }
120
- }
121
- };
@@ -1,121 +0,0 @@
1
- export default {
2
- "fontFamilies": {
3
- "sans": [
4
- "Inter",
5
- "-apple-system",
6
- "BlinkMacSystemFont",
7
- "Segoe UI",
8
- "Roboto",
9
- "Oxygen",
10
- "Ubuntu",
11
- "Cantarell",
12
- "Helvetica Neue",
13
- "Apple Color Emoji",
14
- "Segoe UI Emoji",
15
- "Segoe UI Symbol",
16
- "Meiryo UI",
17
- "Arial",
18
- "sans-serif"
19
- ],
20
- "mono": [
21
- "Menlo",
22
- "Monaco",
23
- "Consolas",
24
- "Liberation Mono",
25
- "Courier New",
26
- "monospace"
27
- ]
28
- },
29
- "fontScales": {
30
- "hero": {
31
- "fontSize": 48,
32
- "fontWeight": 800,
33
- "letterSpacing": 0,
34
- "lineHeight": 64
35
- },
36
- "h1": {
37
- "fontSize": 32,
38
- "fontWeight": 700,
39
- "letterSpacing": 0,
40
- "lineHeight": 40
41
- },
42
- "h2": {
43
- "fontSize": 24,
44
- "fontWeight": 700,
45
- "letterSpacing": 0,
46
- "lineHeight": 32
47
- },
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": {
67
- "fontSize": 16,
68
- "fontWeight": 400,
69
- "letterSpacing": 0,
70
- "lineHeight": 24
71
- },
72
- "p1m": {
73
- "fontSize": 16,
74
- "fontWeight": 500,
75
- "letterSpacing": 0,
76
- "lineHeight": 24
77
- },
78
- "p1b": {
79
- "fontSize": 16,
80
- "fontWeight": 700,
81
- "letterSpacing": 0,
82
- "lineHeight": 24
83
- },
84
- "p2": {
85
- "fontSize": 14,
86
- "fontWeight": 400,
87
- "letterSpacing": 0,
88
- "lineHeight": 20
89
- },
90
- "p2m": {
91
- "fontSize": 14,
92
- "fontWeight": 500,
93
- "letterSpacing": 0,
94
- "lineHeight": 20
95
- },
96
- "p2b": {
97
- "fontSize": 14,
98
- "fontWeight": 700,
99
- "letterSpacing": 0,
100
- "lineHeight": 20
101
- },
102
- "c1": {
103
- "fontSize": 12,
104
- "fontWeight": 400,
105
- "letterSpacing": 0,
106
- "lineHeight": 16
107
- },
108
- "c2": {
109
- "fontSize": 12,
110
- "fontWeight": 700,
111
- "letterSpacing": 0,
112
- "lineHeight": 16
113
- },
114
- "micro": {
115
- "fontSize": 10,
116
- "fontWeight": 700,
117
- "letterSpacing": 0,
118
- "lineHeight": 12
119
- }
120
- }
121
- };
package/typography.js DELETED
@@ -1,123 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
- fontFamilies: {
5
- sans: [
6
- 'Inter',
7
- '-apple-system',
8
- 'BlinkMacSystemFont',
9
- 'Segoe UI',
10
- 'Roboto',
11
- 'Oxygen',
12
- 'Ubuntu',
13
- 'Cantarell',
14
- 'Helvetica Neue',
15
- 'Apple Color Emoji',
16
- 'Segoe UI Emoji',
17
- 'Segoe UI Symbol',
18
- 'Meiryo UI',
19
- 'Arial',
20
- 'sans-serif',
21
- ],
22
- mono: [
23
- 'Menlo',
24
- 'Monaco',
25
- 'Consolas',
26
- 'Liberation Mono',
27
- 'Courier New',
28
- 'monospace',
29
- ],
30
- },
31
- fontScales: {
32
- hero: {
33
- fontSize: 48,
34
- fontWeight: 800,
35
- letterSpacing: 0,
36
- lineHeight: 64,
37
- },
38
- h1: {
39
- fontSize: 32,
40
- fontWeight: 700,
41
- letterSpacing: 0,
42
- lineHeight: 40,
43
- },
44
- h2: {
45
- fontSize: 24,
46
- fontWeight: 700,
47
- letterSpacing: 0,
48
- lineHeight: 32,
49
- },
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: {
69
- fontSize: 16,
70
- fontWeight: 400,
71
- letterSpacing: 0,
72
- lineHeight: 24,
73
- },
74
- p1m: {
75
- fontSize: 16,
76
- fontWeight: 500,
77
- letterSpacing: 0,
78
- lineHeight: 24,
79
- },
80
- p1b: {
81
- fontSize: 16,
82
- fontWeight: 700,
83
- letterSpacing: 0,
84
- lineHeight: 24,
85
- },
86
- p2: {
87
- fontSize: 14,
88
- fontWeight: 400,
89
- letterSpacing: 0,
90
- lineHeight: 20,
91
- },
92
- p2m: {
93
- fontSize: 14,
94
- fontWeight: 500,
95
- letterSpacing: 0,
96
- lineHeight: 20,
97
- },
98
- p2b: {
99
- fontSize: 14,
100
- fontWeight: 700,
101
- letterSpacing: 0,
102
- lineHeight: 20,
103
- },
104
- c1: {
105
- fontSize: 12,
106
- fontWeight: 400,
107
- letterSpacing: 0,
108
- lineHeight: 16,
109
- },
110
- c2: {
111
- fontSize: 12,
112
- fontWeight: 700,
113
- letterSpacing: 0,
114
- lineHeight: 16,
115
- },
116
- micro: {
117
- fontSize: 10,
118
- fontWeight: 700,
119
- letterSpacing: 0,
120
- lineHeight: 12,
121
- },
122
- },
123
- };
package/typography.json DELETED
@@ -1,121 +0,0 @@
1
- {
2
- "fontFamilies": {
3
- "sans": [
4
- "Inter",
5
- "-apple-system",
6
- "BlinkMacSystemFont",
7
- "Segoe UI",
8
- "Roboto",
9
- "Oxygen",
10
- "Ubuntu",
11
- "Cantarell",
12
- "Helvetica Neue",
13
- "Apple Color Emoji",
14
- "Segoe UI Emoji",
15
- "Segoe UI Symbol",
16
- "Meiryo UI",
17
- "Arial",
18
- "sans-serif"
19
- ],
20
- "mono": [
21
- "Menlo",
22
- "Monaco",
23
- "Consolas",
24
- "Liberation Mono",
25
- "Courier New",
26
- "monospace"
27
- ]
28
- },
29
- "fontScales": {
30
- "hero": {
31
- "fontSize": 48,
32
- "fontWeight": 800,
33
- "letterSpacing": 0,
34
- "lineHeight": 64
35
- },
36
- "h1": {
37
- "fontSize": 32,
38
- "fontWeight": 700,
39
- "letterSpacing": 0,
40
- "lineHeight": 40
41
- },
42
- "h2": {
43
- "fontSize": 24,
44
- "fontWeight": 700,
45
- "letterSpacing": 0,
46
- "lineHeight": 32
47
- },
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": {
67
- "fontSize": 16,
68
- "fontWeight": 400,
69
- "letterSpacing": 0,
70
- "lineHeight": 24
71
- },
72
- "p1m": {
73
- "fontSize": 16,
74
- "fontWeight": 500,
75
- "letterSpacing": 0,
76
- "lineHeight": 24
77
- },
78
- "p1b": {
79
- "fontSize": 16,
80
- "fontWeight": 700,
81
- "letterSpacing": 0,
82
- "lineHeight": 24
83
- },
84
- "p2": {
85
- "fontSize": 14,
86
- "fontWeight": 400,
87
- "letterSpacing": 0,
88
- "lineHeight": 20
89
- },
90
- "p2m": {
91
- "fontSize": 14,
92
- "fontWeight": 500,
93
- "letterSpacing": 0,
94
- "lineHeight": 20
95
- },
96
- "p2b": {
97
- "fontSize": 14,
98
- "fontWeight": 700,
99
- "letterSpacing": 0,
100
- "lineHeight": 20
101
- },
102
- "c1": {
103
- "fontSize": 12,
104
- "fontWeight": 400,
105
- "letterSpacing": 0,
106
- "lineHeight": 16
107
- },
108
- "c2": {
109
- "fontSize": 12,
110
- "fontWeight": 700,
111
- "letterSpacing": 0,
112
- "lineHeight": 16
113
- },
114
- "micro": {
115
- "fontSize": 10,
116
- "fontWeight": 700,
117
- "letterSpacing": 0,
118
- "lineHeight": 12
119
- }
120
- }
121
- }
package/typography.mjs DELETED
@@ -1,121 +0,0 @@
1
- export default {
2
- fontFamilies: {
3
- sans: [
4
- 'Inter',
5
- '-apple-system',
6
- 'BlinkMacSystemFont',
7
- 'Segoe UI',
8
- 'Roboto',
9
- 'Oxygen',
10
- 'Ubuntu',
11
- 'Cantarell',
12
- 'Helvetica Neue',
13
- 'Apple Color Emoji',
14
- 'Segoe UI Emoji',
15
- 'Segoe UI Symbol',
16
- 'Meiryo UI',
17
- 'Arial',
18
- 'sans-serif',
19
- ],
20
- mono: [
21
- 'Menlo',
22
- 'Monaco',
23
- 'Consolas',
24
- 'Liberation Mono',
25
- 'Courier New',
26
- 'monospace',
27
- ],
28
- },
29
- fontScales: {
30
- hero: {
31
- fontSize: 48,
32
- fontWeight: 800,
33
- letterSpacing: 0,
34
- lineHeight: 64,
35
- },
36
- h1: {
37
- fontSize: 32,
38
- fontWeight: 700,
39
- letterSpacing: 0,
40
- lineHeight: 40,
41
- },
42
- h2: {
43
- fontSize: 24,
44
- fontWeight: 700,
45
- letterSpacing: 0,
46
- lineHeight: 32,
47
- },
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: {
67
- fontSize: 16,
68
- fontWeight: 400,
69
- letterSpacing: 0,
70
- lineHeight: 24,
71
- },
72
- p1m: {
73
- fontSize: 16,
74
- fontWeight: 500,
75
- letterSpacing: 0,
76
- lineHeight: 24,
77
- },
78
- p1b: {
79
- fontSize: 16,
80
- fontWeight: 700,
81
- letterSpacing: 0,
82
- lineHeight: 24,
83
- },
84
- p2: {
85
- fontSize: 14,
86
- fontWeight: 400,
87
- letterSpacing: 0,
88
- lineHeight: 20,
89
- },
90
- p2m: {
91
- fontSize: 14,
92
- fontWeight: 500,
93
- letterSpacing: 0,
94
- lineHeight: 20,
95
- },
96
- p2b: {
97
- fontSize: 14,
98
- fontWeight: 700,
99
- letterSpacing: 0,
100
- lineHeight: 20,
101
- },
102
- c1: {
103
- fontSize: 12,
104
- fontWeight: 400,
105
- letterSpacing: 0,
106
- lineHeight: 16,
107
- },
108
- c2: {
109
- fontSize: 12,
110
- fontWeight: 700,
111
- letterSpacing: 0,
112
- lineHeight: 16,
113
- },
114
- micro: {
115
- fontSize: 10,
116
- fontWeight: 700,
117
- letterSpacing: 0,
118
- lineHeight: 12,
119
- },
120
- },
121
- };
package/typography.scss DELETED
@@ -1,119 +0,0 @@
1
- $font-families: (
2
- sans: (
3
- Inter,
4
- -apple-system,
5
- BlinkMacSystemFont,
6
- 'Segoe UI',
7
- Roboto,
8
- Oxygen,
9
- Ubuntu,
10
- Cantarell,
11
- 'Helvetica Neue',
12
- 'Apple Color Emoji',
13
- 'Segoe UI Emoji',
14
- 'Segoe UI Symbol',
15
- 'Meiryo UI',
16
- Arial,
17
- sans-serif,
18
- ),
19
- mono: (
20
- Menlo,
21
- Monaco,
22
- Consolas,
23
- 'Liberation Mono',
24
- 'Courier New',
25
- monospace,
26
- ),
27
- );
28
- $font-scales: (
29
- hero: (
30
- font-size: 48,
31
- font-weight: 800,
32
- letter-spacing: 0,
33
- line-height: 64,
34
- ),
35
- h1: (
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,
44
- letter-spacing: 0,
45
- line-height: 32,
46
- ),
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: (
66
- font-size: 16,
67
- font-weight: 400,
68
- letter-spacing: 0,
69
- line-height: 24,
70
- ),
71
- p1m: (
72
- font-size: 16,
73
- font-weight: 500,
74
- letter-spacing: 0,
75
- line-height: 24,
76
- ),
77
- p1b: (
78
- font-size: 16,
79
- font-weight: 700,
80
- letter-spacing: 0,
81
- line-height: 24,
82
- ),
83
- p2: (
84
- font-size: 14,
85
- font-weight: 400,
86
- letter-spacing: 0,
87
- line-height: 20,
88
- ),
89
- p2m: (
90
- font-size: 14,
91
- font-weight: 500,
92
- letter-spacing: 0,
93
- line-height: 20,
94
- ),
95
- p2b: (
96
- font-size: 14,
97
- font-weight: 700,
98
- letter-spacing: 0,
99
- line-height: 20,
100
- ),
101
- c1: (
102
- font-size: 12,
103
- font-weight: 400,
104
- letter-spacing: 0,
105
- line-height: 16,
106
- ),
107
- c2: (
108
- font-size: 12,
109
- font-weight: 700,
110
- letter-spacing: 0,
111
- line-height: 16,
112
- ),
113
- micro: (
114
- font-size: 10,
115
- font-weight: 700,
116
- letter-spacing: 0,
117
- line-height: 12,
118
- ),
119
- );