🔀 Merge pull request #641 from jpanther/dependabot/npm_and_yarn/tailwindcss/typography-0.5.10

📌 Bump @tailwindcss/typography from 0.5.9 to 0.5.10
pull/648/head
James Panther 2023-09-10 09:32:02 +10:00 committed by GitHub
commit 0be8ec4177
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 150 additions and 110 deletions

View File

@ -539,12 +539,12 @@ video {
max-width: 65ch; max-width: 65ch;
} }
.prose :where(p):not(:where([class~="not-prose"] *)) { .prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 1.25em; margin-top: 1.25em;
margin-bottom: 1.25em; margin-bottom: 1.25em;
} }
.prose :where([class~="lead"]):not(:where([class~="not-prose"] *)) { .prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-lead); color: var(--tw-prose-lead);
font-size: 1.25em; font-size: 1.25em;
line-height: 1.6; line-height: 1.6;
@ -552,104 +552,110 @@ video {
margin-bottom: 1.2em; margin-bottom: 1.2em;
} }
.prose :where(a):not(:where([class~="not-prose"] *)) { .prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-links); color: var(--tw-prose-links);
text-decoration: underline; text-decoration: underline;
font-weight: 500; font-weight: 500;
text-decoration-color: rgba(var(--color-primary-300), 1); text-decoration-color: rgba(var(--color-primary-300), 1);
} }
.prose :where(a):not(:where([class~="not-prose"] *)):hover { .prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)):hover {
color: rgba(var(--color-neutral), 1); color: rgba(var(--color-neutral), 1);
text-decoration: none; text-decoration: none;
background-color: rgba(var(--color-primary-600), 1); background-color: rgba(var(--color-primary-600), 1);
border-radius: 0.09rem; border-radius: 0.09rem;
} }
.prose :where(strong):not(:where([class~="not-prose"] *)) { .prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-bold); color: var(--tw-prose-bold);
font-weight: 600; font-weight: 600;
} }
.prose :where(a strong):not(:where([class~="not-prose"] *)) { .prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: inherit; color: inherit;
} }
.prose :where(blockquote strong):not(:where([class~="not-prose"] *)) { .prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: inherit; color: inherit;
} }
.prose :where(thead th strong):not(:where([class~="not-prose"] *)) { .prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: inherit; color: inherit;
} }
.prose :where(ol):not(:where([class~="not-prose"] *)) { .prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
list-style-type: decimal; list-style-type: decimal;
margin-top: 1.25em; margin-top: 1.25em;
margin-bottom: 1.25em; margin-bottom: 1.25em;
padding-left: 1.625em; padding-left: 1.625em;
} }
.prose :where(ol[type="A"]):not(:where([class~="not-prose"] *)) { .prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
list-style-type: upper-alpha; list-style-type: upper-alpha;
} }
.prose :where(ol[type="a"]):not(:where([class~="not-prose"] *)) { .prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
list-style-type: lower-alpha; list-style-type: lower-alpha;
} }
.prose :where(ol[type="A" s]):not(:where([class~="not-prose"] *)) { .prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
list-style-type: upper-alpha; list-style-type: upper-alpha;
} }
.prose :where(ol[type="a" s]):not(:where([class~="not-prose"] *)) { .prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
list-style-type: lower-alpha; list-style-type: lower-alpha;
} }
.prose :where(ol[type="I"]):not(:where([class~="not-prose"] *)) { .prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
list-style-type: upper-roman; list-style-type: upper-roman;
} }
.prose :where(ol[type="i"]):not(:where([class~="not-prose"] *)) { .prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
list-style-type: lower-roman; list-style-type: lower-roman;
} }
.prose :where(ol[type="I" s]):not(:where([class~="not-prose"] *)) { .prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
list-style-type: upper-roman; list-style-type: upper-roman;
} }
.prose :where(ol[type="i" s]):not(:where([class~="not-prose"] *)) { .prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
list-style-type: lower-roman; list-style-type: lower-roman;
} }
.prose :where(ol[type="1"]):not(:where([class~="not-prose"] *)) { .prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
list-style-type: decimal; list-style-type: decimal;
} }
.prose :where(ul):not(:where([class~="not-prose"] *)) { .prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
list-style-type: disc; list-style-type: disc;
margin-top: 1.25em; margin-top: 1.25em;
margin-bottom: 1.25em; margin-bottom: 1.25em;
padding-left: 1.625em; padding-left: 1.625em;
} }
.prose :where(ol > li):not(:where([class~="not-prose"] *))::marker { .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
font-weight: 400; font-weight: 400;
color: var(--tw-prose-counters); color: var(--tw-prose-counters);
} }
.prose :where(ul > li):not(:where([class~="not-prose"] *))::marker { .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
color: var(--tw-prose-bullets); color: var(--tw-prose-bullets);
} }
.prose :where(hr):not(:where([class~="not-prose"] *)) { .prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-headings);
font-weight: 600;
margin-top: 1.25em;
}
.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
border-color: var(--tw-prose-hr); border-color: var(--tw-prose-hr);
border-top-width: 1px; border-top-width: 1px;
margin-top: 3em; margin-top: 3em;
margin-bottom: 3em; margin-bottom: 3em;
} }
.prose :where(blockquote):not(:where([class~="not-prose"] *)) { .prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
font-weight: 500; font-weight: 500;
font-style: italic; font-style: italic;
color: var(--tw-prose-quotes); color: var(--tw-prose-quotes);
@ -661,15 +667,15 @@ video {
padding-left: 1em; padding-left: 1em;
} }
.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"] *))::before { .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
content: open-quote; content: open-quote;
} }
.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"] *))::after { .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
content: close-quote; content: close-quote;
} }
.prose :where(h1):not(:where([class~="not-prose"] *)) { .prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-headings); color: var(--tw-prose-headings);
font-weight: 800; font-weight: 800;
font-size: 2.25em; font-size: 2.25em;
@ -678,12 +684,12 @@ video {
line-height: 1.1111111; line-height: 1.1111111;
} }
.prose :where(h1 strong):not(:where([class~="not-prose"] *)) { .prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
font-weight: 900; font-weight: 900;
color: inherit; color: inherit;
} }
.prose :where(h2):not(:where([class~="not-prose"] *)) { .prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-headings); color: var(--tw-prose-headings);
font-weight: 700; font-weight: 700;
font-size: 1.5em; font-size: 1.5em;
@ -692,12 +698,12 @@ video {
line-height: 1.3333333; line-height: 1.3333333;
} }
.prose :where(h2 strong):not(:where([class~="not-prose"] *)) { .prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
font-weight: 800; font-weight: 800;
color: inherit; color: inherit;
} }
.prose :where(h3):not(:where([class~="not-prose"] *)) { .prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-headings); color: var(--tw-prose-headings);
font-weight: 600; font-weight: 600;
font-size: 1.25em; font-size: 1.25em;
@ -706,12 +712,12 @@ video {
line-height: 1.6; line-height: 1.6;
} }
.prose :where(h3 strong):not(:where([class~="not-prose"] *)) { .prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
font-weight: 700; font-weight: 700;
color: inherit; color: inherit;
} }
.prose :where(h4):not(:where([class~="not-prose"] *)) { .prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-headings); color: var(--tw-prose-headings);
font-weight: 600; font-weight: 600;
margin-top: 1.5em; margin-top: 1.5em;
@ -719,73 +725,82 @@ video {
line-height: 1.5; line-height: 1.5;
} }
.prose :where(h4 strong):not(:where([class~="not-prose"] *)) { .prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
font-weight: 700; font-weight: 700;
color: inherit; color: inherit;
} }
.prose :where(img):not(:where([class~="not-prose"] *)) { .prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 2em; margin-top: 2em;
margin-bottom: 2em; margin-bottom: 2em;
} }
.prose :where(figure > *):not(:where([class~="not-prose"] *)) { .prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0; display: block;
margin-bottom: 0; margin-top: 2em;
margin-bottom: 2em;
} }
.prose :where(figcaption):not(:where([class~="not-prose"] *)) { .prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-captions); font-weight: 600;
font-size: 0.875em; font-family: inherit;
line-height: 1.4285714; color: var(--tw-prose-kbd);
margin-top: 0.8571429em; box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
font-size: 0.9rem;
border-radius: 0.25rem;
padding-top: 0.1875em;
padding-right: 0.375em;
padding-bottom: 0.1875em;
padding-left: 0.375em;
background-color: rgba(var(--color-neutral-200), 1);
padding: 0.1rem 0.4rem;
} }
.prose :where(code):not(:where([class~="not-prose"] *)) { .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-code); color: var(--tw-prose-code);
font-weight: 600; font-weight: 600;
font-size: 0.875em; font-size: 0.875em;
} }
.prose :where(code):not(:where([class~="not-prose"] *))::before { .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
content: "`"; content: "`";
} }
.prose :where(code):not(:where([class~="not-prose"] *))::after { .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
content: "`"; content: "`";
} }
.prose :where(a code):not(:where([class~="not-prose"] *)) { .prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-code); color: var(--tw-prose-code);
} }
.prose :where(h1 code):not(:where([class~="not-prose"] *)) { .prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: inherit; color: inherit;
} }
.prose :where(h2 code):not(:where([class~="not-prose"] *)) { .prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: inherit; color: inherit;
font-size: 0.875em; font-size: 0.875em;
} }
.prose :where(h3 code):not(:where([class~="not-prose"] *)) { .prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: inherit; color: inherit;
font-size: 0.9em; font-size: 0.9em;
} }
.prose :where(h4 code):not(:where([class~="not-prose"] *)) { .prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: inherit; color: inherit;
} }
.prose :where(blockquote code):not(:where([class~="not-prose"] *)) { .prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: inherit; color: inherit;
} }
.prose :where(thead th code):not(:where([class~="not-prose"] *)) { .prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: inherit; color: inherit;
} }
.prose :where(pre):not(:where([class~="not-prose"] *)) { .prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-pre-code); color: var(--tw-prose-pre-code);
background-color: var(--tw-prose-pre-bg); background-color: var(--tw-prose-pre-bg);
overflow-x: auto; overflow-x: auto;
@ -801,7 +816,7 @@ video {
padding-left: 1.1428571em; padding-left: 1.1428571em;
} }
.prose :where(pre code):not(:where([class~="not-prose"] *)) { .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
background-color: transparent; background-color: transparent;
border-width: 0; border-width: 0;
border-radius: 0; border-radius: 0;
@ -813,15 +828,15 @@ video {
line-height: inherit; line-height: inherit;
} }
.prose :where(pre code):not(:where([class~="not-prose"] *))::before { .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
content: none; content: none;
} }
.prose :where(pre code):not(:where([class~="not-prose"] *))::after { .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
content: none; content: none;
} }
.prose :where(table):not(:where([class~="not-prose"] *)) { .prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
width: 100%; width: 100%;
table-layout: auto; table-layout: auto;
text-align: left; text-align: left;
@ -831,12 +846,12 @@ video {
line-height: 1.7142857; line-height: 1.7142857;
} }
.prose :where(thead):not(:where([class~="not-prose"] *)) { .prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
border-bottom-width: 1px; border-bottom-width: 1px;
border-bottom-color: var(--tw-prose-th-borders); border-bottom-color: var(--tw-prose-th-borders);
} }
.prose :where(thead th):not(:where([class~="not-prose"] *)) { .prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-headings); color: var(--tw-prose-headings);
font-weight: 600; font-weight: 600;
vertical-align: bottom; vertical-align: bottom;
@ -845,28 +860,40 @@ video {
padding-left: 0.5714286em; padding-left: 0.5714286em;
} }
.prose :where(tbody tr):not(:where([class~="not-prose"] *)) { .prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
border-bottom-width: 1px; border-bottom-width: 1px;
border-bottom-color: var(--tw-prose-td-borders); border-bottom-color: var(--tw-prose-td-borders);
} }
.prose :where(tbody tr:last-child):not(:where([class~="not-prose"] *)) { .prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
border-bottom-width: 0; border-bottom-width: 0;
} }
.prose :where(tbody td):not(:where([class~="not-prose"] *)) { .prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
vertical-align: baseline; vertical-align: baseline;
} }
.prose :where(tfoot):not(:where([class~="not-prose"] *)) { .prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
border-top-width: 1px; border-top-width: 1px;
border-top-color: var(--tw-prose-th-borders); border-top-color: var(--tw-prose-th-borders);
} }
.prose :where(tfoot td):not(:where([class~="not-prose"] *)) { .prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
vertical-align: top; vertical-align: top;
} }
.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0;
margin-bottom: 0;
}
.prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: var(--tw-prose-captions);
font-size: 0.875em;
line-height: 1.4285714;
margin-top: 0.8571429em;
}
.prose { .prose {
--tw-prose-body: rgba(var(--color-neutral-700), 1); --tw-prose-body: rgba(var(--color-neutral-700), 1);
--tw-prose-headings: rgba(var(--color-neutral-800), 1); --tw-prose-headings: rgba(var(--color-neutral-800), 1);
@ -879,6 +906,8 @@ video {
--tw-prose-quotes: rgba(var(--color-neutral-700), 1); --tw-prose-quotes: rgba(var(--color-neutral-700), 1);
--tw-prose-quote-borders: rgba(var(--color-primary-200), 1); --tw-prose-quote-borders: rgba(var(--color-primary-200), 1);
--tw-prose-captions: rgba(var(--color-neutral-500), 1); --tw-prose-captions: rgba(var(--color-neutral-500), 1);
--tw-prose-kbd: #111827;
--tw-prose-kbd-shadows: 17 24 39;
--tw-prose-code: rgba(var(--color-secondary-700), 1); --tw-prose-code: rgba(var(--color-secondary-700), 1);
--tw-prose-pre-code: rgba(var(--color-neutral-700), 1); --tw-prose-pre-code: rgba(var(--color-neutral-700), 1);
--tw-prose-pre-bg: rgba(var(--color-neutral-50), 1); --tw-prose-pre-bg: rgba(var(--color-neutral-50), 1);
@ -895,6 +924,8 @@ video {
--tw-prose-invert-quotes: rgba(var(--color-neutral-200), 1); --tw-prose-invert-quotes: rgba(var(--color-neutral-200), 1);
--tw-prose-invert-quote-borders: rgba(var(--color-primary-900), 1); --tw-prose-invert-quote-borders: rgba(var(--color-primary-900), 1);
--tw-prose-invert-captions: rgba(var(--color-neutral-400), 1); --tw-prose-invert-captions: rgba(var(--color-neutral-400), 1);
--tw-prose-invert-kbd: #fff;
--tw-prose-invert-kbd-shadows: 255 255 255;
--tw-prose-invert-code: rgba(var(--color-secondary-400), 1); --tw-prose-invert-code: rgba(var(--color-secondary-400), 1);
--tw-prose-invert-pre-code: rgba(var(--color-neutral-200), 1); --tw-prose-invert-pre-code: rgba(var(--color-neutral-200), 1);
--tw-prose-invert-pre-bg: rgba(var(--color-neutral-700), 1); --tw-prose-invert-pre-bg: rgba(var(--color-neutral-700), 1);
@ -904,111 +935,118 @@ video {
line-height: 1.75; line-height: 1.75;
} }
.prose :where(video):not(:where([class~="not-prose"] *)) { .prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0;
margin-bottom: 0;
}
.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 2em; margin-top: 2em;
margin-bottom: 2em; margin-bottom: 2em;
} }
.prose :where(figure):not(:where([class~="not-prose"] *)) { .prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 2em;
margin-bottom: 2em;
}
.prose :where(li):not(:where([class~="not-prose"] *)) {
margin-top: 0.5em; margin-top: 0.5em;
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
.prose :where(ol > li):not(:where([class~="not-prose"] *)) { .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-left: 0.375em; padding-left: 0.375em;
} }
.prose :where(ul > li):not(:where([class~="not-prose"] *)) { .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-left: 0.375em; padding-left: 0.375em;
} }
.prose :where(.prose > ul > li p):not(:where([class~="not-prose"] *)) { .prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0.75em; margin-top: 0.75em;
margin-bottom: 0.75em; margin-bottom: 0.75em;
} }
.prose :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)) { .prose :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 1.25em; margin-top: 1.25em;
} }
.prose :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)) { .prose :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-bottom: 1.25em; margin-bottom: 1.25em;
} }
.prose :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)) { .prose :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 1.25em; margin-top: 1.25em;
} }
.prose :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)) { .prose :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-bottom: 1.25em; margin-bottom: 1.25em;
} }
.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"] *)) { .prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0.75em; margin-top: 0.75em;
margin-bottom: 0.75em; margin-bottom: 0.75em;
} }
.prose :where(hr + *):not(:where([class~="not-prose"] *)) { .prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 1.25em;
margin-bottom: 1.25em;
}
.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0.5em;
padding-left: 1.625em;
}
.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0; margin-top: 0;
} }
.prose :where(h2 + *):not(:where([class~="not-prose"] *)) { .prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0; margin-top: 0;
} }
.prose :where(h3 + *):not(:where([class~="not-prose"] *)) { .prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0; margin-top: 0;
} }
.prose :where(h4 + *):not(:where([class~="not-prose"] *)) { .prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0; margin-top: 0;
} }
.prose :where(thead th:first-child):not(:where([class~="not-prose"] *)) { .prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-left: 0; padding-left: 0;
} }
.prose :where(thead th:last-child):not(:where([class~="not-prose"] *)) { .prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-right: 0; padding-right: 0;
} }
.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"] *)) { .prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-top: 0.5714286em; padding-top: 0.5714286em;
padding-right: 0.5714286em; padding-right: 0.5714286em;
padding-bottom: 0.5714286em; padding-bottom: 0.5714286em;
padding-left: 0.5714286em; padding-left: 0.5714286em;
} }
.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"] *)) { .prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-left: 0; padding-left: 0;
} }
.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"] *)) { .prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-right: 0; padding-right: 0;
} }
.prose :where(.prose > :first-child):not(:where([class~="not-prose"] *)) { .prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 2em;
margin-bottom: 2em;
}
.prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0; margin-top: 0;
} }
.prose :where(.prose > :last-child):not(:where([class~="not-prose"] *)) { .prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-bottom: 0; margin-bottom: 0;
} }
.prose :where(kbd):not(:where([class~="not-prose"] *)) { .prose :where(mark):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
background-color: rgba(var(--color-neutral-200), 1);
padding: 0.1rem 0.4rem;
border-radius: 0.25rem;
font-size: 0.9rem;
font-weight: 600;
}
.prose :where(mark):not(:where([class~="not-prose"] *)) {
color: rgba(var(--color-neutral-800), 1); color: rgba(var(--color-neutral-800), 1);
background-color: rgba(var(--color-secondary-200), 1); background-color: rgba(var(--color-secondary-200), 1);
padding: 0.1rem 0.2rem; padding: 0.1rem 0.2rem;
@ -2555,6 +2593,8 @@ body:has(#menu-controller:checked) {
--tw-prose-quotes: var(--tw-prose-invert-quotes); --tw-prose-quotes: var(--tw-prose-invert-quotes);
--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders); --tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);
--tw-prose-captions: var(--tw-prose-invert-captions); --tw-prose-captions: var(--tw-prose-invert-captions);
--tw-prose-kbd: var(--tw-prose-invert-kbd);
--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);
--tw-prose-code: var(--tw-prose-invert-code); --tw-prose-code: var(--tw-prose-invert-code);
--tw-prose-pre-code: var(--tw-prose-invert-pre-code); --tw-prose-pre-code: var(--tw-prose-invert-pre-code);
--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg); --tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);
@ -2562,16 +2602,16 @@ body:has(#menu-controller:checked) {
--tw-prose-td-borders: var(--tw-prose-invert-td-borders); --tw-prose-td-borders: var(--tw-prose-invert-td-borders);
} }
:is(.dark .dark\:prose-invert) :where(a):not(:where([class~="not-prose"] *)) { :is(.dark .dark\:prose-invert) :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
text-decoration-color: rgba(var(--color-neutral-600), 1); text-decoration-color: rgba(var(--color-neutral-600), 1);
} }
:is(.dark .dark\:prose-invert) :where(kbd):not(:where([class~="not-prose"] *)) { :is(.dark .dark\:prose-invert) :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: rgba(var(--color-neutral-200), 1); color: rgba(var(--color-neutral-200), 1);
background-color: rgba(var(--color-neutral-700), 1); background-color: rgba(var(--color-neutral-700), 1);
} }
:is(.dark .dark\:prose-invert) :where(mark):not(:where([class~="not-prose"] *)) { :is(.dark .dark\:prose-invert) :where(mark):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
background-color: rgba(var(--color-secondary-400), 1); background-color: rgba(var(--color-secondary-400), 1);
} }

14
package-lock.json generated
View File

@ -10,7 +10,7 @@
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@tailwindcss/typography": "^0.5.9", "@tailwindcss/typography": "^0.5.10",
"chart.js": "^4.4.0", "chart.js": "^4.4.0",
"fuse.js": "^6.6.2", "fuse.js": "^6.6.2",
"katex": "^0.16.8", "katex": "^0.16.8",
@ -167,9 +167,9 @@
} }
}, },
"node_modules/@tailwindcss/typography": { "node_modules/@tailwindcss/typography": {
"version": "0.5.9", "version": "0.5.10",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.9.tgz", "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.10.tgz",
"integrity": "sha512-t8Sg3DyynFysV9f4JDOVISGsjazNb48AeIYQwcL+Bsq5uf4RYL75C1giZ43KISjeDGBaTN3Kxh7Xj/vRSMJUUg==", "integrity": "sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"lodash.castarray": "^4.4.0", "lodash.castarray": "^4.4.0",
@ -3191,9 +3191,9 @@
"optional": true "optional": true
}, },
"@tailwindcss/typography": { "@tailwindcss/typography": {
"version": "0.5.9", "version": "0.5.10",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.9.tgz", "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.10.tgz",
"integrity": "sha512-t8Sg3DyynFysV9f4JDOVISGsjazNb48AeIYQwcL+Bsq5uf4RYL75C1giZ43KISjeDGBaTN3Kxh7Xj/vRSMJUUg==", "integrity": "sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==",
"dev": true, "dev": true,
"requires": { "requires": {
"lodash.castarray": "^4.4.0", "lodash.castarray": "^4.4.0",

View File

@ -29,7 +29,7 @@
}, },
"homepage": "https://github.com/jpanther/congo#readme", "homepage": "https://github.com/jpanther/congo#readme",
"devDependencies": { "devDependencies": {
"@tailwindcss/typography": "^0.5.9", "@tailwindcss/typography": "^0.5.10",
"chart.js": "^4.4.0", "chart.js": "^4.4.0",
"fuse.js": "^6.6.2", "fuse.js": "^6.6.2",
"katex": "^0.16.8", "katex": "^0.16.8",