@luminescent/ui 2.0.1 → 3.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/package.json +7 -10
- package/src/formatting.css +105 -0
package/package.json
CHANGED
|
@@ -1,26 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luminescent/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Luminescent UI library",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib-types/index.d.ts",
|
|
7
7
|
"exports": {
|
|
8
|
-
".":
|
|
8
|
+
".": "./src/index.css",
|
|
9
|
+
"./formatting": "./src/formatting.css",
|
|
10
|
+
"./lum-bg": {
|
|
9
11
|
"import": "./lib/index.js",
|
|
10
12
|
"require": "./lib/index.js",
|
|
11
13
|
"types": "./lib-types/index.d.ts"
|
|
12
|
-
}
|
|
13
|
-
"./components/*": {
|
|
14
|
-
"import": "./lib/components/*",
|
|
15
|
-
"require": "./lib/components/*",
|
|
16
|
-
"types": "./lib-types/components/*"
|
|
17
|
-
},
|
|
18
|
-
"./css": "./src/index.css"
|
|
14
|
+
}
|
|
19
15
|
},
|
|
20
16
|
"files": [
|
|
21
17
|
"lib",
|
|
22
18
|
"lib-types",
|
|
23
|
-
"src/index.css"
|
|
19
|
+
"src/index.css",
|
|
20
|
+
"src/formatting.css"
|
|
24
21
|
],
|
|
25
22
|
"engines": {
|
|
26
23
|
"node": ">=23.11.0",
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
a {
|
|
2
|
+
@apply text-blue-400 no-underline;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
a:hover {
|
|
6
|
+
@apply text-blue-500 underline;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
blockquote {
|
|
10
|
+
@apply bg-gray-800 border-l-6 border-l-blue-400 rounded-md px-6 py-8 my-4 border border-gray-700;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
blockquote p:first-child {
|
|
14
|
+
@apply mt-0
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
blockquote p:last-child {
|
|
18
|
+
@apply mb-0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
h1, h2, h3, h4, h5, h6 {
|
|
22
|
+
@apply relative text-xl font-semibold scroll-mt-36;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
h1 {
|
|
26
|
+
@apply text-5xl font-extrabold;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
h2 {
|
|
30
|
+
@apply text-4xl font-bold;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h3 {
|
|
34
|
+
@apply text-3xl;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
h4 {
|
|
38
|
+
@apply text-2xl;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
p {
|
|
42
|
+
@apply text-gray-400;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
ul, ol {
|
|
46
|
+
@apply my-4 ml-10 text-gray-400 list-disc;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
ol {
|
|
50
|
+
@apply list-decimal;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
li {
|
|
54
|
+
@apply my-1 pl-2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
pre {
|
|
58
|
+
@apply rounded-md overflow-auto p-4 bg-gray-800 my-2;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
pre code {
|
|
62
|
+
@apply border-none select-auto bg-transparent;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
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
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
table {
|
|
84
|
+
@apply my-5;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
th, td {
|
|
88
|
+
@apply p-2 align-top;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
th:first-child, td:first-child {
|
|
92
|
+
@apply pl-0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
th:last-child, td:last-child {
|
|
96
|
+
@apply pr-0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
img {
|
|
100
|
+
@apply rounded-md overflow-hidden;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
hr {
|
|
104
|
+
@apply my-8 border-t-1 border-t-gray-700;
|
|
105
|
+
}
|