@luminescent/ui 3.0.1 → 3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "Luminescent UI library",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib-types/index.d.ts",
@@ -1,9 +1,9 @@
1
1
  a {
2
- @apply text-blue-400 no-underline;
2
+ @apply text-blue-400 no-underline hover:text-blue-500 hover:underline;
3
3
  }
4
4
 
5
- a:hover {
6
- @apply text-blue-500 underline;
5
+ a.lum-btn, a.lum-card {
6
+ @apply text-gray-100! hover:no-underline!;
7
7
  }
8
8
 
9
9
  blockquote {
@@ -19,23 +19,23 @@ blockquote p:last-child {
19
19
  }
20
20
 
21
21
  h1, h2, h3, h4, h5, h6 {
22
- @apply relative text-xl font-semibold scroll-mt-36;
22
+ @apply relative text-lg sm:text-xl font-semibold scroll-mt-36;
23
23
  }
24
24
 
25
25
  h1 {
26
- @apply text-5xl font-extrabold;
26
+ @apply text-4xl sm:text-5xl font-extrabold;
27
27
  }
28
28
 
29
29
  h2 {
30
- @apply text-4xl font-bold;
30
+ @apply text-3xl sm:text-4xl font-bold;
31
31
  }
32
32
 
33
33
  h3 {
34
- @apply text-3xl;
34
+ @apply text-2xl sm:text-3xl;
35
35
  }
36
36
 
37
37
  h4 {
38
- @apply text-2xl;
38
+ @apply text-xl sm:text-2xl;
39
39
  }
40
40
 
41
41
  p {
@@ -58,26 +58,16 @@ pre {
58
58
  @apply rounded-md overflow-auto p-4 bg-gray-800 my-2;
59
59
  }
60
60
 
61
+ pre.shiki {
62
+ @apply lum-card;
63
+ }
64
+
61
65
  pre code {
62
66
  @apply border-none select-auto bg-transparent;
63
67
  }
64
68
 
65
69
  code {
66
- @apply bg-gray-800 py-0.5 px-1 rounded-md select-all border-b-2 border-b-gray-700;
67
- }
68
-
69
- @media (max-width: 640px) {
70
- code {
71
- @apply break-all;
72
- }
73
-
74
- h1 {
75
- @apply text-4xl;
76
- }
77
-
78
- h2 {
79
- @apply text-3xl;
80
- }
70
+ @apply bg-gray-800 py-0.5 px-1 rounded-md select-all border-b-2 border-b-gray-700 break-all sm:break-normal;
81
71
  }
82
72
 
83
73
  table {
package/src/index.css CHANGED
@@ -24,7 +24,7 @@
24
24
  }
25
25
 
26
26
  @utility lum-btn {
27
- @apply flex items-center gap-3 motion-safe:transition duration-300 hover:duration-75 ease-out disabled:opacity-50 hover:drop-shadow-lg motion-safe:active:scale-95 whitespace-nowrap touch-manipulation select-none text-center lum-btn-p-2 text-base lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md;
27
+ @apply flex items-center gap-3 motion-safe:transition duration-300 hover:duration-75 ease-out disabled:opacity-50 hover:drop-shadow-lg motion-safe:active:scale-95 whitespace-nowrap touch-manipulation select-none lum-btn-p-2 text-base lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md;
28
28
  }
29
29
 
30
30
  @utility lum-card {