@nextui-org/theme 0.0.0-dev-v2-20230326012034

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 (181) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +24 -0
  3. package/colors.d.ts +1 -0
  4. package/colors.js +1 -0
  5. package/dist/animations/index.d.ts +57 -0
  6. package/dist/animations/index.js +84 -0
  7. package/dist/animations/index.mjs +6 -0
  8. package/dist/chunk-37PIXVP4.mjs +33 -0
  9. package/dist/chunk-45FXWIO6.mjs +70 -0
  10. package/dist/chunk-5OE5CWK6.mjs +84 -0
  11. package/dist/chunk-5SJ7B53O.mjs +0 -0
  12. package/dist/chunk-5Z3NCB7W.mjs +391 -0
  13. package/dist/chunk-7BYRB2YS.mjs +386 -0
  14. package/dist/chunk-7MQD7UA2.mjs +16 -0
  15. package/dist/chunk-B5S7HT6N.mjs +44 -0
  16. package/dist/chunk-CMYR6AOY.mjs +0 -0
  17. package/dist/chunk-CO6ANWRA.mjs +125 -0
  18. package/dist/chunk-CRCBVLUP.mjs +38 -0
  19. package/dist/chunk-D4TJV7NY.mjs +206 -0
  20. package/dist/chunk-DCEG5LGX.mjs +17 -0
  21. package/dist/chunk-FS36US4S.mjs +25 -0
  22. package/dist/chunk-HHWXPWYN.mjs +13 -0
  23. package/dist/chunk-IJCHUO4J.mjs +38 -0
  24. package/dist/chunk-K7LK7NCE.mjs +0 -0
  25. package/dist/chunk-KZJBCC2H.mjs +17 -0
  26. package/dist/chunk-L2OL7R23.mjs +17 -0
  27. package/dist/chunk-LGGZKBOO.mjs +77 -0
  28. package/dist/chunk-M63AFAHO.mjs +0 -0
  29. package/dist/chunk-MLH3XSY7.mjs +14 -0
  30. package/dist/chunk-NJQP2VWT.mjs +160 -0
  31. package/dist/chunk-OIVGIOVG.mjs +9 -0
  32. package/dist/chunk-OR5PUD24.mjs +17 -0
  33. package/dist/chunk-OSARGUKT.mjs +326 -0
  34. package/dist/chunk-QIC7EALL.mjs +277 -0
  35. package/dist/chunk-QMP2FDFR.mjs +240 -0
  36. package/dist/chunk-QPN3H4E3.mjs +60 -0
  37. package/dist/chunk-RD42SVXB.mjs +90 -0
  38. package/dist/chunk-T3GWIVAM.mjs +17 -0
  39. package/dist/chunk-TV7EJNXI.mjs +457 -0
  40. package/dist/chunk-U77YMEWM.mjs +13 -0
  41. package/dist/chunk-VB4T62HR.mjs +159 -0
  42. package/dist/chunk-VKFQ7EZN.mjs +17 -0
  43. package/dist/chunk-WQEDQHKX.mjs +0 -0
  44. package/dist/chunk-Y37XC5QN.mjs +169 -0
  45. package/dist/chunk-Y4YW5MKL.mjs +17 -0
  46. package/dist/chunk-Y52EXP4A.mjs +142 -0
  47. package/dist/chunk-YYBLBQIV.mjs +16 -0
  48. package/dist/chunk-YZYGFPNK.mjs +17 -0
  49. package/dist/chunk-Z5OKZPNV.mjs +190 -0
  50. package/dist/colors/blue.d.ts +14 -0
  51. package/dist/colors/blue.js +41 -0
  52. package/dist/colors/blue.mjs +6 -0
  53. package/dist/colors/common.d.ts +91 -0
  54. package/dist/colors/common.js +140 -0
  55. package/dist/colors/common.mjs +13 -0
  56. package/dist/colors/cyan.d.ts +14 -0
  57. package/dist/colors/cyan.js +41 -0
  58. package/dist/colors/cyan.mjs +6 -0
  59. package/dist/colors/green.d.ts +14 -0
  60. package/dist/colors/green.js +41 -0
  61. package/dist/colors/green.mjs +6 -0
  62. package/dist/colors/index.d.ts +97 -0
  63. package/dist/colors/index.js +306 -0
  64. package/dist/colors/index.mjs +23 -0
  65. package/dist/colors/pink.d.ts +14 -0
  66. package/dist/colors/pink.js +41 -0
  67. package/dist/colors/pink.mjs +6 -0
  68. package/dist/colors/purple.d.ts +14 -0
  69. package/dist/colors/purple.js +41 -0
  70. package/dist/colors/purple.mjs +6 -0
  71. package/dist/colors/red.d.ts +14 -0
  72. package/dist/colors/red.js +41 -0
  73. package/dist/colors/red.mjs +6 -0
  74. package/dist/colors/semantic.d.ts +10 -0
  75. package/dist/colors/semantic.js +298 -0
  76. package/dist/colors/semantic.mjs +19 -0
  77. package/dist/colors/types.d.ts +37 -0
  78. package/dist/colors/types.js +18 -0
  79. package/dist/colors/types.mjs +1 -0
  80. package/dist/colors/yellow.d.ts +14 -0
  81. package/dist/colors/yellow.js +41 -0
  82. package/dist/colors/yellow.mjs +6 -0
  83. package/dist/colors.d.ts +4 -0
  84. package/dist/colors.js +306 -0
  85. package/dist/colors.mjs +24 -0
  86. package/dist/components/accordion-item.d.ts +135 -0
  87. package/dist/components/accordion-item.js +122 -0
  88. package/dist/components/accordion-item.mjs +10 -0
  89. package/dist/components/accordion.d.ts +30 -0
  90. package/dist/components/accordion.js +40 -0
  91. package/dist/components/accordion.mjs +6 -0
  92. package/dist/components/avatar-group.d.ts +26 -0
  93. package/dist/components/avatar-group.js +38 -0
  94. package/dist/components/avatar-group.mjs +6 -0
  95. package/dist/components/avatar.d.ts +211 -0
  96. package/dist/components/avatar.js +315 -0
  97. package/dist/components/avatar.mjs +10 -0
  98. package/dist/components/badge.d.ts +235 -0
  99. package/dist/components/badge.js +487 -0
  100. package/dist/components/badge.mjs +10 -0
  101. package/dist/components/button-group.d.ts +26 -0
  102. package/dist/components/button-group.js +41 -0
  103. package/dist/components/button-group.mjs +6 -0
  104. package/dist/components/button.d.ts +122 -0
  105. package/dist/components/button.js +429 -0
  106. package/dist/components/button.mjs +10 -0
  107. package/dist/components/card.d.ts +239 -0
  108. package/dist/components/card.js +222 -0
  109. package/dist/components/card.mjs +10 -0
  110. package/dist/components/checkbox-group.d.ts +32 -0
  111. package/dist/components/checkbox-group.js +37 -0
  112. package/dist/components/checkbox-group.mjs +6 -0
  113. package/dist/components/checkbox.d.ts +226 -0
  114. package/dist/components/checkbox.js +192 -0
  115. package/dist/components/checkbox.mjs +10 -0
  116. package/dist/components/chip.d.ts +274 -0
  117. package/dist/components/chip.js +560 -0
  118. package/dist/components/chip.mjs +10 -0
  119. package/dist/components/code.d.ts +68 -0
  120. package/dist/components/code.js +140 -0
  121. package/dist/components/code.mjs +10 -0
  122. package/dist/components/drip.d.ts +14 -0
  123. package/dist/components/drip.js +33 -0
  124. package/dist/components/drip.mjs +6 -0
  125. package/dist/components/index.d.ts +24 -0
  126. package/dist/components/index.js +3442 -0
  127. package/dist/components/index.mjs +95 -0
  128. package/dist/components/link.d.ts +74 -0
  129. package/dist/components/link.js +117 -0
  130. package/dist/components/link.mjs +10 -0
  131. package/dist/components/pagination.d.ts +201 -0
  132. package/dist/components/pagination.js +489 -0
  133. package/dist/components/pagination.mjs +10 -0
  134. package/dist/components/radio-group.d.ts +32 -0
  135. package/dist/components/radio-group.js +37 -0
  136. package/dist/components/radio-group.mjs +6 -0
  137. package/dist/components/radio.d.ts +271 -0
  138. package/dist/components/radio.js +201 -0
  139. package/dist/components/radio.mjs +10 -0
  140. package/dist/components/snippet.d.ts +184 -0
  141. package/dist/components/snippet.js +343 -0
  142. package/dist/components/snippet.mjs +10 -0
  143. package/dist/components/spinner.d.ts +192 -0
  144. package/dist/components/spinner.js +149 -0
  145. package/dist/components/spinner.mjs +6 -0
  146. package/dist/components/toggle.d.ts +197 -0
  147. package/dist/components/toggle.js +191 -0
  148. package/dist/components/toggle.mjs +10 -0
  149. package/dist/components/tooltip.d.ts +176 -0
  150. package/dist/components/tooltip.js +373 -0
  151. package/dist/components/tooltip.mjs +10 -0
  152. package/dist/components/user.d.ts +40 -0
  153. package/dist/components/user.js +57 -0
  154. package/dist/components/user.mjs +10 -0
  155. package/dist/index.d.ts +35 -0
  156. package/dist/index.js +3747 -0
  157. package/dist/index.mjs +138 -0
  158. package/dist/plugin.d.ts +38 -0
  159. package/dist/plugin.js +564 -0
  160. package/dist/plugin.mjs +151 -0
  161. package/dist/utilities/index.d.ts +72 -0
  162. package/dist/utilities/index.js +94 -0
  163. package/dist/utilities/index.mjs +6 -0
  164. package/dist/utils/index.d.ts +4 -0
  165. package/dist/utils/index.js +144 -0
  166. package/dist/utils/index.mjs +20 -0
  167. package/dist/utils/object.d.ts +4 -0
  168. package/dist/utils/object.js +58 -0
  169. package/dist/utils/object.mjs +8 -0
  170. package/dist/utils/styles.d.ts +20 -0
  171. package/dist/utils/styles.js +66 -0
  172. package/dist/utils/styles.mjs +14 -0
  173. package/dist/utils/types.d.ts +10 -0
  174. package/dist/utils/types.js +18 -0
  175. package/dist/utils/types.mjs +1 -0
  176. package/dist/utils/variants.d.ts +67 -0
  177. package/dist/utils/variants.js +101 -0
  178. package/dist/utils/variants.mjs +6 -0
  179. package/package.json +85 -0
  180. package/plugin.d.ts +1 -0
  181. package/plugin.js +1 -0
@@ -0,0 +1,140 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/colors/common.ts
21
+ var common_exports = {};
22
+ __export(common_exports, {
23
+ commonColors: () => commonColors
24
+ });
25
+ module.exports = __toCommonJS(common_exports);
26
+
27
+ // src/colors/blue.ts
28
+ var blue = {
29
+ 50: "#e6f1fe",
30
+ 100: "#cce3fd",
31
+ 200: "#99c7fb",
32
+ 300: "#66aaf9",
33
+ 400: "#338ef7",
34
+ 500: "#0072f5",
35
+ 600: "#005bc4",
36
+ 700: "#004493",
37
+ 800: "#002e62",
38
+ 900: "#001731"
39
+ };
40
+
41
+ // src/colors/green.ts
42
+ var green = {
43
+ 50: "#e8faf0",
44
+ 100: "#d1f4e0",
45
+ 200: "#a2e9c1",
46
+ 300: "#74dfa2",
47
+ 400: "#45d483",
48
+ 500: "#17c964",
49
+ 600: "#12a150",
50
+ 700: "#0e793c",
51
+ 800: "#095028",
52
+ 900: "#052814"
53
+ };
54
+
55
+ // src/colors/pink.ts
56
+ var pink = {
57
+ 50: "#ffedfa",
58
+ 100: "#ffdcf5",
59
+ 200: "#ffb8eb",
60
+ 300: "#ff95e1",
61
+ 400: "#ff71d7",
62
+ 500: "#ff4ecd",
63
+ 600: "#cc3ea4",
64
+ 700: "#992f7b",
65
+ 800: "#661f52",
66
+ 900: "#331029"
67
+ };
68
+
69
+ // src/colors/purple.ts
70
+ var purple = {
71
+ 50: "#f2eafa",
72
+ 100: "#e4d4f4",
73
+ 200: "#c9a9e9",
74
+ 300: "#ae7ede",
75
+ 400: "#9353d3",
76
+ 500: "#7828c8",
77
+ 600: "#6020a0",
78
+ 700: "#481878",
79
+ 800: "#301050",
80
+ 900: "#180828"
81
+ };
82
+
83
+ // src/colors/red.ts
84
+ var red = {
85
+ 50: "#fee7ef",
86
+ 100: "#fdd0df",
87
+ 200: "#faa0bf",
88
+ 300: "#f871a0",
89
+ 400: "#f54180",
90
+ 500: "#f31260",
91
+ 600: "#c20e4d",
92
+ 700: "#920b3a",
93
+ 800: "#610726",
94
+ 900: "#310413"
95
+ };
96
+
97
+ // src/colors/yellow.ts
98
+ var yellow = {
99
+ 50: "#fef6e9",
100
+ 100: "#fdedd3",
101
+ 200: "#fbdba7",
102
+ 300: "#f9c97c",
103
+ 400: "#f7b750",
104
+ 500: "#f5a524",
105
+ 600: "#c4841d",
106
+ 700: "#936316",
107
+ 800: "#62420e",
108
+ 900: "#312107"
109
+ };
110
+
111
+ // src/colors/cyan.ts
112
+ var cyan = {
113
+ 50: "#F0FCFF",
114
+ 100: "#E6FAFE",
115
+ 200: "#D7F8FE",
116
+ 300: "#C3F4FD",
117
+ 400: "#A5EEFD",
118
+ 500: "#7EE7FC",
119
+ 600: "#06B7DB",
120
+ 700: "#09AACD",
121
+ 800: "#0E8AAA",
122
+ 900: "#053B48"
123
+ };
124
+
125
+ // src/colors/common.ts
126
+ var commonColors = {
127
+ white: "#ffffff",
128
+ black: "#000000",
129
+ blue,
130
+ green,
131
+ pink,
132
+ purple,
133
+ red,
134
+ yellow,
135
+ cyan
136
+ };
137
+ // Annotate the CommonJS export names for ESM import in node:
138
+ 0 && (module.exports = {
139
+ commonColors
140
+ });
@@ -0,0 +1,13 @@
1
+ import {
2
+ commonColors
3
+ } from "../chunk-CRCBVLUP.mjs";
4
+ import "../chunk-DCEG5LGX.mjs";
5
+ import "../chunk-L2OL7R23.mjs";
6
+ import "../chunk-YZYGFPNK.mjs";
7
+ import "../chunk-Y4YW5MKL.mjs";
8
+ import "../chunk-KZJBCC2H.mjs";
9
+ import "../chunk-T3GWIVAM.mjs";
10
+ import "../chunk-OR5PUD24.mjs";
11
+ export {
12
+ commonColors
13
+ };
@@ -0,0 +1,14 @@
1
+ declare const cyan: {
2
+ 50: string;
3
+ 100: string;
4
+ 200: string;
5
+ 300: string;
6
+ 400: string;
7
+ 500: string;
8
+ 600: string;
9
+ 700: string;
10
+ 800: string;
11
+ 900: string;
12
+ };
13
+
14
+ export { cyan };
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/colors/cyan.ts
21
+ var cyan_exports = {};
22
+ __export(cyan_exports, {
23
+ cyan: () => cyan
24
+ });
25
+ module.exports = __toCommonJS(cyan_exports);
26
+ var cyan = {
27
+ 50: "#F0FCFF",
28
+ 100: "#E6FAFE",
29
+ 200: "#D7F8FE",
30
+ 300: "#C3F4FD",
31
+ 400: "#A5EEFD",
32
+ 500: "#7EE7FC",
33
+ 600: "#06B7DB",
34
+ 700: "#09AACD",
35
+ 800: "#0E8AAA",
36
+ 900: "#053B48"
37
+ };
38
+ // Annotate the CommonJS export names for ESM import in node:
39
+ 0 && (module.exports = {
40
+ cyan
41
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ cyan
3
+ } from "../chunk-T3GWIVAM.mjs";
4
+ export {
5
+ cyan
6
+ };
@@ -0,0 +1,14 @@
1
+ declare const green: {
2
+ 50: string;
3
+ 100: string;
4
+ 200: string;
5
+ 300: string;
6
+ 400: string;
7
+ 500: string;
8
+ 600: string;
9
+ 700: string;
10
+ 800: string;
11
+ 900: string;
12
+ };
13
+
14
+ export { green };
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/colors/green.ts
21
+ var green_exports = {};
22
+ __export(green_exports, {
23
+ green: () => green
24
+ });
25
+ module.exports = __toCommonJS(green_exports);
26
+ var green = {
27
+ 50: "#e8faf0",
28
+ 100: "#d1f4e0",
29
+ 200: "#a2e9c1",
30
+ 300: "#74dfa2",
31
+ 400: "#45d483",
32
+ 500: "#17c964",
33
+ 600: "#12a150",
34
+ 700: "#0e793c",
35
+ 800: "#095028",
36
+ 900: "#052814"
37
+ };
38
+ // Annotate the CommonJS export names for ESM import in node:
39
+ 0 && (module.exports = {
40
+ green
41
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ green
3
+ } from "../chunk-OR5PUD24.mjs";
4
+ export {
5
+ green
6
+ };
@@ -0,0 +1,97 @@
1
+ import { SemanticColors } from './types.js';
2
+ export { BaseColors, ColorScale, SemanticBaseColors } from './types.js';
3
+ export { commonColors } from './common.js';
4
+ export { semanticColors } from './semantic.js';
5
+
6
+ declare const colors: {
7
+ light: SemanticColors;
8
+ dark: SemanticColors;
9
+ white: string;
10
+ black: string;
11
+ blue: {
12
+ 50: string;
13
+ 100: string;
14
+ 200: string;
15
+ 300: string;
16
+ 400: string;
17
+ 500: string;
18
+ 600: string;
19
+ 700: string;
20
+ 800: string;
21
+ 900: string;
22
+ };
23
+ green: {
24
+ 50: string;
25
+ 100: string;
26
+ 200: string;
27
+ 300: string;
28
+ 400: string;
29
+ 500: string;
30
+ 600: string;
31
+ 700: string;
32
+ 800: string;
33
+ 900: string;
34
+ };
35
+ pink: {
36
+ 50: string;
37
+ 100: string;
38
+ 200: string;
39
+ 300: string;
40
+ 400: string;
41
+ 500: string;
42
+ 600: string;
43
+ 700: string;
44
+ 800: string;
45
+ 900: string;
46
+ };
47
+ purple: {
48
+ 50: string;
49
+ 100: string;
50
+ 200: string;
51
+ 300: string;
52
+ 400: string;
53
+ 500: string;
54
+ 600: string;
55
+ 700: string;
56
+ 800: string;
57
+ 900: string;
58
+ };
59
+ red: {
60
+ 50: string;
61
+ 100: string;
62
+ 200: string;
63
+ 300: string;
64
+ 400: string;
65
+ 500: string;
66
+ 600: string;
67
+ 700: string;
68
+ 800: string;
69
+ 900: string;
70
+ };
71
+ yellow: {
72
+ 50: string;
73
+ 100: string;
74
+ 200: string;
75
+ 300: string;
76
+ 400: string;
77
+ 500: string;
78
+ 600: string;
79
+ 700: string;
80
+ 800: string;
81
+ 900: string;
82
+ };
83
+ cyan: {
84
+ 50: string;
85
+ 100: string;
86
+ 200: string;
87
+ 300: string;
88
+ 400: string;
89
+ 500: string;
90
+ 600: string;
91
+ 700: string;
92
+ 800: string;
93
+ 900: string;
94
+ };
95
+ };
96
+
97
+ export { SemanticColors, colors };
@@ -0,0 +1,306 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
+ mod
23
+ ));
24
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
+
26
+ // src/colors/index.ts
27
+ var colors_exports = {};
28
+ __export(colors_exports, {
29
+ colors: () => colors,
30
+ commonColors: () => commonColors,
31
+ semanticColors: () => semanticColors
32
+ });
33
+ module.exports = __toCommonJS(colors_exports);
34
+
35
+ // src/colors/blue.ts
36
+ var blue = {
37
+ 50: "#e6f1fe",
38
+ 100: "#cce3fd",
39
+ 200: "#99c7fb",
40
+ 300: "#66aaf9",
41
+ 400: "#338ef7",
42
+ 500: "#0072f5",
43
+ 600: "#005bc4",
44
+ 700: "#004493",
45
+ 800: "#002e62",
46
+ 900: "#001731"
47
+ };
48
+
49
+ // src/colors/green.ts
50
+ var green = {
51
+ 50: "#e8faf0",
52
+ 100: "#d1f4e0",
53
+ 200: "#a2e9c1",
54
+ 300: "#74dfa2",
55
+ 400: "#45d483",
56
+ 500: "#17c964",
57
+ 600: "#12a150",
58
+ 700: "#0e793c",
59
+ 800: "#095028",
60
+ 900: "#052814"
61
+ };
62
+
63
+ // src/colors/pink.ts
64
+ var pink = {
65
+ 50: "#ffedfa",
66
+ 100: "#ffdcf5",
67
+ 200: "#ffb8eb",
68
+ 300: "#ff95e1",
69
+ 400: "#ff71d7",
70
+ 500: "#ff4ecd",
71
+ 600: "#cc3ea4",
72
+ 700: "#992f7b",
73
+ 800: "#661f52",
74
+ 900: "#331029"
75
+ };
76
+
77
+ // src/colors/purple.ts
78
+ var purple = {
79
+ 50: "#f2eafa",
80
+ 100: "#e4d4f4",
81
+ 200: "#c9a9e9",
82
+ 300: "#ae7ede",
83
+ 400: "#9353d3",
84
+ 500: "#7828c8",
85
+ 600: "#6020a0",
86
+ 700: "#481878",
87
+ 800: "#301050",
88
+ 900: "#180828"
89
+ };
90
+
91
+ // src/colors/red.ts
92
+ var red = {
93
+ 50: "#fee7ef",
94
+ 100: "#fdd0df",
95
+ 200: "#faa0bf",
96
+ 300: "#f871a0",
97
+ 400: "#f54180",
98
+ 500: "#f31260",
99
+ 600: "#c20e4d",
100
+ 700: "#920b3a",
101
+ 800: "#610726",
102
+ 900: "#310413"
103
+ };
104
+
105
+ // src/colors/yellow.ts
106
+ var yellow = {
107
+ 50: "#fef6e9",
108
+ 100: "#fdedd3",
109
+ 200: "#fbdba7",
110
+ 300: "#f9c97c",
111
+ 400: "#f7b750",
112
+ 500: "#f5a524",
113
+ 600: "#c4841d",
114
+ 700: "#936316",
115
+ 800: "#62420e",
116
+ 900: "#312107"
117
+ };
118
+
119
+ // src/colors/cyan.ts
120
+ var cyan = {
121
+ 50: "#F0FCFF",
122
+ 100: "#E6FAFE",
123
+ 200: "#D7F8FE",
124
+ 300: "#C3F4FD",
125
+ 400: "#A5EEFD",
126
+ 500: "#7EE7FC",
127
+ 600: "#06B7DB",
128
+ 700: "#09AACD",
129
+ 800: "#0E8AAA",
130
+ 900: "#053B48"
131
+ };
132
+
133
+ // src/colors/common.ts
134
+ var commonColors = {
135
+ white: "#ffffff",
136
+ black: "#000000",
137
+ blue,
138
+ green,
139
+ pink,
140
+ purple,
141
+ red,
142
+ yellow,
143
+ cyan
144
+ };
145
+
146
+ // src/colors/semantic.ts
147
+ var import_colors = __toESM(require("tailwindcss/colors"));
148
+ var import_color2k = require("color2k");
149
+
150
+ // src/utils/object.ts
151
+ function swapColorValues(colors2) {
152
+ const swappedColors = {};
153
+ const keys = Object.keys(colors2);
154
+ const length = keys.length;
155
+ for (let i = 0; i < length / 2; i++) {
156
+ const key1 = keys[i];
157
+ const key2 = keys[length - 1 - i];
158
+ swappedColors[key1] = colors2[key2];
159
+ swappedColors[key2] = colors2[key1];
160
+ }
161
+ if (length % 2 !== 0) {
162
+ const middleKey = keys[Math.floor(length / 2)];
163
+ swappedColors[middleKey] = colors2[middleKey];
164
+ }
165
+ return swappedColors;
166
+ }
167
+
168
+ // src/colors/semantic.ts
169
+ var base = {
170
+ light: {
171
+ background: {
172
+ DEFAULT: "#ffffff"
173
+ },
174
+ foreground: {
175
+ DEFAULT: "#11181C"
176
+ },
177
+ border: {
178
+ DEFAULT: "#00000026"
179
+ },
180
+ content1: {
181
+ DEFAULT: import_colors.default.zinc[50],
182
+ contrastText: import_colors.default.zinc[900]
183
+ },
184
+ content2: {
185
+ DEFAULT: import_colors.default.zinc[100],
186
+ contrastText: import_colors.default.zinc[800]
187
+ },
188
+ content3: {
189
+ DEFAULT: import_colors.default.zinc[200],
190
+ contrastText: import_colors.default.zinc[700]
191
+ },
192
+ content4: {
193
+ DEFAULT: import_colors.default.zinc[300],
194
+ contrastText: import_colors.default.zinc[600]
195
+ }
196
+ },
197
+ dark: {
198
+ background: {
199
+ DEFAULT: "#000000"
200
+ },
201
+ foreground: {
202
+ DEFAULT: "#ECEDEE"
203
+ },
204
+ border: {
205
+ DEFAULT: "#ffffff26"
206
+ },
207
+ content1: {
208
+ DEFAULT: import_colors.default.zinc[900],
209
+ contrastText: import_colors.default.zinc[50]
210
+ },
211
+ content2: {
212
+ DEFAULT: import_colors.default.zinc[800],
213
+ contrastText: import_colors.default.zinc[100]
214
+ },
215
+ content3: {
216
+ DEFAULT: import_colors.default.zinc[700],
217
+ contrastText: import_colors.default.zinc[200]
218
+ },
219
+ content4: {
220
+ DEFAULT: import_colors.default.zinc[600],
221
+ contrastText: import_colors.default.zinc[300]
222
+ }
223
+ }
224
+ };
225
+ var semanticColorsLight = {
226
+ ...base.light,
227
+ neutral: {
228
+ ...import_colors.default.zinc,
229
+ contrastText: (0, import_color2k.readableColor)(import_colors.default.zinc[300]),
230
+ DEFAULT: import_colors.default.zinc[300]
231
+ },
232
+ primary: {
233
+ ...commonColors.blue,
234
+ contrastText: commonColors.white,
235
+ DEFAULT: commonColors.blue[500]
236
+ },
237
+ secondary: {
238
+ ...commonColors.purple,
239
+ contrastText: commonColors.white,
240
+ DEFAULT: commonColors.purple[500]
241
+ },
242
+ success: {
243
+ ...commonColors.green,
244
+ contrastText: commonColors.white,
245
+ DEFAULT: commonColors.green[500]
246
+ },
247
+ warning: {
248
+ ...commonColors.yellow,
249
+ contrastText: commonColors.white,
250
+ DEFAULT: commonColors.yellow[500]
251
+ },
252
+ danger: {
253
+ ...commonColors.red,
254
+ contrastText: commonColors.white,
255
+ DEFAULT: commonColors.red[500]
256
+ }
257
+ };
258
+ var semanticColorsDark = {
259
+ ...base.dark,
260
+ neutral: {
261
+ ...swapColorValues(import_colors.default.zinc),
262
+ contrastText: (0, import_color2k.readableColor)(import_colors.default.zinc[700]),
263
+ DEFAULT: import_colors.default.zinc[700]
264
+ },
265
+ primary: {
266
+ ...swapColorValues(commonColors.blue),
267
+ DEFAULT: commonColors.blue[500],
268
+ contrastText: commonColors.white
269
+ },
270
+ secondary: {
271
+ ...swapColorValues(commonColors.purple),
272
+ contrastText: commonColors.white,
273
+ DEFAULT: commonColors.purple[400]
274
+ },
275
+ success: {
276
+ ...swapColorValues(commonColors.green),
277
+ contrastText: (0, import_color2k.readableColor)(commonColors.green[500]),
278
+ DEFAULT: commonColors.green[500]
279
+ },
280
+ warning: {
281
+ ...swapColorValues(commonColors.yellow),
282
+ contrastText: (0, import_color2k.readableColor)(commonColors.yellow[500]),
283
+ DEFAULT: commonColors.yellow[500]
284
+ },
285
+ danger: {
286
+ ...swapColorValues(commonColors.red),
287
+ contrastText: commonColors.white,
288
+ DEFAULT: commonColors.red[500]
289
+ }
290
+ };
291
+ var semanticColors = {
292
+ light: semanticColorsLight,
293
+ dark: semanticColorsDark
294
+ };
295
+
296
+ // src/colors/index.ts
297
+ var colors = {
298
+ ...commonColors,
299
+ ...semanticColors
300
+ };
301
+ // Annotate the CommonJS export names for ESM import in node:
302
+ 0 && (module.exports = {
303
+ colors,
304
+ commonColors,
305
+ semanticColors
306
+ });
@@ -0,0 +1,23 @@
1
+ import {
2
+ colors
3
+ } from "../chunk-7MQD7UA2.mjs";
4
+ import {
5
+ semanticColors
6
+ } from "../chunk-Y52EXP4A.mjs";
7
+ import "../chunk-37PIXVP4.mjs";
8
+ import "../chunk-M63AFAHO.mjs";
9
+ import {
10
+ commonColors
11
+ } from "../chunk-CRCBVLUP.mjs";
12
+ import "../chunk-DCEG5LGX.mjs";
13
+ import "../chunk-L2OL7R23.mjs";
14
+ import "../chunk-YZYGFPNK.mjs";
15
+ import "../chunk-Y4YW5MKL.mjs";
16
+ import "../chunk-KZJBCC2H.mjs";
17
+ import "../chunk-T3GWIVAM.mjs";
18
+ import "../chunk-OR5PUD24.mjs";
19
+ export {
20
+ colors,
21
+ commonColors,
22
+ semanticColors
23
+ };