@rocket.chat/fuselage-tokens 0.6.3-dev.46 → 0.6.3-dev.462
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/LICENSE +1 -1
- package/README.md +62 -20
- package/breakpoints.js +21 -2
- package/breakpoints.json +44 -0
- package/breakpoints.mjs +44 -0
- package/breakpoints.scss +18 -1
- package/colors.js +3 -15
- package/colors.json +66 -0
- package/colors.mjs +66 -0
- package/colors.scss +1 -15
- package/package.json +35 -7
- package/typography.js +81 -41
- package/typography.json +121 -0
- package/typography.mjs +121 -0
- package/typography.scss +78 -39
- package/CHANGELOG.md +0 -273
- package/all.js +0 -3
- package/all.scss +0 -3
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,37 +1,79 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<a href="https://
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<a href="https://circleci.com/gh/RocketChat/Rocket.Chat.Fuselage" target="_blank"><img alt="Build Status on CircleCI" src="https://circleci.com/gh/RocketChat/Rocket.Chat.Fuselage/tree/master.svg?style=svg&circle-token=4bf3c8af9bf96e1338430d1ba3ce0084a45d1647" /></a>
|
|
8
|
-
<a href="https://twitter.com/RocketChat" target="_blank"><img alt="Twitter: RocketChat" src="https://img.shields.io/twitter/follow/RocketChat.svg?style=social" /></a>
|
|
1
|
+
<!--header-->
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<a href="https://rocket.chat" title="Rocket.Chat">
|
|
5
|
+
<img src="https://github.com/RocketChat/Rocket.Chat.Artwork/raw/master/Logos/2020/png/logo-horizontal-red.png" alt="Rocket.Chat" />
|
|
6
|
+
</a>
|
|
9
7
|
</p>
|
|
10
8
|
|
|
9
|
+
# `@rocket.chat/fuselage-tokens`
|
|
10
|
+
|
|
11
11
|
> Design tokens for Fuselage, Rocket.Chat's design system
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
[](https://www.npmjs.com/package/@rocket.chat/icons/v/latest) [](https://www.npmjs.com/package/@rocket.chat/icons/v/next)  
|
|
16
|
+
|
|
17
|
+
   
|
|
18
|
+
|
|
19
|
+
<!--/header-->
|
|
14
20
|
|
|
15
21
|
## Install
|
|
16
22
|
|
|
23
|
+
<!--install-->
|
|
24
|
+
|
|
25
|
+
Add `@rocket.chat/fuselage-tokens` as a dependency:
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
npm i @rocket.chat/fuselage-tokens
|
|
29
|
+
|
|
30
|
+
# or, if you are using yarn:
|
|
31
|
+
|
|
32
|
+
yarn add @rocket.chat/fuselage-tokens
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<!--/install-->
|
|
36
|
+
|
|
37
|
+
## Contributing
|
|
38
|
+
|
|
39
|
+
<!--contributing(msg)-->
|
|
40
|
+
|
|
41
|
+
Contributions, issues, and feature requests are welcome!<br />
|
|
42
|
+
Feel free to check the [issues](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues).
|
|
43
|
+
|
|
44
|
+
<!--/contributing(msg)-->
|
|
45
|
+
|
|
46
|
+
### Building
|
|
47
|
+
|
|
48
|
+
As this package dependends on others in this monorepo, before anything run the following at the root directory:
|
|
49
|
+
|
|
50
|
+
<!--yarn(build)-->
|
|
51
|
+
|
|
17
52
|
```sh
|
|
18
|
-
|
|
53
|
+
yarn build
|
|
19
54
|
```
|
|
20
55
|
|
|
21
|
-
|
|
56
|
+
<!--/yarn(build)-->
|
|
22
57
|
|
|
23
|
-
|
|
58
|
+
### Linting
|
|
24
59
|
|
|
25
|
-
|
|
26
|
-
|
|
60
|
+
To ensure the source is matching our coding style, we perform [linting](<https://en.wikipedia.org/wiki/Lint_(software)>).
|
|
61
|
+
Before commiting, check if your code fits our style by running:
|
|
27
62
|
|
|
28
|
-
|
|
63
|
+
<!--yarn(lint)-->
|
|
29
64
|
|
|
30
|
-
|
|
65
|
+
```sh
|
|
66
|
+
yarn lint
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
<!--/yarn(lint)-->
|
|
31
70
|
|
|
32
|
-
|
|
71
|
+
Some linter warnings and errors can be automatically fixed:
|
|
33
72
|
|
|
34
|
-
|
|
73
|
+
<!--yarn(lint-and-fix)-->
|
|
74
|
+
|
|
75
|
+
```sh
|
|
76
|
+
yarn lint-and-fix
|
|
77
|
+
```
|
|
35
78
|
|
|
36
|
-
|
|
37
|
-
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
|
|
79
|
+
<!--/yarn(lint-and-fix)-->
|
package/breakpoints.js
CHANGED
|
@@ -1,26 +1,45 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
2
4
|
xs: {
|
|
5
|
+
name: 'xs',
|
|
3
6
|
minViewportWidth: null,
|
|
4
7
|
columns: 4,
|
|
5
8
|
gutterWidth: 16,
|
|
6
9
|
},
|
|
7
10
|
sm: {
|
|
11
|
+
name: 'sm',
|
|
8
12
|
minViewportWidth: 600,
|
|
9
13
|
columns: 8,
|
|
10
14
|
gutterWidth: 16,
|
|
11
15
|
},
|
|
12
16
|
md: {
|
|
17
|
+
name: 'md',
|
|
13
18
|
minViewportWidth: 768,
|
|
14
19
|
columns: 8,
|
|
15
20
|
gutterWidth: 24,
|
|
16
21
|
},
|
|
17
22
|
lg: {
|
|
23
|
+
name: 'lg',
|
|
18
24
|
minViewportWidth: 1024,
|
|
19
25
|
columns: 12,
|
|
20
26
|
gutterWidth: 24,
|
|
21
27
|
},
|
|
22
28
|
xl: {
|
|
23
|
-
|
|
29
|
+
name: 'xl',
|
|
30
|
+
minViewportWidth: 1280,
|
|
31
|
+
columns: 12,
|
|
32
|
+
gutterWidth: 24,
|
|
33
|
+
},
|
|
34
|
+
xxl: {
|
|
35
|
+
name: 'xxl',
|
|
36
|
+
minViewportWidth: 1600,
|
|
37
|
+
columns: 12,
|
|
38
|
+
gutterWidth: 24,
|
|
39
|
+
},
|
|
40
|
+
xxxl: {
|
|
41
|
+
name: 'xxxl',
|
|
42
|
+
minViewportWidth: 1920,
|
|
24
43
|
columns: 12,
|
|
25
44
|
gutterWidth: 24,
|
|
26
45
|
},
|
package/breakpoints.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "xs",
|
|
4
|
+
"minViewportWidth": null,
|
|
5
|
+
"columns": 4,
|
|
6
|
+
"gutterWidth": 16
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "sm",
|
|
10
|
+
"minViewportWidth": 600,
|
|
11
|
+
"columns": 8,
|
|
12
|
+
"gutterWidth": 16
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "md",
|
|
16
|
+
"minViewportWidth": 768,
|
|
17
|
+
"columns": 8,
|
|
18
|
+
"gutterWidth": 24
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "lg",
|
|
22
|
+
"minViewportWidth": 1024,
|
|
23
|
+
"columns": 12,
|
|
24
|
+
"gutterWidth": 24
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "xl",
|
|
28
|
+
"minViewportWidth": 1280,
|
|
29
|
+
"columns": 12,
|
|
30
|
+
"gutterWidth": 24
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "xxl",
|
|
34
|
+
"minViewportWidth": 1600,
|
|
35
|
+
"columns": 12,
|
|
36
|
+
"gutterWidth": 24
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "xxxl",
|
|
40
|
+
"minViewportWidth": 1920,
|
|
41
|
+
"columns": 12,
|
|
42
|
+
"gutterWidth": 24
|
|
43
|
+
}
|
|
44
|
+
]
|
package/breakpoints.mjs
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
xs: {
|
|
3
|
+
name: 'xs',
|
|
4
|
+
minViewportWidth: null,
|
|
5
|
+
columns: 4,
|
|
6
|
+
gutterWidth: 16,
|
|
7
|
+
},
|
|
8
|
+
sm: {
|
|
9
|
+
name: 'sm',
|
|
10
|
+
minViewportWidth: 600,
|
|
11
|
+
columns: 8,
|
|
12
|
+
gutterWidth: 16,
|
|
13
|
+
},
|
|
14
|
+
md: {
|
|
15
|
+
name: 'md',
|
|
16
|
+
minViewportWidth: 768,
|
|
17
|
+
columns: 8,
|
|
18
|
+
gutterWidth: 24,
|
|
19
|
+
},
|
|
20
|
+
lg: {
|
|
21
|
+
name: 'lg',
|
|
22
|
+
minViewportWidth: 1024,
|
|
23
|
+
columns: 12,
|
|
24
|
+
gutterWidth: 24,
|
|
25
|
+
},
|
|
26
|
+
xl: {
|
|
27
|
+
name: 'xl',
|
|
28
|
+
minViewportWidth: 1280,
|
|
29
|
+
columns: 12,
|
|
30
|
+
gutterWidth: 24,
|
|
31
|
+
},
|
|
32
|
+
xxl: {
|
|
33
|
+
name: 'xxl',
|
|
34
|
+
minViewportWidth: 1600,
|
|
35
|
+
columns: 12,
|
|
36
|
+
gutterWidth: 24,
|
|
37
|
+
},
|
|
38
|
+
xxxl: {
|
|
39
|
+
name: 'xxxl',
|
|
40
|
+
minViewportWidth: 1920,
|
|
41
|
+
columns: 12,
|
|
42
|
+
gutterWidth: 24,
|
|
43
|
+
},
|
|
44
|
+
};
|
package/breakpoints.scss
CHANGED
|
@@ -1,26 +1,43 @@
|
|
|
1
1
|
$breakpoints: (
|
|
2
2
|
xs: (
|
|
3
|
+
name: xs,
|
|
3
4
|
min-viewport-width: null,
|
|
4
5
|
columns: 4,
|
|
5
6
|
gutter-width: 16,
|
|
6
7
|
),
|
|
7
8
|
sm: (
|
|
9
|
+
name: sm,
|
|
8
10
|
min-viewport-width: 600,
|
|
9
11
|
columns: 8,
|
|
10
12
|
gutter-width: 16,
|
|
11
13
|
),
|
|
12
14
|
md: (
|
|
15
|
+
name: md,
|
|
13
16
|
min-viewport-width: 768,
|
|
14
17
|
columns: 8,
|
|
15
18
|
gutter-width: 24,
|
|
16
19
|
),
|
|
17
20
|
lg: (
|
|
21
|
+
name: lg,
|
|
18
22
|
min-viewport-width: 1024,
|
|
19
23
|
columns: 12,
|
|
20
24
|
gutter-width: 24,
|
|
21
25
|
),
|
|
22
26
|
xl: (
|
|
23
|
-
|
|
27
|
+
name: xl,
|
|
28
|
+
min-viewport-width: 1280,
|
|
29
|
+
columns: 12,
|
|
30
|
+
gutter-width: 24,
|
|
31
|
+
),
|
|
32
|
+
xxl: (
|
|
33
|
+
name: xxl,
|
|
34
|
+
min-viewport-width: 1600,
|
|
35
|
+
columns: 12,
|
|
36
|
+
gutter-width: 24,
|
|
37
|
+
),
|
|
38
|
+
xxxl: (
|
|
39
|
+
name: xxxl,
|
|
40
|
+
min-viewport-width: 1920,
|
|
24
41
|
columns: 12,
|
|
25
42
|
gutter-width: 24,
|
|
26
43
|
),
|
package/colors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
3
4
|
n100: '#f7f8fa',
|
|
4
5
|
n200: '#f2f3f5',
|
|
5
6
|
n300: '#eeeff1',
|
|
@@ -9,8 +10,6 @@ export default {
|
|
|
9
10
|
n700: '#6c727a',
|
|
10
11
|
n800: '#2f343d',
|
|
11
12
|
n900: '#1f2329',
|
|
12
|
-
|
|
13
|
-
// Blues
|
|
14
13
|
b100: '#e8f2ff',
|
|
15
14
|
b200: '#d1ebfe',
|
|
16
15
|
b300: '#76b7fc',
|
|
@@ -20,8 +19,6 @@ export default {
|
|
|
20
19
|
b700: '#10529e',
|
|
21
20
|
b800: '#01336b',
|
|
22
21
|
b900: '#012247',
|
|
23
|
-
|
|
24
|
-
// Greens
|
|
25
22
|
g100: '#e5fbf4',
|
|
26
23
|
g200: '#c0f6e4',
|
|
27
24
|
g300: '#96f0d2',
|
|
@@ -31,8 +28,6 @@ export default {
|
|
|
31
28
|
g700: '#19ac7c',
|
|
32
29
|
g800: '#158d65',
|
|
33
30
|
g900: '#106d4f',
|
|
34
|
-
|
|
35
|
-
// Reds
|
|
36
31
|
r100: '#fddade',
|
|
37
32
|
r200: '#fbb5be',
|
|
38
33
|
r300: '#f98f9d',
|
|
@@ -42,8 +37,6 @@ export default {
|
|
|
42
37
|
r700: '#b30a20',
|
|
43
38
|
r800: '#8b0719',
|
|
44
39
|
r900: '#630512',
|
|
45
|
-
|
|
46
|
-
// Yellows
|
|
47
40
|
y100: '#fff6d6',
|
|
48
41
|
y200: '#ffecad',
|
|
49
42
|
y300: '#ffe383',
|
|
@@ -53,8 +46,6 @@ export default {
|
|
|
53
46
|
y700: '#dfac00',
|
|
54
47
|
y800: '#b68d00',
|
|
55
48
|
y900: '#8e6d00',
|
|
56
|
-
|
|
57
|
-
// Purples
|
|
58
49
|
p100: '#f9effc',
|
|
59
50
|
p200: '#edd0f7',
|
|
60
51
|
p300: '#dca0ef',
|
|
@@ -64,8 +55,6 @@ export default {
|
|
|
64
55
|
p700: '#5f1477',
|
|
65
56
|
p800: '#4a105d',
|
|
66
57
|
p900: '#350b42',
|
|
67
|
-
|
|
68
|
-
// Oranges
|
|
69
58
|
o100: '#fde8d7',
|
|
70
59
|
o200: '#fad1b0',
|
|
71
60
|
o300: '#f7b27b',
|
|
@@ -75,6 +64,5 @@ export default {
|
|
|
75
64
|
o700: '#bd5a0b',
|
|
76
65
|
o800: '#974809',
|
|
77
66
|
o900: '#713607',
|
|
78
|
-
|
|
79
67
|
white: '#ffffff',
|
|
80
68
|
};
|
package/colors.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"n100": "#f7f8fa",
|
|
3
|
+
"n200": "#f2f3f5",
|
|
4
|
+
"n300": "#eeeff1",
|
|
5
|
+
"n400": "#e4e7ea",
|
|
6
|
+
"n500": "#cbced1",
|
|
7
|
+
"n600": "#9ea2a8",
|
|
8
|
+
"n700": "#6c727a",
|
|
9
|
+
"n800": "#2f343d",
|
|
10
|
+
"n900": "#1f2329",
|
|
11
|
+
"b100": "#e8f2ff",
|
|
12
|
+
"b200": "#d1ebfe",
|
|
13
|
+
"b300": "#76b7fc",
|
|
14
|
+
"b400": "#549df9",
|
|
15
|
+
"b500": "#1d74f5",
|
|
16
|
+
"b600": "#095ad2",
|
|
17
|
+
"b700": "#10529e",
|
|
18
|
+
"b800": "#01336b",
|
|
19
|
+
"b900": "#012247",
|
|
20
|
+
"g100": "#e5fbf4",
|
|
21
|
+
"g200": "#c0f6e4",
|
|
22
|
+
"g300": "#96f0d2",
|
|
23
|
+
"g400": "#6ce9c0",
|
|
24
|
+
"g500": "#2de0a5",
|
|
25
|
+
"g600": "#1ecb92",
|
|
26
|
+
"g700": "#19ac7c",
|
|
27
|
+
"g800": "#158d65",
|
|
28
|
+
"g900": "#106d4f",
|
|
29
|
+
"r100": "#fddade",
|
|
30
|
+
"r200": "#fbb5be",
|
|
31
|
+
"r300": "#f98f9d",
|
|
32
|
+
"r400": "#f76a7d",
|
|
33
|
+
"r500": "#f5455c",
|
|
34
|
+
"r600": "#db0c27",
|
|
35
|
+
"r700": "#b30a20",
|
|
36
|
+
"r800": "#8b0719",
|
|
37
|
+
"r900": "#630512",
|
|
38
|
+
"y100": "#fff6d6",
|
|
39
|
+
"y200": "#ffecad",
|
|
40
|
+
"y300": "#ffe383",
|
|
41
|
+
"y400": "#ffd95a",
|
|
42
|
+
"y500": "#ffd031",
|
|
43
|
+
"y600": "#f3be08",
|
|
44
|
+
"y700": "#dfac00",
|
|
45
|
+
"y800": "#b68d00",
|
|
46
|
+
"y900": "#8e6d00",
|
|
47
|
+
"p100": "#f9effc",
|
|
48
|
+
"p200": "#edd0f7",
|
|
49
|
+
"p300": "#dca0ef",
|
|
50
|
+
"p400": "#ca71e7",
|
|
51
|
+
"p500": "#9f22c7",
|
|
52
|
+
"p600": "#7f1b9f",
|
|
53
|
+
"p700": "#5f1477",
|
|
54
|
+
"p800": "#4a105d",
|
|
55
|
+
"p900": "#350b42",
|
|
56
|
+
"o100": "#fde8d7",
|
|
57
|
+
"o200": "#fad1b0",
|
|
58
|
+
"o300": "#f7b27b",
|
|
59
|
+
"o400": "#f59b53",
|
|
60
|
+
"o500": "#f38c39",
|
|
61
|
+
"o600": "#e26d0e",
|
|
62
|
+
"o700": "#bd5a0b",
|
|
63
|
+
"o800": "#974809",
|
|
64
|
+
"o900": "#713607",
|
|
65
|
+
"white": "#ffffff"
|
|
66
|
+
}
|
package/colors.mjs
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
n100: '#f7f8fa',
|
|
3
|
+
n200: '#f2f3f5',
|
|
4
|
+
n300: '#eeeff1',
|
|
5
|
+
n400: '#e4e7ea',
|
|
6
|
+
n500: '#cbced1',
|
|
7
|
+
n600: '#9ea2a8',
|
|
8
|
+
n700: '#6c727a',
|
|
9
|
+
n800: '#2f343d',
|
|
10
|
+
n900: '#1f2329',
|
|
11
|
+
b100: '#e8f2ff',
|
|
12
|
+
b200: '#d1ebfe',
|
|
13
|
+
b300: '#76b7fc',
|
|
14
|
+
b400: '#549df9',
|
|
15
|
+
b500: '#1d74f5',
|
|
16
|
+
b600: '#095ad2',
|
|
17
|
+
b700: '#10529e',
|
|
18
|
+
b800: '#01336b',
|
|
19
|
+
b900: '#012247',
|
|
20
|
+
g100: '#e5fbf4',
|
|
21
|
+
g200: '#c0f6e4',
|
|
22
|
+
g300: '#96f0d2',
|
|
23
|
+
g400: '#6ce9c0',
|
|
24
|
+
g500: '#2de0a5',
|
|
25
|
+
g600: '#1ecb92',
|
|
26
|
+
g700: '#19ac7c',
|
|
27
|
+
g800: '#158d65',
|
|
28
|
+
g900: '#106d4f',
|
|
29
|
+
r100: '#fddade',
|
|
30
|
+
r200: '#fbb5be',
|
|
31
|
+
r300: '#f98f9d',
|
|
32
|
+
r400: '#f76a7d',
|
|
33
|
+
r500: '#f5455c',
|
|
34
|
+
r600: '#db0c27',
|
|
35
|
+
r700: '#b30a20',
|
|
36
|
+
r800: '#8b0719',
|
|
37
|
+
r900: '#630512',
|
|
38
|
+
y100: '#fff6d6',
|
|
39
|
+
y200: '#ffecad',
|
|
40
|
+
y300: '#ffe383',
|
|
41
|
+
y400: '#ffd95a',
|
|
42
|
+
y500: '#ffd031',
|
|
43
|
+
y600: '#f3be08',
|
|
44
|
+
y700: '#dfac00',
|
|
45
|
+
y800: '#b68d00',
|
|
46
|
+
y900: '#8e6d00',
|
|
47
|
+
p100: '#f9effc',
|
|
48
|
+
p200: '#edd0f7',
|
|
49
|
+
p300: '#dca0ef',
|
|
50
|
+
p400: '#ca71e7',
|
|
51
|
+
p500: '#9f22c7',
|
|
52
|
+
p600: '#7f1b9f',
|
|
53
|
+
p700: '#5f1477',
|
|
54
|
+
p800: '#4a105d',
|
|
55
|
+
p900: '#350b42',
|
|
56
|
+
o100: '#fde8d7',
|
|
57
|
+
o200: '#fad1b0',
|
|
58
|
+
o300: '#f7b27b',
|
|
59
|
+
o400: '#f59b53',
|
|
60
|
+
o500: '#f38c39',
|
|
61
|
+
o600: '#e26d0e',
|
|
62
|
+
o700: '#bd5a0b',
|
|
63
|
+
o800: '#974809',
|
|
64
|
+
o900: '#713607',
|
|
65
|
+
white: '#ffffff',
|
|
66
|
+
};
|
package/colors.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
$colors: (
|
|
2
|
-
// Neutral
|
|
3
2
|
n100: #f7f8fa,
|
|
4
3
|
n200: #f2f3f5,
|
|
5
4
|
n300: #eeeff1,
|
|
@@ -9,8 +8,6 @@ $colors: (
|
|
|
9
8
|
n700: #6c727a,
|
|
10
9
|
n800: #2f343d,
|
|
11
10
|
n900: #1f2329,
|
|
12
|
-
|
|
13
|
-
// Blues
|
|
14
11
|
b100: #e8f2ff,
|
|
15
12
|
b200: #d1ebfe,
|
|
16
13
|
b300: #76b7fc,
|
|
@@ -20,8 +17,6 @@ $colors: (
|
|
|
20
17
|
b700: #10529e,
|
|
21
18
|
b800: #01336b,
|
|
22
19
|
b900: #012247,
|
|
23
|
-
|
|
24
|
-
// Greens
|
|
25
20
|
g100: #e5fbf4,
|
|
26
21
|
g200: #c0f6e4,
|
|
27
22
|
g300: #96f0d2,
|
|
@@ -31,8 +26,6 @@ $colors: (
|
|
|
31
26
|
g700: #19ac7c,
|
|
32
27
|
g800: #158d65,
|
|
33
28
|
g900: #106d4f,
|
|
34
|
-
|
|
35
|
-
// Reds
|
|
36
29
|
r100: #fddade,
|
|
37
30
|
r200: #fbb5be,
|
|
38
31
|
r300: #f98f9d,
|
|
@@ -42,8 +35,6 @@ $colors: (
|
|
|
42
35
|
r700: #b30a20,
|
|
43
36
|
r800: #8b0719,
|
|
44
37
|
r900: #630512,
|
|
45
|
-
|
|
46
|
-
// Yellows
|
|
47
38
|
y100: #fff6d6,
|
|
48
39
|
y200: #ffecad,
|
|
49
40
|
y300: #ffe383,
|
|
@@ -53,8 +44,6 @@ $colors: (
|
|
|
53
44
|
y700: #dfac00,
|
|
54
45
|
y800: #b68d00,
|
|
55
46
|
y900: #8e6d00,
|
|
56
|
-
|
|
57
|
-
// Purples
|
|
58
47
|
p100: #f9effc,
|
|
59
48
|
p200: #edd0f7,
|
|
60
49
|
p300: #dca0ef,
|
|
@@ -64,8 +53,6 @@ $colors: (
|
|
|
64
53
|
p700: #5f1477,
|
|
65
54
|
p800: #4a105d,
|
|
66
55
|
p900: #350b42,
|
|
67
|
-
|
|
68
|
-
// Oranges
|
|
69
56
|
o100: #fde8d7,
|
|
70
57
|
o200: #fad1b0,
|
|
71
58
|
o300: #f7b27b,
|
|
@@ -75,6 +62,5 @@ $colors: (
|
|
|
75
62
|
o700: #bd5a0b,
|
|
76
63
|
o800: #974809,
|
|
77
64
|
o900: #713607,
|
|
78
|
-
|
|
79
|
-
'white': #ffffff,
|
|
65
|
+
white: #ffffff,
|
|
80
66
|
);
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocket.chat/fuselage-tokens",
|
|
3
|
-
"version": "0.6.3-dev.
|
|
3
|
+
"version": "0.6.3-dev.462+b1b20646",
|
|
4
4
|
"description": "Design tokens for Fuselage, Rocket.Chat's design system",
|
|
5
|
-
"homepage": "https://
|
|
5
|
+
"homepage": "https://rocketchat.github.io/Rocket.Chat.Fuselage/",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Rocket.Chat",
|
|
8
8
|
"url": "https://rocket.chat/"
|
|
@@ -10,21 +10,49 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/RocketChat/Rocket.Chat.Fuselage.git"
|
|
13
|
+
"url": "git+https://github.com/RocketChat/Rocket.Chat.Fuselage.git",
|
|
14
|
+
"directory": "packages/fuselage-tokens"
|
|
14
15
|
},
|
|
15
16
|
"bugs": {
|
|
16
17
|
"url": "https://github.com/RocketChat/Rocket.Chat.Fuselage/issues"
|
|
17
18
|
},
|
|
18
19
|
"keywords": [
|
|
19
20
|
"design",
|
|
20
|
-
"tokens"
|
|
21
|
+
"tokens",
|
|
22
|
+
"fuselage",
|
|
23
|
+
"rocket.chat"
|
|
21
24
|
],
|
|
22
25
|
"files": [
|
|
23
|
-
"
|
|
24
|
-
"
|
|
26
|
+
"/breakpoints.*",
|
|
27
|
+
"/colors.*",
|
|
28
|
+
"/typography.*"
|
|
25
29
|
],
|
|
26
30
|
"publishConfig": {
|
|
27
31
|
"access": "public"
|
|
28
32
|
},
|
|
29
|
-
"
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "build-design-tokens",
|
|
35
|
+
"lint": "lint",
|
|
36
|
+
"lint-and-fix": "lint-and-fix",
|
|
37
|
+
"lint-staged": "lint-staged"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@rocket.chat/eslint-config-alt": "^0.6.3-dev.462+b1b20646",
|
|
41
|
+
"@rocket.chat/prettier-config": "^0.6.3-dev.462+b1b20646",
|
|
42
|
+
"build-design-tokens": "^0.31.6",
|
|
43
|
+
"eslint": "~8.8.0",
|
|
44
|
+
"eslint-config-prettier": "~8.3.0",
|
|
45
|
+
"eslint-plugin-import": "~2.25.4",
|
|
46
|
+
"eslint-plugin-prettier": "~4.0.0",
|
|
47
|
+
"lint-all": "^0.31.6",
|
|
48
|
+
"lint-staged": "~12.3.3",
|
|
49
|
+
"npm-run-all": "^4.1.5",
|
|
50
|
+
"postcss-scss": "~4.0.3",
|
|
51
|
+
"prettier": "~2.5.1",
|
|
52
|
+
"stylelint": "~14.5.0",
|
|
53
|
+
"stylelint-order": "~5.0.0",
|
|
54
|
+
"stylelint-prettier": "~2.0.0",
|
|
55
|
+
"stylelint-scss": "~4.1.0"
|
|
56
|
+
},
|
|
57
|
+
"gitHead": "b1b20646e60fff410c240bf7de37046a64744787"
|
|
30
58
|
}
|