@equinor/cpl-theme-react 0.0.1 → 0.0.3

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/index.css CHANGED
@@ -1,6 +1,28 @@
1
1
  /* src/styles.css */
2
2
  :root[data-equinor-cpl-theme=light] {
3
- --color-text: rgba(19, 38, 52, 1);
3
+ --eds-color-border-interactive-resting: #b3b3b3;
4
+ --chart-color-1: #00a3be;
5
+ --chart-color-2: #d58000;
6
+ --chart-color-3: #889900;
7
+ --chart-color-4: #735cd2;
8
+ --chart-color-5: #ee6666;
9
+ --chart-color-6: #5d9dac;
10
+ --chart-color-7: #4466ee;
11
+ --chart-color-8: #208877;
12
+ --chart-color-9: #cb2d2d;
13
+ --chart-color-10: #ee55bb;
14
+ --chart-color-11: #9966ee;
15
+ --chart-color-12: #55704c;
16
+ --chart-color-13: #444ab3;
17
+ --chart-color-14: #bc5897;
18
+ --chart-color-15: #05677d;
19
+ --chart-color-16: #333333;
20
+ --chart-color-17: #469449;
21
+ --chart-color-18: #627a9d;
22
+ --chart-color-19: #835e4e;
23
+ --chart-color-20: #ae8775;
24
+ --chart-color-21: #666666;
25
+ --chart-color-22: #949494;
4
26
  }
5
27
  :root[data-equinor-cpl-theme=dark] {
6
28
  --background-default: rgba(19, 38, 52, 1);
@@ -29,6 +51,28 @@
29
51
  --line-color: #444c52;
30
52
  --line-color-2: #394955;
31
53
  --background-lighten: rgba(2, 1, 1, 0.16);
54
+ --chart-color-1: #2caffe;
55
+ --chart-color-2: #544fc5;
56
+ --chart-color-3: #00e272;
57
+ --chart-color-4: #fe6a35;
58
+ --chart-color-5: #6b8abc;
59
+ --chart-color-6: #d568fb;
60
+ --chart-color-7: #2ee0ca;
61
+ --chart-color-8: #fa4b42;
62
+ --chart-color-9: #feb56a;
63
+ --chart-color-10: #91e8e1;
64
+ --chart-color-11: #2caffe;
65
+ --chart-color-12: #544fc5;
66
+ --chart-color-13: #00e272;
67
+ --chart-color-14: #fe6a35;
68
+ --chart-color-15: #6b8abc;
69
+ --chart-color-16: #d568fb;
70
+ --chart-color-17: #2ee0ca;
71
+ --chart-color-18: #fa4b42;
72
+ --chart-color-19: #feb56a;
73
+ --chart-color-20: #91e8e1;
74
+ --chart-color-21: #2caffe;
75
+ --chart-color-22: #544fc5;
32
76
  --eds-color-surface-input: rgba(0, 0, 0, 0.28);
33
77
  --eds-color-text-input-placeholder: rgba(100, 114, 125, 1);
34
78
  --eds-color-icon-interactive: rgba(166, 175, 181, 1);
package/dist/index.js CHANGED
@@ -28,13 +28,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // src/index.ts
31
- var src_exports = {};
32
- __export(src_exports, {
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
33
  ThemeContext: () => ThemeContext,
34
34
  ThemeProvider: () => ThemeProvider,
35
35
  useTheme: () => useTheme
36
36
  });
37
- module.exports = __toCommonJS(src_exports);
37
+ module.exports = __toCommonJS(index_exports);
38
38
 
39
39
  // src/tokens.ts
40
40
  var tokens = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/cpl-theme-react",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -13,18 +13,18 @@
13
13
  "@equinor/eds-tokens": "^0.9.2"
14
14
  },
15
15
  "devDependencies": {
16
- "@equinor/eds-core-react": "^0.42.1",
17
- "@storybook/react": "^8.1.11",
18
- "@storybook/test": "^8.1.11",
19
- "@types/react": "^18.3.3",
20
- "@types/react-dom": "^18.3.0",
16
+ "@equinor/eds-core-react": "^0.42.5",
17
+ "@storybook/react": "^8.5.2",
18
+ "@storybook/test": "^8.5.2",
19
+ "@types/react": "^18.3.18",
20
+ "@types/react-dom": "^18.3.5",
21
21
  "@types/styled-components": "^5.1.34",
22
- "eslint": "^8.56.0",
22
+ "eslint": "^8.57.1",
23
23
  "react": "^18.2.0",
24
24
  "react-dom": "^18.2.0",
25
- "styled-components": "^6.1.11",
26
- "tsup": "^8.1.0",
27
- "eslint-config-custom": "0.0.5",
25
+ "styled-components": "^6.1.14",
26
+ "tsup": "^8.3.6",
27
+ "eslint-config-custom": "0.0.6",
28
28
  "tsconfig": "0.0.1"
29
29
  },
30
30
  "peerDependencies": {