@cryptlex/web-components 1.6.4 → 2.0.1

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/lib/index.css CHANGED
@@ -1,3 +1,4 @@
1
1
  @import 'tailwindcss';
2
2
  @import './tokens.css';
3
- @import './tailwind.preset.css';
3
+ @import './tailwind.theme.css';
4
+ @import './tailwind.base.css';
@@ -0,0 +1,52 @@
1
+ @layer base {
2
+ * {
3
+ @apply border-border outline-ring/50;
4
+ }
5
+
6
+ a {
7
+ @apply link;
8
+ }
9
+
10
+ h1 {
11
+ @apply h1;
12
+ }
13
+
14
+ h2 {
15
+ @apply h2;
16
+ }
17
+
18
+ h3 {
19
+ @apply h3;
20
+ }
21
+
22
+ h4 {
23
+ @apply h4;
24
+ }
25
+
26
+ h5 {
27
+ @apply h5;
28
+ }
29
+
30
+ h6 {
31
+ @apply h6;
32
+ }
33
+
34
+ body {
35
+ @apply bg-background text-foreground;
36
+ }
37
+
38
+ *::-webkit-scrollbar {
39
+ width: 6px;
40
+ height: 6px;
41
+ }
42
+
43
+ *::-webkit-scrollbar-track {
44
+ background: white;
45
+ border-radius: 2px;
46
+ }
47
+
48
+ *::-webkit-scrollbar-thumb {
49
+ background-color: gray;
50
+ border: 3px solid gray;
51
+ }
52
+ }
@@ -2,7 +2,7 @@
2
2
 
3
3
  @plugin "tailwindcss-animate";
4
4
 
5
- @theme {
5
+ @theme static {
6
6
  /* Radius */
7
7
  --radius: 0.25rem;
8
8
  --radius-sm: calc(var(--radius) - 4px);
@@ -235,57 +235,4 @@
235
235
 
236
236
  @utility input {
237
237
  @apply w-full rounded-md border border-input bg-background px-3 py-2 body placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50;
238
- }
239
-
240
- @layer base {
241
- * {
242
- @apply border-border outline-ring/50;
243
- }
244
-
245
- a {
246
- @apply link;
247
- }
248
-
249
- h1 {
250
- @apply h1;
251
- }
252
-
253
- h2 {
254
- @apply h2;
255
- }
256
-
257
- h3 {
258
- @apply h3;
259
- }
260
-
261
- h4 {
262
- @apply h4;
263
- }
264
-
265
- h5 {
266
- @apply h5;
267
- }
268
-
269
- h6 {
270
- @apply h6;
271
- }
272
-
273
- body {
274
- @apply bg-background text-foreground;
275
- }
276
-
277
- *::-webkit-scrollbar {
278
- width: 6px;
279
- height: 6px;
280
- }
281
-
282
- *::-webkit-scrollbar-track {
283
- background: white;
284
- border-radius: 2px;
285
- }
286
-
287
- *::-webkit-scrollbar-thumb {
288
- background-color: gray;
289
- border: 3px solid gray;
290
- }
291
238
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptlex/web-components",
3
- "version": "1.6.4",
3
+ "version": "2.0.1",
4
4
  "description": "React component library for Cryptlex web applications",
5
5
  "author": "Cryptlex",
6
6
  "type": "module",
@@ -13,13 +13,14 @@
13
13
  "types": "./dist/index.es.d.ts",
14
14
  "import": "./dist/index.es.js"
15
15
  },
16
- "./index.css": "./lib/index.css",
17
16
  "./tokens.css": "./lib/tokens.css",
18
- "./tailwind.preset.css": "./lib/tailwind.preset.css"
17
+ "./tailwind.theme.css": "./lib/tailwind.theme.css",
18
+ "./tailwind.base.css": "./lib/tailwind.base.css"
19
19
  },
20
20
  "files": [
21
21
  "dist",
22
- "lib/tailwind.preset.css",
22
+ "lib/tailwind.theme.css",
23
+ "lib/tailwind.base.css",
23
24
  "lib/tokens.css",
24
25
  "lib/index.css"
25
26
  ],