@likec4/core 0.27.0 → 0.28.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 (2) hide show
  1. package/dist/colors.d.ts +30 -28
  2. package/package.json +1 -1
package/dist/colors.d.ts CHANGED
@@ -1,8 +1,9 @@
1
+ type Color = `#${string}`;
1
2
  export interface ElementColors {
2
- fill: string;
3
- stroke: string;
4
- hiContrast: string;
5
- loContrast: string;
3
+ fill: Color;
4
+ stroke: Color;
5
+ hiContrast: Color;
6
+ loContrast: Color;
6
7
  }
7
8
  export declare const RelationColors: {
8
9
  readonly lineColor: "#a3a3a3";
@@ -10,40 +11,40 @@ export declare const RelationColors: {
10
11
  };
11
12
  export declare const Colors: {
12
13
  readonly primary: {
13
- fill: string;
14
- stroke: string;
15
- hiContrast: string;
16
- loContrast: string;
14
+ fill: "#3b82f6";
15
+ stroke: "#2563eb";
16
+ hiContrast: "#eff6ff";
17
+ loContrast: "#dbeafe";
17
18
  };
18
19
  readonly blue: {
19
- fill: string;
20
- stroke: string;
21
- hiContrast: string;
22
- loContrast: string;
20
+ fill: "#3b82f6";
21
+ stroke: "#2563eb";
22
+ hiContrast: "#eff6ff";
23
+ loContrast: "#dbeafe";
23
24
  };
24
25
  readonly secondary: {
25
- fill: string;
26
- stroke: string;
27
- hiContrast: string;
28
- loContrast: string;
26
+ fill: "#0284c7";
27
+ stroke: "#0369a1";
28
+ hiContrast: "#f0f9ff";
29
+ loContrast: "#e0f2fe";
29
30
  };
30
31
  readonly sky: {
31
- fill: string;
32
- stroke: string;
33
- hiContrast: string;
34
- loContrast: string;
32
+ fill: "#0284c7";
33
+ stroke: "#0369a1";
34
+ hiContrast: "#f0f9ff";
35
+ loContrast: "#e0f2fe";
35
36
  };
36
37
  readonly muted: {
37
- fill: string;
38
- stroke: string;
39
- hiContrast: string;
40
- loContrast: string;
38
+ fill: "#64748b";
39
+ stroke: "#475569";
40
+ hiContrast: "#f8fafc";
41
+ loContrast: "#e2e8f0";
41
42
  };
42
43
  readonly slate: {
43
- fill: string;
44
- stroke: string;
45
- hiContrast: string;
46
- loContrast: string;
44
+ fill: "#64748b";
45
+ stroke: "#475569";
46
+ hiContrast: "#f8fafc";
47
+ loContrast: "#e2e8f0";
47
48
  };
48
49
  readonly gray: {
49
50
  readonly fill: "#737373";
@@ -76,4 +77,5 @@ export declare const Colors: {
76
77
  readonly loContrast: "#c7d2fe";
77
78
  };
78
79
  };
80
+ export {};
79
81
  //# sourceMappingURL=colors.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likec4/core",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "license": "MIT",
5
5
  "bugs": "https://github.com/likec4/likec4/issues",
6
6
  "homepage": "https://likec4.dev",