@skeletonlabs/skeleton 1.7.0-dev.e2cc14c3 → 1.7.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.
|
@@ -3,47 +3,49 @@
|
|
|
3
3
|
/* Provides default styling for the Tailwind Typography plugin via element modifiers. */
|
|
4
4
|
/* https://tailwindcss.com/docs/typography-plugin */
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
6
|
+
@layer base {
|
|
7
|
+
.prose {
|
|
8
|
+
@apply text-base font-token text-token;
|
|
9
|
+
/* Element Modifiers */
|
|
10
|
+
/* https://tailwindcss.com/docs/typography-plugin#element-modifiers */
|
|
11
|
+
@apply prose-headings:text-token;
|
|
12
|
+
/* @apply prose-lead:{utility}; */
|
|
13
|
+
@apply prose-h1:font-heading-token prose-h1:text-3xl prose-h1:md:text-5xl;
|
|
14
|
+
@apply prose-h2:font-heading-token prose-h1:text-2xl prose-h1:md:text-4xl;
|
|
15
|
+
@apply prose-h3:font-heading-token prose-h1:text-xl prose-h1:md:text-2xl;
|
|
16
|
+
@apply prose-h4:font-heading-token prose-h1:text-lg prose-h1:md:text-xl;
|
|
17
|
+
@apply prose-p:text-base;
|
|
18
|
+
/* @apply prose-a:{utility}; */
|
|
19
|
+
@apply prose-a:text-primary-700 prose-a:dark:text-primary-500 prose-a:hover:brightness-110 prose-a:underline;
|
|
20
|
+
@apply prose-blockquote:text-token prose-blockquote:text-base prose-blockquote:!border-secondary-500;
|
|
21
|
+
/* @apply prose-figure:{utility}; */
|
|
22
|
+
@apply prose-figcaption:text-token prose-figcaption:!text-sm prose-figcaption:italic prose-figcaption:text-center mt-3;
|
|
23
|
+
@apply prose-strong:text-token;
|
|
24
|
+
@apply prose-em:text-token;
|
|
25
|
+
/* @apply prose-ol:{utility}; */
|
|
26
|
+
/* @apply prose-ul:{utility}; */
|
|
27
|
+
@apply prose-li:text-base;
|
|
28
|
+
/* @apply prose-table:{utility}; */
|
|
29
|
+
/* @apply prose-thead:{utility}; */
|
|
30
|
+
/* @apply prose-tr:{utility}; */
|
|
31
|
+
/* @apply prose-th:{utility}; */
|
|
32
|
+
/* @apply prose-td:{utility}; */
|
|
33
|
+
/* @apply prose-img:{utility}; */
|
|
34
|
+
/* @apply prose-video:{utility}; */
|
|
35
|
+
/* @apply prose-hr:{utility}; */
|
|
35
36
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
37
|
+
/* The following have special use cases and must be handled seperately */
|
|
38
|
+
/* @apply prose-code:{utility}; */
|
|
39
|
+
/* @apply prose-pre:{utility}; */
|
|
40
|
+
}
|
|
40
41
|
|
|
41
|
-
/* NOTE: keep these in sync with typography.css */
|
|
42
|
-
.prose pre:not(.code-block pre) {
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
.prose code:is(:not(pre *)) {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
42
|
+
/* NOTE: keep these in sync with typography.css */
|
|
43
|
+
.prose pre:not(.code-block pre) {
|
|
44
|
+
@apply font-mono text-base bg-neutral-900/90 text-white p-4 whitespace-pre-wrap overflow-x-auto rounded-container-token;
|
|
45
|
+
}
|
|
46
|
+
.prose code:is(:not(pre *)) {
|
|
47
|
+
@apply font-mono text-xs text-primary-700 dark:text-primary-400 whitespace-nowrap;
|
|
48
|
+
@apply bg-primary-500/30 dark:bg-primary-500/20;
|
|
49
|
+
@apply py-0.5 px-1 rounded;
|
|
50
|
+
}
|
|
49
51
|
}
|