@likec4/core 0.44.0 → 0.45.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.
package/README.md CHANGED
@@ -5,6 +5,5 @@
5
5
  Package contains:
6
6
 
7
7
  - types
8
- - view computation
9
8
  - utilities and guards
10
9
  - errors
@@ -15,37 +15,37 @@ export declare const ElementColors: {
15
15
  fill: "#0284c7";
16
16
  stroke: "#0369a1";
17
17
  hiContrast: "#f0f9ff";
18
- loContrast: "#e0f2fe";
18
+ loContrast: "#B6ECF7";
19
19
  };
20
20
  readonly sky: {
21
21
  fill: "#0284c7";
22
22
  stroke: "#0369a1";
23
23
  hiContrast: "#f0f9ff";
24
- loContrast: "#e0f2fe";
24
+ loContrast: "#B6ECF7";
25
25
  };
26
26
  readonly muted: {
27
27
  fill: "#64748b";
28
28
  stroke: "#475569";
29
29
  hiContrast: "#f8fafc";
30
- loContrast: "#e2e8f0";
30
+ loContrast: "#cbd5e1";
31
31
  };
32
32
  readonly slate: {
33
33
  fill: "#64748b";
34
34
  stroke: "#475569";
35
35
  hiContrast: "#f8fafc";
36
- loContrast: "#e2e8f0";
36
+ loContrast: "#cbd5e1";
37
37
  };
38
38
  readonly gray: {
39
39
  readonly fill: "#737373";
40
40
  readonly stroke: "#525252";
41
41
  readonly hiContrast: "#fafafa";
42
- readonly loContrast: "#e5e5e5";
42
+ readonly loContrast: "#d4d4d4";
43
43
  };
44
44
  readonly red: {
45
- readonly fill: "#b54548";
46
- readonly stroke: "#8c333a";
47
- readonly hiContrast: "#f8fafc";
48
- readonly loContrast: "#F9C6C6";
45
+ readonly fill: "#AC4D39";
46
+ readonly stroke: "#853A2D";
47
+ readonly hiContrast: "#FBD3CB";
48
+ readonly loContrast: "#FF977D";
49
49
  };
50
50
  readonly green: {
51
51
  readonly fill: "#428a4f";
@@ -54,10 +54,10 @@ export declare const ElementColors: {
54
54
  readonly loContrast: "#c2f0c2";
55
55
  };
56
56
  readonly amber: {
57
- readonly fill: "#d97706";
58
- readonly stroke: "#b45309";
59
- readonly hiContrast: "#f8fafc";
60
- readonly loContrast: "#ffe0c2";
57
+ readonly fill: "#A35829";
58
+ readonly stroke: "#7E451D";
59
+ readonly hiContrast: "#FFE0C2";
60
+ readonly loContrast: "#FFA057";
61
61
  };
62
62
  readonly indigo: {
63
63
  readonly fill: "#6366f1";
@@ -14,13 +14,13 @@ const sky = {
14
14
  fill: "#0284c7",
15
15
  stroke: "#0369a1",
16
16
  hiContrast: "#f0f9ff",
17
- loContrast: "#e0f2fe"
17
+ loContrast: "#B6ECF7"
18
18
  };
19
19
  const slate = {
20
20
  fill: "#64748b",
21
21
  stroke: "#475569",
22
22
  hiContrast: "#f8fafc",
23
- loContrast: "#e2e8f0"
23
+ loContrast: "#cbd5e1"
24
24
  };
25
25
  const ElementColors = {
26
26
  primary: blue,
@@ -37,23 +37,24 @@ const ElementColors = {
37
37
  fill: "#737373",
38
38
  stroke: "#525252",
39
39
  hiContrast: "#fafafa",
40
- loContrast: "#e5e5e5"
40
+ loContrast: "#d4d4d4"
41
41
  },
42
42
  red: {
43
43
  // fill: colors.red[500],
44
44
  // stroke: colors.red[600],
45
45
  // hiContrast: colors.red[50],
46
46
  // loContrast: colors.red[200],
47
- fill: "#b54548",
48
- stroke: "#8c333a",
47
+ fill: "#AC4D39",
48
+ // fill: '#b54548',
49
+ stroke: "#853A2D",
49
50
  // hiContrast: '#fef2f2',
50
51
  // loContrast: '#fecaca',
51
52
  // hiContrast: '#191111', // colors.gray[900],
52
53
  // loContrast: '#3b1219' // colors.gray[800],
53
- hiContrast: "#f8fafc",
54
+ hiContrast: "#FBD3CB",
54
55
  // hiContrast: '#f8fafc',
55
56
  // loContrast: '#fdd8d8' // radix black red 12
56
- loContrast: "#F9C6C6"
57
+ loContrast: "#FF977D"
57
58
  },
58
59
  green: {
59
60
  fill: "#428a4f",
@@ -62,20 +63,11 @@ const ElementColors = {
62
63
  loContrast: "#c2f0c2"
63
64
  },
64
65
  amber: {
65
- // fill: colors.amber[600],
66
- // stroke: colors.amber[700],
67
- // hiContrast: colors.amber[50],
68
- // loContrast: colors.amber[200],
69
- fill: "#d97706",
70
- stroke: "#b45309",
71
- // hiContrast: '#fffbeb',
72
- // loContrast: '#fde68a',
73
- hiContrast: "#f8fafc",
74
- // colors.gray[900],
75
- loContrast: "#ffe0c2"
76
- // colors.gray[800],
66
+ fill: "#A35829",
67
+ stroke: "#7E451D",
68
+ hiContrast: "#FFE0C2",
69
+ loContrast: "#FFA057"
77
70
  },
78
-
79
71
  indigo: {
80
72
  // fill: colors.indigo[500],
81
73
  // stroke: colors.indigo[600],
@@ -18,37 +18,37 @@ export declare const defaultTheme: {
18
18
  fill: "#0284c7";
19
19
  stroke: "#0369a1";
20
20
  hiContrast: "#f0f9ff";
21
- loContrast: "#e0f2fe";
21
+ loContrast: "#B6ECF7";
22
22
  };
23
23
  readonly sky: {
24
24
  fill: "#0284c7";
25
25
  stroke: "#0369a1";
26
26
  hiContrast: "#f0f9ff";
27
- loContrast: "#e0f2fe";
27
+ loContrast: "#B6ECF7";
28
28
  };
29
29
  readonly muted: {
30
30
  fill: "#64748b";
31
31
  stroke: "#475569";
32
32
  hiContrast: "#f8fafc";
33
- loContrast: "#e2e8f0";
33
+ loContrast: "#cbd5e1";
34
34
  };
35
35
  readonly slate: {
36
36
  fill: "#64748b";
37
37
  stroke: "#475569";
38
38
  hiContrast: "#f8fafc";
39
- loContrast: "#e2e8f0";
39
+ loContrast: "#cbd5e1";
40
40
  };
41
41
  readonly gray: {
42
42
  readonly fill: "#737373";
43
43
  readonly stroke: "#525252";
44
44
  readonly hiContrast: "#fafafa";
45
- readonly loContrast: "#e5e5e5";
45
+ readonly loContrast: "#d4d4d4";
46
46
  };
47
47
  readonly red: {
48
- readonly fill: "#b54548";
49
- readonly stroke: "#8c333a";
50
- readonly hiContrast: "#f8fafc";
51
- readonly loContrast: "#F9C6C6";
48
+ readonly fill: "#AC4D39";
49
+ readonly stroke: "#853A2D";
50
+ readonly hiContrast: "#FBD3CB";
51
+ readonly loContrast: "#FF977D";
52
52
  };
53
53
  readonly green: {
54
54
  readonly fill: "#428a4f";
@@ -57,10 +57,10 @@ export declare const defaultTheme: {
57
57
  readonly loContrast: "#c2f0c2";
58
58
  };
59
59
  readonly amber: {
60
- readonly fill: "#d97706";
61
- readonly stroke: "#b45309";
62
- readonly hiContrast: "#f8fafc";
63
- readonly loContrast: "#ffe0c2";
60
+ readonly fill: "#A35829";
61
+ readonly stroke: "#7E451D";
62
+ readonly hiContrast: "#FFE0C2";
63
+ readonly loContrast: "#FFA057";
64
64
  };
65
65
  readonly indigo: {
66
66
  readonly fill: "#6366f1";
@@ -73,7 +73,7 @@ export declare const defaultTheme: {
73
73
  amber: {
74
74
  lineColor: "#b45309";
75
75
  labelBgColor: "#78350f";
76
- labelColor: "#f59e0b";
76
+ labelColor: "#FFE0C2";
77
77
  };
78
78
  blue: {
79
79
  lineColor: "#3b82f6";
@@ -106,9 +106,9 @@ export declare const defaultTheme: {
106
106
  labelColor: "#60a5fa";
107
107
  };
108
108
  red: {
109
- lineColor: "#b91c1c";
109
+ lineColor: "#AC4D39";
110
110
  labelBgColor: "#b91c1c";
111
- labelColor: "#dc2626";
111
+ labelColor: "#FF977D";
112
112
  };
113
113
  secondary: {
114
114
  lineColor: "#0ea5e9";
@@ -2,7 +2,7 @@ export declare const RelationshipColors: {
2
2
  amber: {
3
3
  lineColor: "#b45309";
4
4
  labelBgColor: "#78350f";
5
- labelColor: "#f59e0b";
5
+ labelColor: "#FFE0C2";
6
6
  };
7
7
  blue: {
8
8
  lineColor: "#3b82f6";
@@ -35,9 +35,9 @@ export declare const RelationshipColors: {
35
35
  labelColor: "#60a5fa";
36
36
  };
37
37
  red: {
38
- lineColor: "#b91c1c";
38
+ lineColor: "#AC4D39";
39
39
  labelBgColor: "#b91c1c";
40
- labelColor: "#dc2626";
40
+ labelColor: "#FF977D";
41
41
  };
42
42
  secondary: {
43
43
  lineColor: "#0ea5e9";
@@ -40,7 +40,7 @@ const RelationshipColors = {
40
40
  amber: {
41
41
  lineColor: "#b45309",
42
42
  labelBgColor: "#78350f",
43
- labelColor: "#f59e0b"
43
+ labelColor: "#FFE0C2"
44
44
  },
45
45
  blue,
46
46
  gray,
@@ -65,9 +65,9 @@ const RelationshipColors = {
65
65
  muted: slate,
66
66
  primary: blue,
67
67
  red: {
68
- lineColor: "#b91c1c",
68
+ lineColor: "#AC4D39",
69
69
  labelBgColor: "#b91c1c",
70
- labelColor: "#dc2626"
70
+ labelColor: "#FF977D"
71
71
  },
72
72
  secondary: sky,
73
73
  sky,
@@ -15,37 +15,37 @@ export declare const ElementColors: {
15
15
  fill: "#0284c7";
16
16
  stroke: "#0369a1";
17
17
  hiContrast: "#f0f9ff";
18
- loContrast: "#e0f2fe";
18
+ loContrast: "#B6ECF7";
19
19
  };
20
20
  readonly sky: {
21
21
  fill: "#0284c7";
22
22
  stroke: "#0369a1";
23
23
  hiContrast: "#f0f9ff";
24
- loContrast: "#e0f2fe";
24
+ loContrast: "#B6ECF7";
25
25
  };
26
26
  readonly muted: {
27
27
  fill: "#64748b";
28
28
  stroke: "#475569";
29
29
  hiContrast: "#f8fafc";
30
- loContrast: "#e2e8f0";
30
+ loContrast: "#cbd5e1";
31
31
  };
32
32
  readonly slate: {
33
33
  fill: "#64748b";
34
34
  stroke: "#475569";
35
35
  hiContrast: "#f8fafc";
36
- loContrast: "#e2e8f0";
36
+ loContrast: "#cbd5e1";
37
37
  };
38
38
  readonly gray: {
39
39
  readonly fill: "#737373";
40
40
  readonly stroke: "#525252";
41
41
  readonly hiContrast: "#fafafa";
42
- readonly loContrast: "#e5e5e5";
42
+ readonly loContrast: "#d4d4d4";
43
43
  };
44
44
  readonly red: {
45
- readonly fill: "#b54548";
46
- readonly stroke: "#8c333a";
47
- readonly hiContrast: "#f8fafc";
48
- readonly loContrast: "#F9C6C6";
45
+ readonly fill: "#AC4D39";
46
+ readonly stroke: "#853A2D";
47
+ readonly hiContrast: "#FBD3CB";
48
+ readonly loContrast: "#FF977D";
49
49
  };
50
50
  readonly green: {
51
51
  readonly fill: "#428a4f";
@@ -54,10 +54,10 @@ export declare const ElementColors: {
54
54
  readonly loContrast: "#c2f0c2";
55
55
  };
56
56
  readonly amber: {
57
- readonly fill: "#d97706";
58
- readonly stroke: "#b45309";
59
- readonly hiContrast: "#f8fafc";
60
- readonly loContrast: "#ffe0c2";
57
+ readonly fill: "#A35829";
58
+ readonly stroke: "#7E451D";
59
+ readonly hiContrast: "#FFE0C2";
60
+ readonly loContrast: "#FFA057";
61
61
  };
62
62
  readonly indigo: {
63
63
  readonly fill: "#6366f1";
@@ -8,13 +8,13 @@ const sky = {
8
8
  fill: "#0284c7",
9
9
  stroke: "#0369a1",
10
10
  hiContrast: "#f0f9ff",
11
- loContrast: "#e0f2fe"
11
+ loContrast: "#B6ECF7"
12
12
  };
13
13
  const slate = {
14
14
  fill: "#64748b",
15
15
  stroke: "#475569",
16
16
  hiContrast: "#f8fafc",
17
- loContrast: "#e2e8f0"
17
+ loContrast: "#cbd5e1"
18
18
  };
19
19
  export const ElementColors = {
20
20
  primary: blue,
@@ -31,23 +31,24 @@ export const ElementColors = {
31
31
  fill: "#737373",
32
32
  stroke: "#525252",
33
33
  hiContrast: "#fafafa",
34
- loContrast: "#e5e5e5"
34
+ loContrast: "#d4d4d4"
35
35
  },
36
36
  red: {
37
37
  // fill: colors.red[500],
38
38
  // stroke: colors.red[600],
39
39
  // hiContrast: colors.red[50],
40
40
  // loContrast: colors.red[200],
41
- fill: "#b54548",
42
- stroke: "#8c333a",
41
+ fill: "#AC4D39",
42
+ // fill: '#b54548',
43
+ stroke: "#853A2D",
43
44
  // hiContrast: '#fef2f2',
44
45
  // loContrast: '#fecaca',
45
46
  // hiContrast: '#191111', // colors.gray[900],
46
47
  // loContrast: '#3b1219' // colors.gray[800],
47
- hiContrast: "#f8fafc",
48
+ hiContrast: "#FBD3CB",
48
49
  // hiContrast: '#f8fafc',
49
50
  // loContrast: '#fdd8d8' // radix black red 12
50
- loContrast: "#F9C6C6"
51
+ loContrast: "#FF977D"
51
52
  },
52
53
  green: {
53
54
  fill: "#428a4f",
@@ -56,18 +57,10 @@ export const ElementColors = {
56
57
  loContrast: "#c2f0c2"
57
58
  },
58
59
  amber: {
59
- // fill: colors.amber[600],
60
- // stroke: colors.amber[700],
61
- // hiContrast: colors.amber[50],
62
- // loContrast: colors.amber[200],
63
- fill: "#d97706",
64
- stroke: "#b45309",
65
- // hiContrast: '#fffbeb',
66
- // loContrast: '#fde68a',
67
- hiContrast: "#f8fafc",
68
- // colors.gray[900],
69
- loContrast: "#ffe0c2"
70
- // colors.gray[800],
60
+ fill: "#A35829",
61
+ stroke: "#7E451D",
62
+ hiContrast: "#FFE0C2",
63
+ loContrast: "#FFA057"
71
64
  },
72
65
  indigo: {
73
66
  // fill: colors.indigo[500],
@@ -18,37 +18,37 @@ export declare const defaultTheme: {
18
18
  fill: "#0284c7";
19
19
  stroke: "#0369a1";
20
20
  hiContrast: "#f0f9ff";
21
- loContrast: "#e0f2fe";
21
+ loContrast: "#B6ECF7";
22
22
  };
23
23
  readonly sky: {
24
24
  fill: "#0284c7";
25
25
  stroke: "#0369a1";
26
26
  hiContrast: "#f0f9ff";
27
- loContrast: "#e0f2fe";
27
+ loContrast: "#B6ECF7";
28
28
  };
29
29
  readonly muted: {
30
30
  fill: "#64748b";
31
31
  stroke: "#475569";
32
32
  hiContrast: "#f8fafc";
33
- loContrast: "#e2e8f0";
33
+ loContrast: "#cbd5e1";
34
34
  };
35
35
  readonly slate: {
36
36
  fill: "#64748b";
37
37
  stroke: "#475569";
38
38
  hiContrast: "#f8fafc";
39
- loContrast: "#e2e8f0";
39
+ loContrast: "#cbd5e1";
40
40
  };
41
41
  readonly gray: {
42
42
  readonly fill: "#737373";
43
43
  readonly stroke: "#525252";
44
44
  readonly hiContrast: "#fafafa";
45
- readonly loContrast: "#e5e5e5";
45
+ readonly loContrast: "#d4d4d4";
46
46
  };
47
47
  readonly red: {
48
- readonly fill: "#b54548";
49
- readonly stroke: "#8c333a";
50
- readonly hiContrast: "#f8fafc";
51
- readonly loContrast: "#F9C6C6";
48
+ readonly fill: "#AC4D39";
49
+ readonly stroke: "#853A2D";
50
+ readonly hiContrast: "#FBD3CB";
51
+ readonly loContrast: "#FF977D";
52
52
  };
53
53
  readonly green: {
54
54
  readonly fill: "#428a4f";
@@ -57,10 +57,10 @@ export declare const defaultTheme: {
57
57
  readonly loContrast: "#c2f0c2";
58
58
  };
59
59
  readonly amber: {
60
- readonly fill: "#d97706";
61
- readonly stroke: "#b45309";
62
- readonly hiContrast: "#f8fafc";
63
- readonly loContrast: "#ffe0c2";
60
+ readonly fill: "#A35829";
61
+ readonly stroke: "#7E451D";
62
+ readonly hiContrast: "#FFE0C2";
63
+ readonly loContrast: "#FFA057";
64
64
  };
65
65
  readonly indigo: {
66
66
  readonly fill: "#6366f1";
@@ -73,7 +73,7 @@ export declare const defaultTheme: {
73
73
  amber: {
74
74
  lineColor: "#b45309";
75
75
  labelBgColor: "#78350f";
76
- labelColor: "#f59e0b";
76
+ labelColor: "#FFE0C2";
77
77
  };
78
78
  blue: {
79
79
  lineColor: "#3b82f6";
@@ -106,9 +106,9 @@ export declare const defaultTheme: {
106
106
  labelColor: "#60a5fa";
107
107
  };
108
108
  red: {
109
- lineColor: "#b91c1c";
109
+ lineColor: "#AC4D39";
110
110
  labelBgColor: "#b91c1c";
111
- labelColor: "#dc2626";
111
+ labelColor: "#FF977D";
112
112
  };
113
113
  secondary: {
114
114
  lineColor: "#0ea5e9";
@@ -2,7 +2,7 @@ export declare const RelationshipColors: {
2
2
  amber: {
3
3
  lineColor: "#b45309";
4
4
  labelBgColor: "#78350f";
5
- labelColor: "#f59e0b";
5
+ labelColor: "#FFE0C2";
6
6
  };
7
7
  blue: {
8
8
  lineColor: "#3b82f6";
@@ -35,9 +35,9 @@ export declare const RelationshipColors: {
35
35
  labelColor: "#60a5fa";
36
36
  };
37
37
  red: {
38
- lineColor: "#b91c1c";
38
+ lineColor: "#AC4D39";
39
39
  labelBgColor: "#b91c1c";
40
- labelColor: "#dc2626";
40
+ labelColor: "#FF977D";
41
41
  };
42
42
  secondary: {
43
43
  lineColor: "#0ea5e9";
@@ -31,7 +31,7 @@ export const RelationshipColors = {
31
31
  amber: {
32
32
  lineColor: "#b45309",
33
33
  labelBgColor: "#78350f",
34
- labelColor: "#f59e0b"
34
+ labelColor: "#FFE0C2"
35
35
  },
36
36
  blue,
37
37
  gray,
@@ -54,9 +54,9 @@ export const RelationshipColors = {
54
54
  muted: slate,
55
55
  primary: blue,
56
56
  red: {
57
- lineColor: "#b91c1c",
57
+ lineColor: "#AC4D39",
58
58
  labelBgColor: "#b91c1c",
59
- labelColor: "#dc2626"
59
+ labelColor: "#FF977D"
60
60
  },
61
61
  secondary: sky,
62
62
  sky,
@@ -15,37 +15,37 @@ export declare const ElementColors: {
15
15
  fill: "#0284c7";
16
16
  stroke: "#0369a1";
17
17
  hiContrast: "#f0f9ff";
18
- loContrast: "#e0f2fe";
18
+ loContrast: "#B6ECF7";
19
19
  };
20
20
  readonly sky: {
21
21
  fill: "#0284c7";
22
22
  stroke: "#0369a1";
23
23
  hiContrast: "#f0f9ff";
24
- loContrast: "#e0f2fe";
24
+ loContrast: "#B6ECF7";
25
25
  };
26
26
  readonly muted: {
27
27
  fill: "#64748b";
28
28
  stroke: "#475569";
29
29
  hiContrast: "#f8fafc";
30
- loContrast: "#e2e8f0";
30
+ loContrast: "#cbd5e1";
31
31
  };
32
32
  readonly slate: {
33
33
  fill: "#64748b";
34
34
  stroke: "#475569";
35
35
  hiContrast: "#f8fafc";
36
- loContrast: "#e2e8f0";
36
+ loContrast: "#cbd5e1";
37
37
  };
38
38
  readonly gray: {
39
39
  readonly fill: "#737373";
40
40
  readonly stroke: "#525252";
41
41
  readonly hiContrast: "#fafafa";
42
- readonly loContrast: "#e5e5e5";
42
+ readonly loContrast: "#d4d4d4";
43
43
  };
44
44
  readonly red: {
45
- readonly fill: "#b54548";
46
- readonly stroke: "#8c333a";
47
- readonly hiContrast: "#f8fafc";
48
- readonly loContrast: "#F9C6C6";
45
+ readonly fill: "#AC4D39";
46
+ readonly stroke: "#853A2D";
47
+ readonly hiContrast: "#FBD3CB";
48
+ readonly loContrast: "#FF977D";
49
49
  };
50
50
  readonly green: {
51
51
  readonly fill: "#428a4f";
@@ -54,10 +54,10 @@ export declare const ElementColors: {
54
54
  readonly loContrast: "#c2f0c2";
55
55
  };
56
56
  readonly amber: {
57
- readonly fill: "#d97706";
58
- readonly stroke: "#b45309";
59
- readonly hiContrast: "#f8fafc";
60
- readonly loContrast: "#ffe0c2";
57
+ readonly fill: "#A35829";
58
+ readonly stroke: "#7E451D";
59
+ readonly hiContrast: "#FFE0C2";
60
+ readonly loContrast: "#FFA057";
61
61
  };
62
62
  readonly indigo: {
63
63
  readonly fill: "#6366f1";
@@ -18,37 +18,37 @@ export declare const defaultTheme: {
18
18
  fill: "#0284c7";
19
19
  stroke: "#0369a1";
20
20
  hiContrast: "#f0f9ff";
21
- loContrast: "#e0f2fe";
21
+ loContrast: "#B6ECF7";
22
22
  };
23
23
  readonly sky: {
24
24
  fill: "#0284c7";
25
25
  stroke: "#0369a1";
26
26
  hiContrast: "#f0f9ff";
27
- loContrast: "#e0f2fe";
27
+ loContrast: "#B6ECF7";
28
28
  };
29
29
  readonly muted: {
30
30
  fill: "#64748b";
31
31
  stroke: "#475569";
32
32
  hiContrast: "#f8fafc";
33
- loContrast: "#e2e8f0";
33
+ loContrast: "#cbd5e1";
34
34
  };
35
35
  readonly slate: {
36
36
  fill: "#64748b";
37
37
  stroke: "#475569";
38
38
  hiContrast: "#f8fafc";
39
- loContrast: "#e2e8f0";
39
+ loContrast: "#cbd5e1";
40
40
  };
41
41
  readonly gray: {
42
42
  readonly fill: "#737373";
43
43
  readonly stroke: "#525252";
44
44
  readonly hiContrast: "#fafafa";
45
- readonly loContrast: "#e5e5e5";
45
+ readonly loContrast: "#d4d4d4";
46
46
  };
47
47
  readonly red: {
48
- readonly fill: "#b54548";
49
- readonly stroke: "#8c333a";
50
- readonly hiContrast: "#f8fafc";
51
- readonly loContrast: "#F9C6C6";
48
+ readonly fill: "#AC4D39";
49
+ readonly stroke: "#853A2D";
50
+ readonly hiContrast: "#FBD3CB";
51
+ readonly loContrast: "#FF977D";
52
52
  };
53
53
  readonly green: {
54
54
  readonly fill: "#428a4f";
@@ -57,10 +57,10 @@ export declare const defaultTheme: {
57
57
  readonly loContrast: "#c2f0c2";
58
58
  };
59
59
  readonly amber: {
60
- readonly fill: "#d97706";
61
- readonly stroke: "#b45309";
62
- readonly hiContrast: "#f8fafc";
63
- readonly loContrast: "#ffe0c2";
60
+ readonly fill: "#A35829";
61
+ readonly stroke: "#7E451D";
62
+ readonly hiContrast: "#FFE0C2";
63
+ readonly loContrast: "#FFA057";
64
64
  };
65
65
  readonly indigo: {
66
66
  readonly fill: "#6366f1";
@@ -73,7 +73,7 @@ export declare const defaultTheme: {
73
73
  amber: {
74
74
  lineColor: "#b45309";
75
75
  labelBgColor: "#78350f";
76
- labelColor: "#f59e0b";
76
+ labelColor: "#FFE0C2";
77
77
  };
78
78
  blue: {
79
79
  lineColor: "#3b82f6";
@@ -106,9 +106,9 @@ export declare const defaultTheme: {
106
106
  labelColor: "#60a5fa";
107
107
  };
108
108
  red: {
109
- lineColor: "#b91c1c";
109
+ lineColor: "#AC4D39";
110
110
  labelBgColor: "#b91c1c";
111
- labelColor: "#dc2626";
111
+ labelColor: "#FF977D";
112
112
  };
113
113
  secondary: {
114
114
  lineColor: "#0ea5e9";
@@ -2,7 +2,7 @@ export declare const RelationshipColors: {
2
2
  amber: {
3
3
  lineColor: "#b45309";
4
4
  labelBgColor: "#78350f";
5
- labelColor: "#f59e0b";
5
+ labelColor: "#FFE0C2";
6
6
  };
7
7
  blue: {
8
8
  lineColor: "#3b82f6";
@@ -35,9 +35,9 @@ export declare const RelationshipColors: {
35
35
  labelColor: "#60a5fa";
36
36
  };
37
37
  red: {
38
- lineColor: "#b91c1c";
38
+ lineColor: "#AC4D39";
39
39
  labelBgColor: "#b91c1c";
40
- labelColor: "#dc2626";
40
+ labelColor: "#FF977D";
41
41
  };
42
42
  secondary: {
43
43
  lineColor: "#0ea5e9";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likec4/core",
3
- "version": "0.44.0",
3
+ "version": "0.45.0",
4
4
  "license": "MIT",
5
5
  "homepage": "https://likec4.dev",
6
6
  "author": "Denis Davydkov <denis@davydkov.com>",
@@ -88,7 +88,7 @@
88
88
  "unbuild": "^2.0.0",
89
89
  "vitest": "^0.34.6"
90
90
  },
91
- "packageManager": "yarn@3.6.4",
91
+ "packageManager": "yarn@4.0.1",
92
92
  "volta": {
93
93
  "extends": "../../package.json"
94
94
  },