@pathway-io/core 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -1,3 +1,30 @@
1
+ declare const colors: {
2
+ readonly neutral: {
3
+ 50: string;
4
+ 100: string;
5
+ 200: string;
6
+ 300: string;
7
+ 400: string;
8
+ 500: string;
9
+ 600: string;
10
+ 700: string;
11
+ 800: string;
12
+ 900: string;
13
+ 950: string;
14
+ };
15
+ readonly primary: {
16
+ 100: string;
17
+ 200: string;
18
+ 300: string;
19
+ 400: string;
20
+ 500: string;
21
+ 600: string;
22
+ 700: string;
23
+ 800: string;
24
+ 900: string;
25
+ 950: string;
26
+ };
27
+ };
1
28
  declare const fontFamilies = "Helvetica Neue, Helvetica, Arial, sans-serif";
2
29
  declare const fontSizes: {
3
30
  readonly lg: {
@@ -18,4 +45,4 @@ declare const fontSizes: {
18
45
  };
19
46
  };
20
47
 
21
- export { fontFamilies, fontSizes };
48
+ export { colors, fontFamilies, fontSizes };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,30 @@
1
+ declare const colors: {
2
+ readonly neutral: {
3
+ 50: string;
4
+ 100: string;
5
+ 200: string;
6
+ 300: string;
7
+ 400: string;
8
+ 500: string;
9
+ 600: string;
10
+ 700: string;
11
+ 800: string;
12
+ 900: string;
13
+ 950: string;
14
+ };
15
+ readonly primary: {
16
+ 100: string;
17
+ 200: string;
18
+ 300: string;
19
+ 400: string;
20
+ 500: string;
21
+ 600: string;
22
+ 700: string;
23
+ 800: string;
24
+ 900: string;
25
+ 950: string;
26
+ };
27
+ };
1
28
  declare const fontFamilies = "Helvetica Neue, Helvetica, Arial, sans-serif";
2
29
  declare const fontSizes: {
3
30
  readonly lg: {
@@ -18,4 +45,4 @@ declare const fontSizes: {
18
45
  };
19
46
  };
20
47
 
21
- export { fontFamilies, fontSizes };
48
+ export { colors, fontFamilies, fontSizes };
package/dist/index.js CHANGED
@@ -20,12 +20,42 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // index.ts
21
21
  var core_exports = {};
22
22
  __export(core_exports, {
23
+ colors: () => colors,
23
24
  fontFamilies: () => fontFamilies,
24
25
  fontSizes: () => fontSizes
25
26
  });
26
27
  module.exports = __toCommonJS(core_exports);
27
28
 
28
29
  // src/styles/index.ts
30
+ var gray = {
31
+ 50: "#fafaf9",
32
+ 100: "#f5f5f4",
33
+ 200: "#e7e5e4",
34
+ 300: "#d6d3d1",
35
+ 400: "#a8a29e",
36
+ 500: "#78716c",
37
+ 600: "#57534e",
38
+ 700: "#44403c",
39
+ 800: "#292524",
40
+ 900: "#1c1917",
41
+ 950: "#0c0a09"
42
+ };
43
+ var green = {
44
+ 100: "#EEECE8",
45
+ 200: "#D1D5C3",
46
+ 300: "#A3B18A",
47
+ 400: "#7E9971",
48
+ 500: "#588157",
49
+ 600: "#3A5A40",
50
+ 700: "#344E41",
51
+ 800: "#23342B",
52
+ 900: "#0B120F",
53
+ 950: "#090F0C"
54
+ };
55
+ var colors = {
56
+ neutral: gray,
57
+ primary: green
58
+ };
29
59
  var fontFamilies = "Helvetica Neue, Helvetica, Arial, sans-serif";
30
60
  var fontSizes = {
31
61
  lg: {
@@ -47,6 +77,7 @@ var fontSizes = {
47
77
  };
48
78
  // Annotate the CommonJS export names for ESM import in node:
49
79
  0 && (module.exports = {
80
+ colors,
50
81
  fontFamilies,
51
82
  fontSizes
52
83
  });
package/dist/index.mjs CHANGED
@@ -1,4 +1,33 @@
1
1
  // src/styles/index.ts
2
+ var gray = {
3
+ 50: "#fafaf9",
4
+ 100: "#f5f5f4",
5
+ 200: "#e7e5e4",
6
+ 300: "#d6d3d1",
7
+ 400: "#a8a29e",
8
+ 500: "#78716c",
9
+ 600: "#57534e",
10
+ 700: "#44403c",
11
+ 800: "#292524",
12
+ 900: "#1c1917",
13
+ 950: "#0c0a09"
14
+ };
15
+ var green = {
16
+ 100: "#EEECE8",
17
+ 200: "#D1D5C3",
18
+ 300: "#A3B18A",
19
+ 400: "#7E9971",
20
+ 500: "#588157",
21
+ 600: "#3A5A40",
22
+ 700: "#344E41",
23
+ 800: "#23342B",
24
+ 900: "#0B120F",
25
+ 950: "#090F0C"
26
+ };
27
+ var colors = {
28
+ neutral: gray,
29
+ primary: green
30
+ };
2
31
  var fontFamilies = "Helvetica Neue, Helvetica, Arial, sans-serif";
3
32
  var fontSizes = {
4
33
  lg: {
@@ -19,6 +48,7 @@ var fontSizes = {
19
48
  }
20
49
  };
21
50
  export {
51
+ colors,
22
52
  fontFamilies,
23
53
  fontSizes
24
54
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathway-io/core",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Shared constants and types for Pathway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -25,7 +25,7 @@ const green = {
25
25
  950: '#090F0C'
26
26
  }
27
27
 
28
- export default {
28
+ export const colors = {
29
29
  neutral: gray,
30
30
  primary: green
31
31
  } as const