@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.
Files changed (60) 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 -43
  26. package/CHANGELOG.md +0 -285
  27. package/breakpoints.js +0 -46
  28. package/breakpoints.json +0 -44
  29. package/breakpoints.mjs +0 -44
  30. package/breakpoints.scss +0 -44
  31. package/colors.js +0 -74
  32. package/colors.json +0 -72
  33. package/colors.mjs +0 -72
  34. package/colors.scss +0 -72
  35. package/dist/badge.js +0 -17
  36. package/dist/badge.mjs +0 -17
  37. package/dist/breakpoints.js +0 -44
  38. package/dist/breakpoints.mjs +0 -44
  39. package/dist/button.js +0 -122
  40. package/dist/button.mjs +0 -122
  41. package/dist/colors.js +0 -72
  42. package/dist/colors.mjs +0 -72
  43. package/dist/font.js +0 -35
  44. package/dist/font.mjs +0 -35
  45. package/dist/shadow.js +0 -20
  46. package/dist/shadow.mjs +0 -20
  47. package/dist/status.js +0 -68
  48. package/dist/status.mjs +0 -68
  49. package/dist/statusBullet.js +0 -20
  50. package/dist/statusBullet.mjs +0 -20
  51. package/dist/stroke.js +0 -29
  52. package/dist/stroke.mjs +0 -29
  53. package/dist/surface.js +0 -38
  54. package/dist/surface.mjs +0 -38
  55. package/dist/typography.js +0 -121
  56. package/dist/typography.mjs +0 -121
  57. package/typography.js +0 -123
  58. package/typography.json +0 -121
  59. package/typography.mjs +0 -121
  60. 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:#EBECEF,
3
- light-light:#CBCED1,
4
- light-medium:#9EA2A8,
5
- light-dark:#6C737A,
6
- light-extra-dark:#2F343D,
7
- light-extra-light-highlight:#D1EBFE,
8
- light-highlight:#156FF5,
9
- light-extra-light-error:#FFC1C9,
10
- light-error:#EC0D2A,
11
- high-contrast-extra-light:#EBECEF,
12
- high-contrast-light:#CBCED1,
13
- high-contrast-medium:#9EA2A8,
14
- high-contrast-dark:#6C737A,
15
- high-contrast-extra-dark:#2F343D,
16
- high-contrast-extra-light-highlight:#D1EBFE,
17
- high-contrast-highlight:#156FF5,
18
- high-contrast-extra-light-error:#FFC1C9,
19
- high-contrast-error:#EC0D2A,
20
- dark-extra-light:#333842,
21
- dark-light:#404754,
22
- dark-medium:#4B5362,
23
- dark-dark:#9EA2A8,
24
- dark-extra-dark:#CBCED1,
25
- dark-extra-light-highlight:#D1EBFE,
26
- dark-highlight:#6292DA,
27
- dark-extra-light-error:#F49AA6,
28
- dark-error:#BB3E4E
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
- "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": "rgba(47, 52, 61, 0.5)"
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": "rgba(47, 52, 61, 0.5)"
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": "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:#ffffff,
3
- light-tint:#F7F8FA,
4
- light-room:#ffffff,
5
- light-neutral:#E4E7EA,
6
- light-disabled:#F7F8FA,
7
- light-hover:#F2F3F5,
8
- light-selected:#D7DBE0,
9
- light-dark:#1F2329,
10
- light-featured:#5F1477,
11
- light-featured-hover:#4A105D,
12
- light-sidebar:#E4E7EA,
13
- light-overlay:"rgba(47, 52, 61, 0.5)",
14
- high-contrast-light:#ffffff,
15
- high-contrast-tint:#F7F8FA,
16
- high-contrast-room:#ffffff,
17
- high-contrast-neutral:#E4E7EA,
18
- high-contrast-disabled:#F7F8FA,
19
- high-contrast-hover:#F2F3F5,
20
- high-contrast-selected:#D7DBE0,
21
- high-contrast-dark:#1F2329,
22
- high-contrast-featured:#5F1477,
23
- high-contrast-featured-hover:#4A105D,
24
- high-contrast-sidebar:#E4E7EA,
25
- high-contrast-overlay:"rgba(47, 52, 61, 0.5)",
26
- dark-light:#262931,
27
- dark-tint:#1F2329,
28
- dark-room:#1F2329,
29
- dark-neutral:#2D3039,
30
- dark-disabled:#24272E,
31
- dark-hover:#1A1E23,
32
- dark-selected:#4C5362,
33
- dark-dark:#E4E7EA,
34
- dark-featured:#5F1477,
35
- dark-featured-hover:#4A105D,
36
- dark-sidebar:#2F343D,
37
- dark-overlay:"rgba(0, 0, 0, 0.6)"
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
  );
@@ -1,5 +1,5 @@
1
1
  {
2
- "fontFamilies": {
2
+ "fontFamily": {
3
3
  "sans": [
4
4
  "Inter",
5
5
  "-apple-system",
@@ -26,7 +26,7 @@
26
26
  "monospace"
27
27
  ]
28
28
  },
29
- "fontScales": {
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
+ }
@@ -1,3 +1,69 @@
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));
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.33.1",
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
- "author": {
7
- "name": "Rocket.Chat",
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
- "bugs": {
17
- "url": "https://github.com/RocketChat/fuselage/issues"
20
+ "license": "MIT",
21
+ "author": {
22
+ "name": "Rocket.Chat",
23
+ "url": "https://rocket.chat/"
18
24
  },
19
- "keywords": [
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": "run-s .:build:clean .:build:legacy .: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
- "@rocket.chat/eslint-config-alt": "^0.31.25",
43
- "@rocket.chat/prettier-config": "^0.31.25",
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
- "lint-staged": "~13.2.1",
52
- "npm-run-all": "^4.1.5",
53
- "postcss-scss": "~4.0.6",
54
- "prettier": "~2.8.7",
55
- "rimraf": "^3.0.2",
56
- "style-dictionary": "~3.7.2",
57
- "stylelint": "~15.4.0",
58
- "stylelint-order": "~6.0.3",
59
- "stylelint-prettier": "~3.0.0",
60
- "stylelint-scss": "~4.6.0"
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
  }