@rocket.chat/fuselage-tokens 0.34.0 → 0.35.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.d.json.ts +24 -0
- package/dist/border.d.json.ts +19 -0
- package/dist/border.json +2 -1
- package/dist/border.scss +2 -1
- package/dist/breakpoints.d.json.ts +38 -0
- package/dist/button.d.json.ts +129 -0
- package/dist/colors.d.json.ts +73 -0
- package/dist/font.d.json.ts +42 -0
- package/dist/shadow.d.json.ts +27 -0
- package/dist/status.d.json.ts +57 -0
- package/dist/statusBullet.d.json.ts +27 -0
- package/dist/stroke.d.json.ts +36 -0
- package/dist/surface.d.json.ts +45 -0
- package/dist/typography.d.json.ts +122 -0
- package/package.json +2 -8
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export default badge;
|
|
2
|
+
declare const badge: {
|
|
3
|
+
"light": {
|
|
4
|
+
"level-0": "#e4e7ea",
|
|
5
|
+
"level-1": "#6c737a",
|
|
6
|
+
"level-2": "#156ff5",
|
|
7
|
+
"level-3": "#f38c39",
|
|
8
|
+
"level-4": "#ec0d2a"
|
|
9
|
+
},
|
|
10
|
+
"high-contrast": {
|
|
11
|
+
"level-0": "#e4e7ea",
|
|
12
|
+
"level-1": "#2f343d",
|
|
13
|
+
"level-2": "#10529e",
|
|
14
|
+
"level-3": "#713607",
|
|
15
|
+
"level-4": "#9b1325"
|
|
16
|
+
},
|
|
17
|
+
"dark": {
|
|
18
|
+
"level-0": "#404754",
|
|
19
|
+
"level-1": "#6c737a",
|
|
20
|
+
"level-2": "#2c65ba",
|
|
21
|
+
"level-3": "#955828",
|
|
22
|
+
"level-4": "#b43c4c"
|
|
23
|
+
}
|
|
24
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default border;
|
|
2
|
+
declare const border: {
|
|
3
|
+
"radius": {
|
|
4
|
+
"none": 0,
|
|
5
|
+
"default": 1,
|
|
6
|
+
"small": 2,
|
|
7
|
+
"medium": 4,
|
|
8
|
+
"large": 8,
|
|
9
|
+
"extra-large": 20,
|
|
10
|
+
"full": 9999
|
|
11
|
+
},
|
|
12
|
+
"width": {
|
|
13
|
+
"none": 0,
|
|
14
|
+
"default": 1,
|
|
15
|
+
"medium": 2,
|
|
16
|
+
"large": 4,
|
|
17
|
+
"extra-large": 8
|
|
18
|
+
}
|
|
19
|
+
};
|
package/dist/border.json
CHANGED
package/dist/border.scss
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export default breakpoints;
|
|
2
|
+
declare const breakpoints: {
|
|
3
|
+
"xs": {
|
|
4
|
+
"minViewportWidth": null,
|
|
5
|
+
"columns": 4,
|
|
6
|
+
"gutterWidth": 16
|
|
7
|
+
},
|
|
8
|
+
"sm": {
|
|
9
|
+
"minViewportWidth": 600,
|
|
10
|
+
"columns": 8,
|
|
11
|
+
"gutterWidth": 16
|
|
12
|
+
},
|
|
13
|
+
"md": {
|
|
14
|
+
"minViewportWidth": 768,
|
|
15
|
+
"columns": 8,
|
|
16
|
+
"gutterWidth": 24
|
|
17
|
+
},
|
|
18
|
+
"lg": {
|
|
19
|
+
"minViewportWidth": 1024,
|
|
20
|
+
"columns": 12,
|
|
21
|
+
"gutterWidth": 24
|
|
22
|
+
},
|
|
23
|
+
"xl": {
|
|
24
|
+
"minViewportWidth": 1280,
|
|
25
|
+
"columns": 12,
|
|
26
|
+
"gutterWidth": 24
|
|
27
|
+
},
|
|
28
|
+
"xxl": {
|
|
29
|
+
"minViewportWidth": 1600,
|
|
30
|
+
"columns": 12,
|
|
31
|
+
"gutterWidth": 24
|
|
32
|
+
},
|
|
33
|
+
"xxxl": {
|
|
34
|
+
"minViewportWidth": 1920,
|
|
35
|
+
"columns": 12,
|
|
36
|
+
"gutterWidth": 24
|
|
37
|
+
}
|
|
38
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
export default button;
|
|
2
|
+
declare const button: {
|
|
3
|
+
"light": {
|
|
4
|
+
"backgroundPrimaryDefault": "#156ff5",
|
|
5
|
+
"backgroundPrimaryHover": "#095ad2",
|
|
6
|
+
"backgroundPrimaryPress": "#10529e",
|
|
7
|
+
"backgroundPrimaryFocus": "#156ff5",
|
|
8
|
+
"backgroundPrimaryKeyfocus": "#156ff5",
|
|
9
|
+
"backgroundPrimaryDisabled": "#d1ebfe",
|
|
10
|
+
"fontOnPrimary": "#ffffff",
|
|
11
|
+
"fontOnPrimaryDisabled": "#ffffff",
|
|
12
|
+
"backgroundSecondaryDefault": "#e4e7ea",
|
|
13
|
+
"backgroundSecondaryHover": "#cbced1",
|
|
14
|
+
"backgroundSecondaryPress": "#9ea2a8",
|
|
15
|
+
"backgroundSecondaryFocus": "#e4e7ea",
|
|
16
|
+
"backgroundSecondaryKeyfocus": "#e4e7ea",
|
|
17
|
+
"backgroundSecondaryDisabled": "#ebecef",
|
|
18
|
+
"fontOnSecondary": "#1f2329",
|
|
19
|
+
"fontOnSecondaryDisabled": "#cbced1",
|
|
20
|
+
"backgroundSecondaryDangerDefault": "#e4e7ea",
|
|
21
|
+
"backgroundSecondaryDangerHover": "#cbced1",
|
|
22
|
+
"backgroundSecondaryDangerPress": "#9ea2a8",
|
|
23
|
+
"backgroundSecondaryDangerFocus": "#e4e7ea",
|
|
24
|
+
"backgroundSecondaryDangerKeyfocus": "#e4e7ea",
|
|
25
|
+
"backgroundSecondaryDangerDisabled": "#ebecef",
|
|
26
|
+
"fontOnSecondaryDanger": "#bb0b21",
|
|
27
|
+
"onSecondaryDangerDisabled": "#f98f9d",
|
|
28
|
+
"backgroundDangerDefault": "#ec0d2a",
|
|
29
|
+
"backgroundDangerHover": "#d40c26",
|
|
30
|
+
"backgroundDangerPress": "#bb0b21",
|
|
31
|
+
"backgroundDangerFocus": "#ec0d2a",
|
|
32
|
+
"backgroundDangerKeyfocus": "#ec0d2a",
|
|
33
|
+
"backgroundDangerDisabled": "#ffc1c9",
|
|
34
|
+
"fontOnDanger": "#ffffff",
|
|
35
|
+
"fontOnDangerDisabled": "#ffffff",
|
|
36
|
+
"backgroundSuccessDefault": "#148660",
|
|
37
|
+
"backgroundSuccessHover": "#106d4f",
|
|
38
|
+
"backgroundSuccessPress": "#0d5940",
|
|
39
|
+
"backgroundSuccessFocus": "#148660",
|
|
40
|
+
"backgroundSuccessKeyfocus": "#148660",
|
|
41
|
+
"backgroundSuccessDisabled": "#c0f6e4",
|
|
42
|
+
"fontOnSuccess": "#ffffff",
|
|
43
|
+
"fontOnSuccessDisabled": "#ffffff"
|
|
44
|
+
},
|
|
45
|
+
"high-contrast": {
|
|
46
|
+
"backgroundPrimaryDefault": "#10529e",
|
|
47
|
+
"backgroundPrimaryHover": "#01336b",
|
|
48
|
+
"backgroundPrimaryPress": "#012247",
|
|
49
|
+
"backgroundPrimaryFocus": "#10529e",
|
|
50
|
+
"backgroundPrimaryKeyfocus": "#10529e",
|
|
51
|
+
"backgroundPrimaryDisabled": "#d1ebfe",
|
|
52
|
+
"fontOnPrimary": "#ffffff",
|
|
53
|
+
"fontOnPrimaryDisabled": "#ffffff",
|
|
54
|
+
"backgroundSecondaryDefault": "#e4e7ea",
|
|
55
|
+
"backgroundSecondaryHover": "#cbced1",
|
|
56
|
+
"backgroundSecondaryPress": "#9ea2a8",
|
|
57
|
+
"backgroundSecondaryFocus": "#e4e7ea",
|
|
58
|
+
"backgroundSecondaryKeyfocus": "#e4e7ea",
|
|
59
|
+
"backgroundSecondaryDisabled": "#ebecef",
|
|
60
|
+
"fontOnSecondary": "#1f2329",
|
|
61
|
+
"fontOnSecondaryDisabled": "#cbced1",
|
|
62
|
+
"backgroundSecondaryDangerDefault": "#e4e7ea",
|
|
63
|
+
"backgroundSecondaryDangerHover": "#cbced1",
|
|
64
|
+
"backgroundSecondaryDangerPress": "#9ea2a8",
|
|
65
|
+
"backgroundSecondaryDangerFocus": "#e4e7ea",
|
|
66
|
+
"backgroundSecondaryDangerKeyfocus": "#e4e7ea",
|
|
67
|
+
"backgroundSecondaryDangerDisabled": "#ebecef",
|
|
68
|
+
"fontOnSecondaryDanger": "#8b0719",
|
|
69
|
+
"onSecondaryDangerDisabled": "#f98f9d",
|
|
70
|
+
"backgroundDangerDefault": "#9b1325",
|
|
71
|
+
"backgroundDangerHover": "#8b0719",
|
|
72
|
+
"backgroundDangerPress": "#8b0719",
|
|
73
|
+
"backgroundDangerFocus": "#9b1325",
|
|
74
|
+
"backgroundDangerKeyfocus": "#9b1325",
|
|
75
|
+
"backgroundDangerDisabled": "#ffc1c9",
|
|
76
|
+
"fontOnDanger": "#ffffff",
|
|
77
|
+
"fontOnDangerDisabled": "#ffffff",
|
|
78
|
+
"backgroundSuccessDefault": "#2de0a5",
|
|
79
|
+
"backgroundSuccessHover": "#1ecb92",
|
|
80
|
+
"backgroundSuccessPress": "#19ac7c",
|
|
81
|
+
"backgroundSuccessFocus": "#2de0a5",
|
|
82
|
+
"backgroundSuccessKeyfocus": "#2de0a5",
|
|
83
|
+
"backgroundSuccessDisabled": "#c0f6e4",
|
|
84
|
+
"fontOnSuccess": "#1f2329",
|
|
85
|
+
"fontOnSuccessDisabled": "#ffffff"
|
|
86
|
+
},
|
|
87
|
+
"dark": {
|
|
88
|
+
"backgroundPrimaryDefault": "#095ad2",
|
|
89
|
+
"backgroundPrimaryHover": "#10529e",
|
|
90
|
+
"backgroundPrimaryPress": "#01336b",
|
|
91
|
+
"backgroundPrimaryFocus": "#095ad2",
|
|
92
|
+
"backgroundPrimaryKeyfocus": "#095ad2",
|
|
93
|
+
"backgroundPrimaryDisabled": "#012247",
|
|
94
|
+
"fontOnPrimary": "#ffffff",
|
|
95
|
+
"fontOnPrimaryDisabled": "#6c727a",
|
|
96
|
+
"backgroundSecondaryDefault": "#353b45",
|
|
97
|
+
"backgroundSecondaryHover": "#404754",
|
|
98
|
+
"backgroundSecondaryPress": "#4c5362",
|
|
99
|
+
"backgroundSecondaryFocus": "#353b45",
|
|
100
|
+
"backgroundSecondaryKeyfocus": "#353b45",
|
|
101
|
+
"backgroundSecondaryDisabled": "#353b45",
|
|
102
|
+
"fontOnSecondary": "#e4e7ea",
|
|
103
|
+
"fontOnSecondaryDisabled": "#6c727a",
|
|
104
|
+
"backgroundSecondaryDangerDefault": "#353b45",
|
|
105
|
+
"backgroundSecondaryDangerHover": "#404754",
|
|
106
|
+
"backgroundSecondaryDangerPress": "#4c5362",
|
|
107
|
+
"backgroundSecondaryDangerFocus": "#353b45",
|
|
108
|
+
"backgroundSecondaryDangerKeyfocus": "#353b45",
|
|
109
|
+
"backgroundSecondaryDangerDisabled": "#353b45",
|
|
110
|
+
"fontOnSecondaryDanger": "#ffc1c9",
|
|
111
|
+
"onSecondaryDangerDisabled": "#6b0513",
|
|
112
|
+
"backgroundDangerDefault": "#bb3e4e",
|
|
113
|
+
"backgroundDangerHover": "#95323f",
|
|
114
|
+
"backgroundDangerPress": "#822c37",
|
|
115
|
+
"backgroundDangerFocus": "#bb3e4e",
|
|
116
|
+
"backgroundDangerKeyfocus": "#bb3e4e",
|
|
117
|
+
"backgroundDangerDisabled": "#3d2126",
|
|
118
|
+
"fontOnDanger": "#ffffff",
|
|
119
|
+
"fontOnDangerDisabled": "#757575",
|
|
120
|
+
"backgroundSuccessDefault": "#1d7256",
|
|
121
|
+
"backgroundSuccessHover": "#175943",
|
|
122
|
+
"backgroundSuccessPress": "#134937",
|
|
123
|
+
"backgroundSuccessFocus": "#1d7256",
|
|
124
|
+
"backgroundSuccessKeyfocus": "#1d7256",
|
|
125
|
+
"backgroundSuccessDisabled": "#1e4b40",
|
|
126
|
+
"fontOnSuccess": "#ffffff",
|
|
127
|
+
"fontOnSuccessDisabled": "#757575"
|
|
128
|
+
}
|
|
129
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export default colors;
|
|
2
|
+
declare const colors: {
|
|
3
|
+
"white": "#ffffff",
|
|
4
|
+
"n100": "#f7f8fa",
|
|
5
|
+
"n200": "#f2f3f5",
|
|
6
|
+
"n250": "#ebecef",
|
|
7
|
+
"n300": "#ebecef",
|
|
8
|
+
"n400": "#e4e7ea",
|
|
9
|
+
"n450": "#d7dbe0",
|
|
10
|
+
"n500": "#cbced1",
|
|
11
|
+
"n600": "#9ea2a8",
|
|
12
|
+
"n700": "#6c737a",
|
|
13
|
+
"n800": "#2f343d",
|
|
14
|
+
"n900": "#1f2329",
|
|
15
|
+
"r100": "#ffe9ec",
|
|
16
|
+
"r200": "#ffc1c9",
|
|
17
|
+
"r300": "#f98f9d",
|
|
18
|
+
"r400": "#f5455c",
|
|
19
|
+
"r500": "#ec0d2a",
|
|
20
|
+
"r600": "#d40c26",
|
|
21
|
+
"r700": "#bb0b21",
|
|
22
|
+
"r800": "#9b1325",
|
|
23
|
+
"r900": "#8b0719",
|
|
24
|
+
"r1000": "#6b0513",
|
|
25
|
+
"o100": "#fde8d7",
|
|
26
|
+
"o200": "#fad1b0",
|
|
27
|
+
"o300": "#f7b27b",
|
|
28
|
+
"o400": "#f59b53",
|
|
29
|
+
"o500": "#f38c39",
|
|
30
|
+
"o600": "#e26d0e",
|
|
31
|
+
"o700": "#bd5a0b",
|
|
32
|
+
"o800": "#974809",
|
|
33
|
+
"o900": "#713607",
|
|
34
|
+
"o1000": "#5b2c06",
|
|
35
|
+
"p100": "#f9effc",
|
|
36
|
+
"p200": "#edd0f7",
|
|
37
|
+
"p300": "#dca0ef",
|
|
38
|
+
"p400": "#ca71e7",
|
|
39
|
+
"p500": "#9f22c7",
|
|
40
|
+
"p600": "#7f1b9f",
|
|
41
|
+
"p700": "#5f1477",
|
|
42
|
+
"p800": "#4a105d",
|
|
43
|
+
"p900": "#350b42",
|
|
44
|
+
"y100": "#fff8e0",
|
|
45
|
+
"y200": "#ffecad",
|
|
46
|
+
"y300": "#ffe383",
|
|
47
|
+
"y400": "#ffd95a",
|
|
48
|
+
"y500": "#ffd031",
|
|
49
|
+
"y600": "#f3be08",
|
|
50
|
+
"y700": "#dfac00",
|
|
51
|
+
"y800": "#ac892f",
|
|
52
|
+
"y900": "#8e6300",
|
|
53
|
+
"y1000": "#573d00",
|
|
54
|
+
"g100": "#e5fbf4",
|
|
55
|
+
"g200": "#c0f6e4",
|
|
56
|
+
"g300": "#96f0d2",
|
|
57
|
+
"g400": "#6ce9c0",
|
|
58
|
+
"g500": "#2de0a5",
|
|
59
|
+
"g600": "#1ecb92",
|
|
60
|
+
"g700": "#19ac7c",
|
|
61
|
+
"g800": "#148660",
|
|
62
|
+
"g900": "#106d4f",
|
|
63
|
+
"g1000": "#0d5940",
|
|
64
|
+
"b100": "#e8f2ff",
|
|
65
|
+
"b200": "#d1ebfe",
|
|
66
|
+
"b300": "#76b7fc",
|
|
67
|
+
"b400": "#549df9",
|
|
68
|
+
"b500": "#156ff5",
|
|
69
|
+
"b600": "#095ad2",
|
|
70
|
+
"b700": "#10529e",
|
|
71
|
+
"b800": "#01336b",
|
|
72
|
+
"b900": "#012247"
|
|
73
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export default font;
|
|
2
|
+
declare const font: {
|
|
3
|
+
"light": {
|
|
4
|
+
"white": "#ffffff",
|
|
5
|
+
"disabled": "#cbced1",
|
|
6
|
+
"annotation": "#9ea2a8",
|
|
7
|
+
"hint": "#6c737a",
|
|
8
|
+
"secondaryInfo": "#6c737a",
|
|
9
|
+
"default": "#2f343d",
|
|
10
|
+
"titlesLabels": "#1f2329",
|
|
11
|
+
"info": "#095ad2",
|
|
12
|
+
"danger": "#d40c26",
|
|
13
|
+
"pureWhite": "#ffffff",
|
|
14
|
+
"pureBlack": "#2f343d"
|
|
15
|
+
},
|
|
16
|
+
"high-contrast": {
|
|
17
|
+
"white": "#ffffff",
|
|
18
|
+
"disabled": "#cbced1",
|
|
19
|
+
"annotation": "#1f2329",
|
|
20
|
+
"hint": "#1f2329",
|
|
21
|
+
"secondaryInfo": "#1f2329",
|
|
22
|
+
"default": "#1f2329",
|
|
23
|
+
"titlesLabels": "#1f2329",
|
|
24
|
+
"info": "#01336b",
|
|
25
|
+
"danger": "#9b1325",
|
|
26
|
+
"pureWhite": "#ffffff",
|
|
27
|
+
"pureBlack": "#1f2329"
|
|
28
|
+
},
|
|
29
|
+
"dark": {
|
|
30
|
+
"white": "#2f343d",
|
|
31
|
+
"disabled": "#60646c",
|
|
32
|
+
"annotation": "#9ea2a8",
|
|
33
|
+
"hint": "#9ea2a8",
|
|
34
|
+
"secondaryInfo": "#9ea2a8",
|
|
35
|
+
"default": "#c1c7d0",
|
|
36
|
+
"titlesLabels": "#f2f3f5",
|
|
37
|
+
"info": "#739ede",
|
|
38
|
+
"danger": "#d88892",
|
|
39
|
+
"pureWhite": "#ffffff",
|
|
40
|
+
"pureBlack": "#1f2329"
|
|
41
|
+
}
|
|
42
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export default shadow;
|
|
2
|
+
declare const shadow: {
|
|
3
|
+
"light": {
|
|
4
|
+
"highlight": "#d1ebfe",
|
|
5
|
+
"danger": "#ffe9ec",
|
|
6
|
+
"elevation-border": "#ebecef",
|
|
7
|
+
"elevation-1": "#2f343d1a",
|
|
8
|
+
"elevation-2x": "#2f343d14",
|
|
9
|
+
"elevation-2y": "#2f343d1f"
|
|
10
|
+
},
|
|
11
|
+
"high-contrast": {
|
|
12
|
+
"highlight": "#d1ebfe",
|
|
13
|
+
"danger": "#ffe9ec",
|
|
14
|
+
"elevation-border": "#ebecef",
|
|
15
|
+
"elevation-1": "#2f343d1a",
|
|
16
|
+
"elevation-2x": "#2f343d14",
|
|
17
|
+
"elevation-2y": "#2f343d1f"
|
|
18
|
+
},
|
|
19
|
+
"dark": {
|
|
20
|
+
"highlight": "#d1ebfe",
|
|
21
|
+
"danger": "#ffe9ec",
|
|
22
|
+
"elevation-border": "#2f343d",
|
|
23
|
+
"elevation-1": "#09090959",
|
|
24
|
+
"elevation-2x": "#0909094d",
|
|
25
|
+
"elevation-2y": "#09090973"
|
|
26
|
+
}
|
|
27
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export default status;
|
|
2
|
+
declare const status: {
|
|
3
|
+
"light": {
|
|
4
|
+
"info": "#d1ebfe",
|
|
5
|
+
"font-on-info": "#095ad2",
|
|
6
|
+
"success": "#c0f6e4",
|
|
7
|
+
"font-on-success": "#148660",
|
|
8
|
+
"danger": "#ffc1c9",
|
|
9
|
+
"font-on-danger": "#9b1325",
|
|
10
|
+
"warning": "#ffecad",
|
|
11
|
+
"font-on-warning": "#8e6300",
|
|
12
|
+
"warning-2": "#fff8e0",
|
|
13
|
+
"font-on-warning-2": "#2f343d",
|
|
14
|
+
"service-1": "#fad1b0",
|
|
15
|
+
"font-on-service-1": "#974809",
|
|
16
|
+
"service-2": "#edd0f7",
|
|
17
|
+
"font-on-service-2": "#7f1b9f",
|
|
18
|
+
"service-3": "#5f1477",
|
|
19
|
+
"font-on-service-3": "#ffffff"
|
|
20
|
+
},
|
|
21
|
+
"high-contrast": {
|
|
22
|
+
"info": "#d1ebfe",
|
|
23
|
+
"font-on-info": "#10529e",
|
|
24
|
+
"success": "#c0f6e4",
|
|
25
|
+
"font-on-success": "#0d5940",
|
|
26
|
+
"danger": "#ffc1c9",
|
|
27
|
+
"font-on-danger": "#6b0513",
|
|
28
|
+
"warning": "#ffecad",
|
|
29
|
+
"font-on-warning": "#573d00",
|
|
30
|
+
"warning-2": "#fff8e0",
|
|
31
|
+
"font-on-warning-2": "#2f343d",
|
|
32
|
+
"service-1": "#fad1b0",
|
|
33
|
+
"font-on-service-1": "#5b2c06",
|
|
34
|
+
"service-2": "#edd0f7",
|
|
35
|
+
"font-on-service-2": "#7f1b9f",
|
|
36
|
+
"service-3": "#5f1477",
|
|
37
|
+
"font-on-service-3": "#ffffff"
|
|
38
|
+
},
|
|
39
|
+
"dark": {
|
|
40
|
+
"info": "#a8c3eb",
|
|
41
|
+
"font-on-info": "#739ede",
|
|
42
|
+
"success": "#c1ebdd",
|
|
43
|
+
"font-on-success": "#58ad90",
|
|
44
|
+
"danger": "#f7cfd4",
|
|
45
|
+
"font-on-danger": "#d88892",
|
|
46
|
+
"warning": "#feefbe",
|
|
47
|
+
"font-on-warning": "#c7aa66",
|
|
48
|
+
"warning-2": "#3c3625",
|
|
49
|
+
"font-on-warning-2": "#ffffff",
|
|
50
|
+
"service-1": "#fce3cf",
|
|
51
|
+
"font-on-service-1": "#ca9163",
|
|
52
|
+
"service-2": "#edd0f7",
|
|
53
|
+
"font-on-service-2": "#c393d2",
|
|
54
|
+
"service-3": "#5f1477",
|
|
55
|
+
"font-on-service-3": "#ffffff"
|
|
56
|
+
}
|
|
57
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export default statusBullet;
|
|
2
|
+
declare const statusBullet: {
|
|
3
|
+
"light": {
|
|
4
|
+
"online": "#148660",
|
|
5
|
+
"away": "#ac892f",
|
|
6
|
+
"busy": "#d40c26",
|
|
7
|
+
"disabled": "#f38c39",
|
|
8
|
+
"offline": "#6c737a",
|
|
9
|
+
"loading": "#6c737a"
|
|
10
|
+
},
|
|
11
|
+
"high-contrast": {
|
|
12
|
+
"online": "#0d5940",
|
|
13
|
+
"away": "#ac892f",
|
|
14
|
+
"busy": "#6b0513",
|
|
15
|
+
"disabled": "#bd5a0b",
|
|
16
|
+
"offline": "#1f2329",
|
|
17
|
+
"loading": "#1f2329"
|
|
18
|
+
},
|
|
19
|
+
"dark": {
|
|
20
|
+
"online": "#1cbf89",
|
|
21
|
+
"away": "#b08c30",
|
|
22
|
+
"busy": "#c75765",
|
|
23
|
+
"disabled": "#cc7f42",
|
|
24
|
+
"offline": "#8b9098",
|
|
25
|
+
"loading": "#8b9098"
|
|
26
|
+
}
|
|
27
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export default stroke;
|
|
2
|
+
declare const stroke: {
|
|
3
|
+
"light": {
|
|
4
|
+
"extraLight": "#ebecef",
|
|
5
|
+
"light": "#cbced1",
|
|
6
|
+
"medium": "#9ea2a8",
|
|
7
|
+
"dark": "#6c737a",
|
|
8
|
+
"extraDark": "#2f343d",
|
|
9
|
+
"extraLightHighlight": "#d1ebfe",
|
|
10
|
+
"highlight": "#156ff5",
|
|
11
|
+
"extraLightError": "#ffc1c9",
|
|
12
|
+
"error": "#ec0d2a"
|
|
13
|
+
},
|
|
14
|
+
"high-contrast": {
|
|
15
|
+
"extraLight": "#ebecef",
|
|
16
|
+
"light": "#cbced1",
|
|
17
|
+
"medium": "#9ea2a8",
|
|
18
|
+
"dark": "#6c737a",
|
|
19
|
+
"extraDark": "#2f343d",
|
|
20
|
+
"extraLightHighlight": "#d1ebfe",
|
|
21
|
+
"highlight": "#156ff5",
|
|
22
|
+
"extraLightError": "#ffc1c9",
|
|
23
|
+
"error": "#ec0d2a"
|
|
24
|
+
},
|
|
25
|
+
"dark": {
|
|
26
|
+
"extraLight": "#333842",
|
|
27
|
+
"light": "#404754",
|
|
28
|
+
"medium": "#4b5362",
|
|
29
|
+
"dark": "#9ea2a8",
|
|
30
|
+
"extraDark": "#cbced1",
|
|
31
|
+
"extraLightHighlight": "#d1ebfe",
|
|
32
|
+
"highlight": "#6292da",
|
|
33
|
+
"extraLightError": "#f49aa6",
|
|
34
|
+
"error": "#bb3e4e"
|
|
35
|
+
}
|
|
36
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export default surface;
|
|
2
|
+
declare const surface: {
|
|
3
|
+
"light": {
|
|
4
|
+
"light": "#ffffff",
|
|
5
|
+
"tint": "#f7f8fa",
|
|
6
|
+
"room": "#ffffff",
|
|
7
|
+
"neutral": "#e4e7ea",
|
|
8
|
+
"disabled": "#f7f8fa",
|
|
9
|
+
"hover": "#f2f3f5",
|
|
10
|
+
"selected": "#d7dbe0",
|
|
11
|
+
"dark": "#1f2329",
|
|
12
|
+
"featured": "#5f1477",
|
|
13
|
+
"featuredHover": "#4a105d",
|
|
14
|
+
"sidebar": "#e4e7ea",
|
|
15
|
+
"overlay": "#2f343d80"
|
|
16
|
+
},
|
|
17
|
+
"high-contrast": {
|
|
18
|
+
"light": "#ffffff",
|
|
19
|
+
"tint": "#f7f8fa",
|
|
20
|
+
"room": "#ffffff",
|
|
21
|
+
"neutral": "#e4e7ea",
|
|
22
|
+
"disabled": "#f7f8fa",
|
|
23
|
+
"hover": "#f2f3f5",
|
|
24
|
+
"selected": "#d7dbe0",
|
|
25
|
+
"dark": "#1f2329",
|
|
26
|
+
"featured": "#5f1477",
|
|
27
|
+
"featuredHover": "#4a105d",
|
|
28
|
+
"sidebar": "#e4e7ea",
|
|
29
|
+
"overlay": "#2f343d80"
|
|
30
|
+
},
|
|
31
|
+
"dark": {
|
|
32
|
+
"light": "#262931",
|
|
33
|
+
"tint": "#1f2329",
|
|
34
|
+
"room": "#1f2329",
|
|
35
|
+
"neutral": "#2d3039",
|
|
36
|
+
"disabled": "#24272e",
|
|
37
|
+
"hover": "#1a1e23",
|
|
38
|
+
"selected": "#4c5362",
|
|
39
|
+
"dark": "#e4e7ea",
|
|
40
|
+
"featured": "#5f1477",
|
|
41
|
+
"featuredHover": "#4a105d",
|
|
42
|
+
"sidebar": "#2f343d",
|
|
43
|
+
"overlay": "#00000099"
|
|
44
|
+
}
|
|
45
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
export default typography;
|
|
2
|
+
declare const typography: {
|
|
3
|
+
"fontFamily": {
|
|
4
|
+
"sans": [
|
|
5
|
+
"Inter",
|
|
6
|
+
"-apple-system",
|
|
7
|
+
"BlinkMacSystemFont",
|
|
8
|
+
"Segoe UI",
|
|
9
|
+
"Roboto",
|
|
10
|
+
"Oxygen",
|
|
11
|
+
"Ubuntu",
|
|
12
|
+
"Cantarell",
|
|
13
|
+
"Helvetica Neue",
|
|
14
|
+
"Apple Color Emoji",
|
|
15
|
+
"Segoe UI Emoji",
|
|
16
|
+
"Segoe UI Symbol",
|
|
17
|
+
"Meiryo UI",
|
|
18
|
+
"Arial",
|
|
19
|
+
"sans-serif"
|
|
20
|
+
],
|
|
21
|
+
"mono": [
|
|
22
|
+
"Menlo",
|
|
23
|
+
"Monaco",
|
|
24
|
+
"Consolas",
|
|
25
|
+
"Liberation Mono",
|
|
26
|
+
"Courier New",
|
|
27
|
+
"monospace"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"fontScale": {
|
|
31
|
+
"hero": {
|
|
32
|
+
"fontSize": 48,
|
|
33
|
+
"fontWeight": 800,
|
|
34
|
+
"letterSpacing": 0,
|
|
35
|
+
"lineHeight": 64
|
|
36
|
+
},
|
|
37
|
+
"h1": {
|
|
38
|
+
"fontSize": 32,
|
|
39
|
+
"fontWeight": 700,
|
|
40
|
+
"letterSpacing": 0,
|
|
41
|
+
"lineHeight": 40
|
|
42
|
+
},
|
|
43
|
+
"h2": {
|
|
44
|
+
"fontSize": 24,
|
|
45
|
+
"fontWeight": 700,
|
|
46
|
+
"letterSpacing": 0,
|
|
47
|
+
"lineHeight": 32
|
|
48
|
+
},
|
|
49
|
+
"h3": {
|
|
50
|
+
"fontSize": 20,
|
|
51
|
+
"fontWeight": 700,
|
|
52
|
+
"letterSpacing": 0,
|
|
53
|
+
"lineHeight": 28
|
|
54
|
+
},
|
|
55
|
+
"h4": {
|
|
56
|
+
"fontSize": 16,
|
|
57
|
+
"fontWeight": 700,
|
|
58
|
+
"letterSpacing": 0,
|
|
59
|
+
"lineHeight": 24
|
|
60
|
+
},
|
|
61
|
+
"h5": {
|
|
62
|
+
"fontSize": 14,
|
|
63
|
+
"fontWeight": 700,
|
|
64
|
+
"letterSpacing": 0,
|
|
65
|
+
"lineHeight": 20
|
|
66
|
+
},
|
|
67
|
+
"p1": {
|
|
68
|
+
"fontSize": 16,
|
|
69
|
+
"fontWeight": 400,
|
|
70
|
+
"letterSpacing": 0,
|
|
71
|
+
"lineHeight": 24
|
|
72
|
+
},
|
|
73
|
+
"p1m": {
|
|
74
|
+
"fontSize": 16,
|
|
75
|
+
"fontWeight": 500,
|
|
76
|
+
"letterSpacing": 0,
|
|
77
|
+
"lineHeight": 24
|
|
78
|
+
},
|
|
79
|
+
"p1b": {
|
|
80
|
+
"fontSize": 16,
|
|
81
|
+
"fontWeight": 700,
|
|
82
|
+
"letterSpacing": 0,
|
|
83
|
+
"lineHeight": 24
|
|
84
|
+
},
|
|
85
|
+
"p2": {
|
|
86
|
+
"fontSize": 14,
|
|
87
|
+
"fontWeight": 400,
|
|
88
|
+
"letterSpacing": 0,
|
|
89
|
+
"lineHeight": 20
|
|
90
|
+
},
|
|
91
|
+
"p2m": {
|
|
92
|
+
"fontSize": 14,
|
|
93
|
+
"fontWeight": 500,
|
|
94
|
+
"letterSpacing": 0,
|
|
95
|
+
"lineHeight": 20
|
|
96
|
+
},
|
|
97
|
+
"p2b": {
|
|
98
|
+
"fontSize": 14,
|
|
99
|
+
"fontWeight": 700,
|
|
100
|
+
"letterSpacing": 0,
|
|
101
|
+
"lineHeight": 20
|
|
102
|
+
},
|
|
103
|
+
"c1": {
|
|
104
|
+
"fontSize": 12,
|
|
105
|
+
"fontWeight": 400,
|
|
106
|
+
"letterSpacing": 0,
|
|
107
|
+
"lineHeight": 16
|
|
108
|
+
},
|
|
109
|
+
"c2": {
|
|
110
|
+
"fontSize": 12,
|
|
111
|
+
"fontWeight": 700,
|
|
112
|
+
"letterSpacing": 0,
|
|
113
|
+
"lineHeight": 16
|
|
114
|
+
},
|
|
115
|
+
"micro": {
|
|
116
|
+
"fontSize": 10,
|
|
117
|
+
"fontWeight": 700,
|
|
118
|
+
"letterSpacing": 0,
|
|
119
|
+
"lineHeight": 12
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocket.chat/fuselage-tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.0",
|
|
4
4
|
"description": "Design tokens for Fuselage, Rocket.Chat's design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design",
|
|
@@ -33,15 +33,9 @@
|
|
|
33
33
|
"eslint": "~10.8.0",
|
|
34
34
|
"eslint-config-prettier": "~10.1.8",
|
|
35
35
|
"lint-all": "^0.31.25",
|
|
36
|
-
"postcss": "~8.5.23",
|
|
37
|
-
"postcss-scss": "~4.0.9",
|
|
38
36
|
"prettier": "~3.6.2",
|
|
39
37
|
"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"
|
|
38
|
+
"style-dictionary": "~5.5.0"
|
|
45
39
|
},
|
|
46
40
|
"publishConfig": {
|
|
47
41
|
"access": "public"
|