@rocket.chat/fuselage-tokens 0.31.14-dev.2 → 0.32.0-dev.10
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/colors.js +118 -64
- package/colors.json +65 -11
- package/colors.mjs +118 -64
- package/colors.scss +64 -10
- package/dist/breakpoints.js +44 -0
- package/dist/breakpoints.json +44 -0
- package/dist/breakpoints.mjs +44 -0
- package/dist/breakpoints.scss +8 -0
- package/dist/colors.js +120 -0
- package/dist/colors.json +120 -0
- package/dist/colors.mjs +120 -0
- package/dist/colors.scss +119 -0
- package/dist/typography.js +121 -0
- package/dist/typography.json +121 -0
- package/dist/typography.mjs +121 -0
- package/dist/typography.scss +3 -0
- package/package.json +18 -8
|
@@ -0,0 +1,121 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
$font-families:
|
|
2
|
+
(sans:(Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Meiryo UI",Arial,sans-serif),mono:(Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace));$font-scales:
|
|
3
|
+
(hero:(font-size:48,font-weight:800,letter-spacing:0,line-height:64),h1:(font-size:32,font-weight:700,letter-spacing:0,line-height:40),h2:(font-size:24,font-weight:700,letter-spacing:0,line-height:32),h3:(font-size:20,font-weight:700,letter-spacing:0,line-height:28),h4:(font-size:16,font-weight:700,letter-spacing:0,line-height:24),h5:(font-size:14,font-weight:700,letter-spacing:0,line-height:20),p1:(font-size:16,font-weight:400,letter-spacing:0,line-height:24),p1m:(font-size:16,font-weight:500,letter-spacing:0,line-height:24),p1b:(font-size:16,font-weight:700,letter-spacing:0,line-height:24),p2:(font-size:14,font-weight:400,letter-spacing:0,line-height:20),p2m:(font-size:14,font-weight:500,letter-spacing:0,line-height:20),p2b:(font-size:14,font-weight:700,letter-spacing:0,line-height:20),c1:(font-size:12,font-weight:400,letter-spacing:0,line-height:16),c2:(font-size:12,font-weight:700,letter-spacing:0,line-height:16),micro:(font-size:10,font-weight:700,letter-spacing:0,line-height:12));
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocket.chat/fuselage-tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0-dev.10",
|
|
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": {
|
|
7
7
|
"name": "Rocket.Chat",
|
|
8
8
|
"url": "https://rocket.chat/"
|
|
9
9
|
},
|
|
10
|
+
"module": "dist/esm/index.js",
|
|
11
|
+
"types": "dist/esm/index.d.ts",
|
|
10
12
|
"license": "MIT",
|
|
11
13
|
"repository": {
|
|
12
14
|
"type": "git",
|
|
@@ -23,6 +25,9 @@
|
|
|
23
25
|
"rocket.chat"
|
|
24
26
|
],
|
|
25
27
|
"files": [
|
|
28
|
+
"dist/breakpoints.*",
|
|
29
|
+
"dist/colors.*",
|
|
30
|
+
"dist/typography.*",
|
|
26
31
|
"/breakpoints.*",
|
|
27
32
|
"/colors.*",
|
|
28
33
|
"/typography.*"
|
|
@@ -31,15 +36,17 @@
|
|
|
31
36
|
"access": "public"
|
|
32
37
|
},
|
|
33
38
|
"scripts": {
|
|
34
|
-
"build": "build
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
39
|
+
"build": "run-s .:build:clean .:build:legacy .:build",
|
|
40
|
+
".:build": "node ./build --config ./config.js",
|
|
41
|
+
".:build:legacy": "build-design-tokens",
|
|
42
|
+
".:build:clean": "rimraf dist",
|
|
43
|
+
".:build:esm": "tsc -p tsconfig.json",
|
|
44
|
+
".:build:cjs": "tsc -p tsconfig-cjs.json",
|
|
38
45
|
"bump-next": "bump-next"
|
|
39
46
|
},
|
|
40
47
|
"devDependencies": {
|
|
41
|
-
"@rocket.chat/eslint-config-alt": "~0.31.14-dev.
|
|
42
|
-
"@rocket.chat/prettier-config": "~0.31.14-dev.
|
|
48
|
+
"@rocket.chat/eslint-config-alt": "~0.31.14-dev.13",
|
|
49
|
+
"@rocket.chat/prettier-config": "~0.31.14-dev.13",
|
|
43
50
|
"build-design-tokens": "~0.31.13",
|
|
44
51
|
"bump": "~0.31.13",
|
|
45
52
|
"eslint": "~8.8.0",
|
|
@@ -51,9 +58,12 @@
|
|
|
51
58
|
"npm-run-all": "^4.1.5",
|
|
52
59
|
"postcss-scss": "~4.0.3",
|
|
53
60
|
"prettier": "~2.5.1",
|
|
61
|
+
"rimraf": "^3.0.2",
|
|
62
|
+
"style-dictionary": "~3.7.0",
|
|
54
63
|
"stylelint": "~14.5.0",
|
|
55
64
|
"stylelint-order": "~5.0.0",
|
|
56
65
|
"stylelint-prettier": "~2.0.0",
|
|
57
|
-
"stylelint-scss": "~4.1.0"
|
|
66
|
+
"stylelint-scss": "~4.1.0",
|
|
67
|
+
"typescript": "~4.3.5"
|
|
58
68
|
}
|
|
59
69
|
}
|