@redocly/theme 0.11.4 → 0.11.5
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.
|
@@ -373,6 +373,10 @@ exports.MarkdownWrapper = styled_components_1.default.main.attrs(() => ({
|
|
|
373
373
|
list-style: var(--md-list-item-style);
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
+
ul > li:has(input[type='checkbox']) {
|
|
377
|
+
list-style: var(--md-checkbox-list-item-style);
|
|
378
|
+
}
|
|
379
|
+
|
|
376
380
|
ol > li {
|
|
377
381
|
list-style: var(--md-numbered-list-item-style);
|
|
378
382
|
}
|
package/lib/globalStyle.js
CHANGED
|
@@ -1772,6 +1772,13 @@ const markdown = (0, styled_components_1.css) `
|
|
|
1772
1772
|
--md-list-item-margin: 0.25rem; // @presenter Spacing
|
|
1773
1773
|
--md-list-item-style: inherit;
|
|
1774
1774
|
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* @tokens Markdown Checkbox List
|
|
1778
|
+
*/
|
|
1779
|
+
|
|
1780
|
+
--md-checkbox-list-item-style: none;
|
|
1781
|
+
|
|
1775
1782
|
/**
|
|
1776
1783
|
* @tokens Markdown Numbered List
|
|
1777
1784
|
*/
|
package/package.json
CHANGED
|
@@ -352,6 +352,10 @@ export const MarkdownWrapper = styled.main.attrs(() => ({
|
|
|
352
352
|
list-style: var(--md-list-item-style);
|
|
353
353
|
}
|
|
354
354
|
|
|
355
|
+
ul > li:has(input[type='checkbox']) {
|
|
356
|
+
list-style: var(--md-checkbox-list-item-style);
|
|
357
|
+
}
|
|
358
|
+
|
|
355
359
|
ol > li {
|
|
356
360
|
list-style: var(--md-numbered-list-item-style);
|
|
357
361
|
}
|
package/src/globalStyle.ts
CHANGED
|
@@ -1792,6 +1792,13 @@ const markdown = css`
|
|
|
1792
1792
|
--md-list-item-margin: 0.25rem; // @presenter Spacing
|
|
1793
1793
|
--md-list-item-style: inherit;
|
|
1794
1794
|
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* @tokens Markdown Checkbox List
|
|
1798
|
+
*/
|
|
1799
|
+
|
|
1800
|
+
--md-checkbox-list-item-style: none;
|
|
1801
|
+
|
|
1795
1802
|
/**
|
|
1796
1803
|
* @tokens Markdown Numbered List
|
|
1797
1804
|
*/
|