@luminescent/ui 4.1.1 → 4.2.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/package.json +2 -2
  2. package/src/formatting.css +14 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui",
3
- "version": "4.1.1",
3
+ "version": "4.2.0",
4
4
  "description": "Luminescent UI library",
5
5
  "exports": {
6
6
  ".": "./src/index.css",
@@ -23,7 +23,7 @@
23
23
  "access": "public"
24
24
  },
25
25
  "devDependencies": {
26
- "tailwindcss": "4.1.10"
26
+ "tailwindcss": "4.1.11"
27
27
  },
28
28
  "scripts": {
29
29
  "build": "echo \"No build script specified\" && exit 0",
@@ -7,7 +7,7 @@ a.lum-btn, a.lum-card {
7
7
  }
8
8
 
9
9
  blockquote {
10
- @apply bg-gray-800 border-l-6 border-l-blue-400 rounded-lum px-6 py-8 my-4 border border-gray-700;
10
+ @apply lum-card border-l-6 border-l-blue-400 my-4;
11
11
  }
12
12
 
13
13
  blockquote p:first-child {
@@ -22,6 +22,16 @@ h1, h2, h3, h4, h5, h6 {
22
22
  @apply relative text-lg sm:text-xl font-semibold scroll-mt-36;
23
23
  }
24
24
 
25
+ h1,
26
+ h2,
27
+ h3,
28
+ h4,
29
+ h5,
30
+ h6 {
31
+ margin-top: max(0.7em, 18px);
32
+ margin-bottom: max(0.7em, 18px);
33
+ }
34
+
25
35
  h1 {
26
36
  @apply text-4xl sm:text-5xl font-extrabold;
27
37
  }
@@ -55,7 +65,7 @@ li {
55
65
  }
56
66
 
57
67
  pre {
58
- @apply rounded-lum overflow-auto p-4 bg-gray-800 my-2;
68
+ @apply overflow-auto p-4 lum-card my-2;
59
69
  }
60
70
 
61
71
  pre.shiki {
@@ -67,7 +77,7 @@ pre code {
67
77
  }
68
78
 
69
79
  code {
70
- @apply bg-gray-800 py-0.5 px-1 rounded-lum select-all border-b-2 border-b-gray-700 break-all sm:break-normal;
80
+ @apply bg-lum-card-bg py-0.5 px-1 rounded-lum select-all border-b-2 border-b-lum-border/20 break-all sm:break-normal;
71
81
  }
72
82
 
73
83
  table {
@@ -91,5 +101,5 @@ img {
91
101
  }
92
102
 
93
103
  hr {
94
- @apply my-8 border-t-1 border-t-gray-700;
104
+ @apply my-8 border-t-1 border-t-lum-border/20;
95
105
  }