@rocket.chat/fuselage-tokens 0.33.1 → 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.
- package/dist/badge.json +21 -23
- package/dist/badge.scss +20 -15
- package/dist/border.json +17 -0
- package/dist/border.scss +18 -0
- package/dist/breakpoints.json +36 -43
- package/dist/breakpoints.scss +27 -7
- package/dist/button.json +126 -128
- package/dist/button.scss +125 -120
- package/dist/colors.json +71 -71
- package/dist/colors.scss +76 -70
- package/dist/font.json +39 -41
- package/dist/font.scss +38 -33
- package/dist/shadow.json +24 -26
- package/dist/shadow.scss +23 -18
- package/dist/status.json +53 -81
- package/dist/status.scss +53 -66
- package/dist/statusBullet.json +24 -26
- package/dist/statusBullet.scss +24 -19
- package/dist/stroke.json +33 -35
- package/dist/stroke.scss +32 -27
- package/dist/surface.json +42 -44
- package/dist/surface.scss +41 -36
- package/dist/typography.json +3 -3
- package/dist/typography.scss +69 -3
- package/package.json +30 -43
- package/CHANGELOG.md +0 -285
- package/breakpoints.js +0 -46
- package/breakpoints.json +0 -44
- package/breakpoints.mjs +0 -44
- package/breakpoints.scss +0 -44
- package/colors.js +0 -74
- package/colors.json +0 -72
- package/colors.mjs +0 -72
- package/colors.scss +0 -72
- package/dist/badge.js +0 -17
- package/dist/badge.mjs +0 -17
- package/dist/breakpoints.js +0 -44
- package/dist/breakpoints.mjs +0 -44
- package/dist/button.js +0 -122
- package/dist/button.mjs +0 -122
- package/dist/colors.js +0 -72
- package/dist/colors.mjs +0 -72
- package/dist/font.js +0 -35
- package/dist/font.mjs +0 -35
- package/dist/shadow.js +0 -20
- package/dist/shadow.mjs +0 -20
- package/dist/status.js +0 -68
- package/dist/status.mjs +0 -68
- package/dist/statusBullet.js +0 -20
- package/dist/statusBullet.mjs +0 -20
- package/dist/stroke.js +0 -29
- package/dist/stroke.mjs +0 -29
- package/dist/surface.js +0 -38
- package/dist/surface.mjs +0 -38
- package/dist/typography.js +0 -121
- package/dist/typography.mjs +0 -121
- package/typography.js +0 -123
- package/typography.json +0 -121
- package/typography.mjs +0 -121
- package/typography.scss +0 -119
package/dist/stroke.scss
CHANGED
|
@@ -1,29 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
|
|
1
6
|
$stroke: (
|
|
2
|
-
light-extra-light
|
|
3
|
-
light-light
|
|
4
|
-
light-medium
|
|
5
|
-
light-dark
|
|
6
|
-
light-extra-dark
|
|
7
|
-
light-extra-light-highlight
|
|
8
|
-
light-highlight
|
|
9
|
-
light-extra-light-error
|
|
10
|
-
light-error
|
|
11
|
-
high-contrast-extra-light
|
|
12
|
-
high-contrast-light
|
|
13
|
-
high-contrast-medium
|
|
14
|
-
high-contrast-dark
|
|
15
|
-
high-contrast-extra-dark
|
|
16
|
-
high-contrast-extra-light-highlight
|
|
17
|
-
high-contrast-highlight
|
|
18
|
-
high-contrast-extra-light-error
|
|
19
|
-
high-contrast-error
|
|
20
|
-
dark-extra-light
|
|
21
|
-
dark-light
|
|
22
|
-
dark-medium
|
|
23
|
-
dark-dark
|
|
24
|
-
dark-extra-dark
|
|
25
|
-
dark-extra-light-highlight
|
|
26
|
-
dark-highlight
|
|
27
|
-
dark-extra-light-error
|
|
28
|
-
dark-error
|
|
7
|
+
'light-extra-light': #ebecef,
|
|
8
|
+
'light-light': #cbced1,
|
|
9
|
+
'light-medium': #9ea2a8,
|
|
10
|
+
'light-dark': #6c737a,
|
|
11
|
+
'light-extra-dark': #2f343d,
|
|
12
|
+
'light-extra-light-highlight': #d1ebfe,
|
|
13
|
+
'light-highlight': #156ff5,
|
|
14
|
+
'light-extra-light-error': #ffc1c9,
|
|
15
|
+
'light-error': #ec0d2a,
|
|
16
|
+
'high-contrast-extra-light': #ebecef,
|
|
17
|
+
'high-contrast-light': #cbced1,
|
|
18
|
+
'high-contrast-medium': #9ea2a8,
|
|
19
|
+
'high-contrast-dark': #6c737a,
|
|
20
|
+
'high-contrast-extra-dark': #2f343d,
|
|
21
|
+
'high-contrast-extra-light-highlight': #d1ebfe,
|
|
22
|
+
'high-contrast-highlight': #156ff5,
|
|
23
|
+
'high-contrast-extra-light-error': #ffc1c9,
|
|
24
|
+
'high-contrast-error': #ec0d2a,
|
|
25
|
+
'dark-extra-light': #333842,
|
|
26
|
+
'dark-light': #404754,
|
|
27
|
+
'dark-medium': #4b5362,
|
|
28
|
+
'dark-dark': #9ea2a8,
|
|
29
|
+
'dark-extra-dark': #cbced1,
|
|
30
|
+
'dark-extra-light-highlight': #d1ebfe,
|
|
31
|
+
'dark-highlight': #6292da,
|
|
32
|
+
'dark-extra-light-error': #f49aa6,
|
|
33
|
+
'dark-error': #bb3e4e
|
|
29
34
|
);
|
package/dist/surface.json
CHANGED
|
@@ -1,46 +1,44 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"light":
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"overlay": "rgba(0, 0, 0, 0.6)"
|
|
44
|
-
}
|
|
2
|
+
"light": {
|
|
3
|
+
"light": "#ffffff",
|
|
4
|
+
"tint": "#f7f8fa",
|
|
5
|
+
"room": "#ffffff",
|
|
6
|
+
"neutral": "#e4e7ea",
|
|
7
|
+
"disabled": "#f7f8fa",
|
|
8
|
+
"hover": "#f2f3f5",
|
|
9
|
+
"selected": "#d7dbe0",
|
|
10
|
+
"dark": "#1f2329",
|
|
11
|
+
"featured": "#5f1477",
|
|
12
|
+
"featuredHover": "#4a105d",
|
|
13
|
+
"sidebar": "#e4e7ea",
|
|
14
|
+
"overlay": "#2f343d80"
|
|
15
|
+
},
|
|
16
|
+
"high-contrast": {
|
|
17
|
+
"light": "#ffffff",
|
|
18
|
+
"tint": "#f7f8fa",
|
|
19
|
+
"room": "#ffffff",
|
|
20
|
+
"neutral": "#e4e7ea",
|
|
21
|
+
"disabled": "#f7f8fa",
|
|
22
|
+
"hover": "#f2f3f5",
|
|
23
|
+
"selected": "#d7dbe0",
|
|
24
|
+
"dark": "#1f2329",
|
|
25
|
+
"featured": "#5f1477",
|
|
26
|
+
"featuredHover": "#4a105d",
|
|
27
|
+
"sidebar": "#e4e7ea",
|
|
28
|
+
"overlay": "#2f343d80"
|
|
29
|
+
},
|
|
30
|
+
"dark": {
|
|
31
|
+
"light": "#262931",
|
|
32
|
+
"tint": "#1f2329",
|
|
33
|
+
"room": "#1f2329",
|
|
34
|
+
"neutral": "#2d3039",
|
|
35
|
+
"disabled": "#24272e",
|
|
36
|
+
"hover": "#1a1e23",
|
|
37
|
+
"selected": "#4c5362",
|
|
38
|
+
"dark": "#e4e7ea",
|
|
39
|
+
"featured": "#5f1477",
|
|
40
|
+
"featuredHover": "#4a105d",
|
|
41
|
+
"sidebar": "#2f343d",
|
|
42
|
+
"overlay": "#00000099"
|
|
45
43
|
}
|
|
46
|
-
}
|
|
44
|
+
}
|
package/dist/surface.scss
CHANGED
|
@@ -1,38 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
|
|
1
6
|
$surface: (
|
|
2
|
-
light-light
|
|
3
|
-
light-tint
|
|
4
|
-
light-room
|
|
5
|
-
light-neutral
|
|
6
|
-
light-disabled
|
|
7
|
-
light-hover
|
|
8
|
-
light-selected
|
|
9
|
-
light-dark
|
|
10
|
-
light-featured
|
|
11
|
-
light-featured-hover
|
|
12
|
-
light-sidebar
|
|
13
|
-
light-overlay:
|
|
14
|
-
high-contrast-light
|
|
15
|
-
high-contrast-tint
|
|
16
|
-
high-contrast-room
|
|
17
|
-
high-contrast-neutral
|
|
18
|
-
high-contrast-disabled
|
|
19
|
-
high-contrast-hover
|
|
20
|
-
high-contrast-selected
|
|
21
|
-
high-contrast-dark
|
|
22
|
-
high-contrast-featured
|
|
23
|
-
high-contrast-featured-hover
|
|
24
|
-
high-contrast-sidebar
|
|
25
|
-
high-contrast-overlay:
|
|
26
|
-
dark-light
|
|
27
|
-
dark-tint
|
|
28
|
-
dark-room
|
|
29
|
-
dark-neutral
|
|
30
|
-
dark-disabled
|
|
31
|
-
dark-hover
|
|
32
|
-
dark-selected
|
|
33
|
-
dark-dark
|
|
34
|
-
dark-featured
|
|
35
|
-
dark-featured-hover
|
|
36
|
-
dark-sidebar
|
|
37
|
-
dark-overlay:
|
|
7
|
+
'light-light': #ffffff,
|
|
8
|
+
'light-tint': #f7f8fa,
|
|
9
|
+
'light-room': #ffffff,
|
|
10
|
+
'light-neutral': #e4e7ea,
|
|
11
|
+
'light-disabled': #f7f8fa,
|
|
12
|
+
'light-hover': #f2f3f5,
|
|
13
|
+
'light-selected': #d7dbe0,
|
|
14
|
+
'light-dark': #1f2329,
|
|
15
|
+
'light-featured': #5f1477,
|
|
16
|
+
'light-featured-hover': #4a105d,
|
|
17
|
+
'light-sidebar': #e4e7ea,
|
|
18
|
+
'light-overlay': rgba(47, 52, 61, 0.5),
|
|
19
|
+
'high-contrast-light': #ffffff,
|
|
20
|
+
'high-contrast-tint': #f7f8fa,
|
|
21
|
+
'high-contrast-room': #ffffff,
|
|
22
|
+
'high-contrast-neutral': #e4e7ea,
|
|
23
|
+
'high-contrast-disabled': #f7f8fa,
|
|
24
|
+
'high-contrast-hover': #f2f3f5,
|
|
25
|
+
'high-contrast-selected': #d7dbe0,
|
|
26
|
+
'high-contrast-dark': #1f2329,
|
|
27
|
+
'high-contrast-featured': #5f1477,
|
|
28
|
+
'high-contrast-featured-hover': #4a105d,
|
|
29
|
+
'high-contrast-sidebar': #e4e7ea,
|
|
30
|
+
'high-contrast-overlay': rgba(47, 52, 61, 0.5),
|
|
31
|
+
'dark-light': #262931,
|
|
32
|
+
'dark-tint': #1f2329,
|
|
33
|
+
'dark-room': #1f2329,
|
|
34
|
+
'dark-neutral': #2d3039,
|
|
35
|
+
'dark-disabled': #24272e,
|
|
36
|
+
'dark-hover': #1a1e23,
|
|
37
|
+
'dark-selected': #4c5362,
|
|
38
|
+
'dark-dark': #e4e7ea,
|
|
39
|
+
'dark-featured': #5f1477,
|
|
40
|
+
'dark-featured-hover': #4a105d,
|
|
41
|
+
'dark-sidebar': #2f343d,
|
|
42
|
+
'dark-overlay': rgba(0, 0, 0, 0.6)
|
|
38
43
|
);
|
package/dist/typography.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"fontFamily": {
|
|
3
3
|
"sans": [
|
|
4
4
|
"Inter",
|
|
5
5
|
"-apple-system",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"monospace"
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
|
-
"
|
|
29
|
+
"fontScale": {
|
|
30
30
|
"hero": {
|
|
31
31
|
"fontSize": 48,
|
|
32
32
|
"fontWeight": 800,
|
|
@@ -118,4 +118,4 @@
|
|
|
118
118
|
"lineHeight": 12
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
}
|
|
121
|
+
}
|
package/dist/typography.scss
CHANGED
|
@@ -1,3 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
$typography: (
|
|
7
|
+
'font-family-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),
|
|
8
|
+
'font-family-mono': (Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace),
|
|
9
|
+
'font-scale-hero-font-size': 3rem,
|
|
10
|
+
'font-scale-hero-font-weight': 800,
|
|
11
|
+
'font-scale-hero-letter-spacing': 0,
|
|
12
|
+
'font-scale-hero-line-height': 4rem,
|
|
13
|
+
'font-scale-h1-font-size': 2rem,
|
|
14
|
+
'font-scale-h1-font-weight': 700,
|
|
15
|
+
'font-scale-h1-letter-spacing': 0,
|
|
16
|
+
'font-scale-h1-line-height': 2.5rem,
|
|
17
|
+
'font-scale-h2-font-size': 1.5rem,
|
|
18
|
+
'font-scale-h2-font-weight': 700,
|
|
19
|
+
'font-scale-h2-letter-spacing': 0,
|
|
20
|
+
'font-scale-h2-line-height': 2rem,
|
|
21
|
+
'font-scale-h3-font-size': 1.25rem,
|
|
22
|
+
'font-scale-h3-font-weight': 700,
|
|
23
|
+
'font-scale-h3-letter-spacing': 0,
|
|
24
|
+
'font-scale-h3-line-height': 1.75rem,
|
|
25
|
+
'font-scale-h4-font-size': 1rem,
|
|
26
|
+
'font-scale-h4-font-weight': 700,
|
|
27
|
+
'font-scale-h4-letter-spacing': 0,
|
|
28
|
+
'font-scale-h4-line-height': 1.5rem,
|
|
29
|
+
'font-scale-h5-font-size': 0.875rem,
|
|
30
|
+
'font-scale-h5-font-weight': 700,
|
|
31
|
+
'font-scale-h5-letter-spacing': 0,
|
|
32
|
+
'font-scale-h5-line-height': 1.25rem,
|
|
33
|
+
'font-scale-p1-font-size': 1rem,
|
|
34
|
+
'font-scale-p1-font-weight': 400,
|
|
35
|
+
'font-scale-p1-letter-spacing': 0,
|
|
36
|
+
'font-scale-p1-line-height': 1.5rem,
|
|
37
|
+
'font-scale-p1m-font-size': 1rem,
|
|
38
|
+
'font-scale-p1m-font-weight': 500,
|
|
39
|
+
'font-scale-p1m-letter-spacing': 0,
|
|
40
|
+
'font-scale-p1m-line-height': 1.5rem,
|
|
41
|
+
'font-scale-p1b-font-size': 1rem,
|
|
42
|
+
'font-scale-p1b-font-weight': 700,
|
|
43
|
+
'font-scale-p1b-letter-spacing': 0,
|
|
44
|
+
'font-scale-p1b-line-height': 1.5rem,
|
|
45
|
+
'font-scale-p2-font-size': 0.875rem,
|
|
46
|
+
'font-scale-p2-font-weight': 400,
|
|
47
|
+
'font-scale-p2-letter-spacing': 0,
|
|
48
|
+
'font-scale-p2-line-height': 1.25rem,
|
|
49
|
+
'font-scale-p2m-font-size': 0.875rem,
|
|
50
|
+
'font-scale-p2m-font-weight': 500,
|
|
51
|
+
'font-scale-p2m-letter-spacing': 0,
|
|
52
|
+
'font-scale-p2m-line-height': 1.25rem,
|
|
53
|
+
'font-scale-p2b-font-size': 0.875rem,
|
|
54
|
+
'font-scale-p2b-font-weight': 700,
|
|
55
|
+
'font-scale-p2b-letter-spacing': 0,
|
|
56
|
+
'font-scale-p2b-line-height': 1.25rem,
|
|
57
|
+
'font-scale-c1-font-size': 0.75rem,
|
|
58
|
+
'font-scale-c1-font-weight': 400,
|
|
59
|
+
'font-scale-c1-letter-spacing': 0,
|
|
60
|
+
'font-scale-c1-line-height': 1rem,
|
|
61
|
+
'font-scale-c2-font-size': 0.75rem,
|
|
62
|
+
'font-scale-c2-font-weight': 700,
|
|
63
|
+
'font-scale-c2-letter-spacing': 0,
|
|
64
|
+
'font-scale-c2-line-height': 1rem,
|
|
65
|
+
'font-scale-micro-font-size': 0.625rem,
|
|
66
|
+
'font-scale-micro-font-weight': 700,
|
|
67
|
+
'font-scale-micro-letter-spacing': 0,
|
|
68
|
+
'font-scale-micro-line-height': 0.75rem
|
|
69
|
+
);
|
package/package.json
CHANGED
|
@@ -1,62 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocket.chat/fuselage-tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "Design tokens for Fuselage, Rocket.Chat's design system",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"design",
|
|
7
|
+
"tokens",
|
|
8
|
+
"fuselage",
|
|
9
|
+
"rocket.chat"
|
|
10
|
+
],
|
|
5
11
|
"homepage": "https://rocketchat.github.io/Rocket.Chat.Fuselage/",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"url": "https://rocket.chat/"
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/RocketChat/fuselage/issues"
|
|
9
14
|
},
|
|
10
|
-
"license": "MIT",
|
|
11
15
|
"repository": {
|
|
12
16
|
"type": "git",
|
|
13
17
|
"url": "git+https://github.com/RocketChat/fuselage.git",
|
|
14
18
|
"directory": "packages/fuselage-tokens"
|
|
15
19
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"author": {
|
|
22
|
+
"name": "Rocket.Chat",
|
|
23
|
+
"url": "https://rocket.chat/"
|
|
18
24
|
},
|
|
19
|
-
"
|
|
20
|
-
"design",
|
|
21
|
-
"tokens",
|
|
22
|
-
"fuselage",
|
|
23
|
-
"rocket.chat"
|
|
24
|
-
],
|
|
25
|
+
"type": "module",
|
|
25
26
|
"files": [
|
|
26
|
-
"dist"
|
|
27
|
-
"/breakpoints.*",
|
|
28
|
-
"/colors.*",
|
|
29
|
-
"/typography.*"
|
|
27
|
+
"dist"
|
|
30
28
|
],
|
|
31
|
-
"publishConfig": {
|
|
32
|
-
"access": "public"
|
|
33
|
-
},
|
|
34
29
|
"scripts": {
|
|
35
|
-
"build": "
|
|
36
|
-
".:build": "node ./build --config ./config.js",
|
|
37
|
-
".:build:legacy": "build-design-tokens",
|
|
38
|
-
".:build:clean": "rimraf dist",
|
|
39
|
-
"bump-next": "bump-next"
|
|
30
|
+
"build": "rimraf dist && node ./build --config ./config.js"
|
|
40
31
|
},
|
|
41
32
|
"devDependencies": {
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"build-design-tokens": "^0.31.25",
|
|
45
|
-
"bump": "^0.31.25",
|
|
46
|
-
"eslint": "~8.38.0",
|
|
47
|
-
"eslint-config-prettier": "~8.8.0",
|
|
48
|
-
"eslint-plugin-import": "~2.26.0",
|
|
49
|
-
"eslint-plugin-prettier": "~4.2.1",
|
|
33
|
+
"eslint": "~10.8.0",
|
|
34
|
+
"eslint-config-prettier": "~10.1.8",
|
|
50
35
|
"lint-all": "^0.31.25",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"stylelint": "~
|
|
58
|
-
"stylelint-
|
|
59
|
-
"stylelint-
|
|
60
|
-
|
|
36
|
+
"postcss": "~8.5.23",
|
|
37
|
+
"postcss-scss": "~4.0.9",
|
|
38
|
+
"prettier": "~3.6.2",
|
|
39
|
+
"rimraf": "~6.1.3",
|
|
40
|
+
"style-dictionary": "~5.5.0",
|
|
41
|
+
"stylelint": "~17.14.1",
|
|
42
|
+
"stylelint-order": "~8.1.1",
|
|
43
|
+
"stylelint-prettier": "~5.0.3",
|
|
44
|
+
"stylelint-scss": "~7.2.0"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public"
|
|
61
48
|
}
|
|
62
49
|
}
|