@redocly/theme 0.9.13 → 0.9.14
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/lib/Markdown/MarkdownWrapper.js +7 -7
- package/lib/config.d.ts +774 -1814
- package/lib/config.js +271 -213
- package/package.json +6 -7
- package/src/Markdown/MarkdownWrapper.tsx +1 -1
- package/src/config.ts +334 -222
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.MarkdownWrapper = exports.headingAnchor = exports.baseTable = void 0;
|
|
27
27
|
const styled_components_1 = __importStar(require("styled-components"));
|
|
28
|
-
const
|
|
28
|
+
const theme_helpers_1 = require("../utils/theme-helpers");
|
|
29
29
|
exports.baseTable = (0, styled_components_1.css) `
|
|
30
30
|
table.md {
|
|
31
31
|
display: block;
|
|
@@ -257,7 +257,7 @@ exports.MarkdownWrapper = styled_components_1.default.main.attrs(() => ({
|
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
h1.md {
|
|
260
|
-
${(0,
|
|
260
|
+
${(0, theme_helpers_1.typography)('h1', 'h')};
|
|
261
261
|
margin: var(--h1-margin-top) 0 var(--h1-margin-bottom) 0;
|
|
262
262
|
${headingAnchor()};
|
|
263
263
|
|
|
@@ -267,31 +267,31 @@ exports.MarkdownWrapper = styled_components_1.default.main.attrs(() => ({
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
h2.md {
|
|
270
|
-
${(0,
|
|
270
|
+
${(0, theme_helpers_1.typography)('h2', 'h')};
|
|
271
271
|
margin: var(--h2-margin-top) 0 var(--h2-margin-bottom) 0;
|
|
272
272
|
${headingAnchor()};
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
h3.md {
|
|
276
|
-
${(0,
|
|
276
|
+
${(0, theme_helpers_1.typography)('h3', 'h')};
|
|
277
277
|
margin: var(--h3-margin-top) 0 var(--h3-margin-bottom) 0;
|
|
278
278
|
${headingAnchor()};
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
h4.md {
|
|
282
|
-
${(0,
|
|
282
|
+
${(0, theme_helpers_1.typography)('h4', 'h')};
|
|
283
283
|
margin: var(--h4-margin-top) 0 var(--h4-margin-bottom) 0;
|
|
284
284
|
${headingAnchor()};
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
h5.md {
|
|
288
|
-
${(0,
|
|
288
|
+
${(0, theme_helpers_1.typography)('h5', 'h')};
|
|
289
289
|
margin: var(--h5-margin-top) 0 var(--h5-margin-bottom) 0;
|
|
290
290
|
${headingAnchor()};
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
h6.md {
|
|
294
|
-
${(0,
|
|
294
|
+
${(0, theme_helpers_1.typography)('h6', 'h')};
|
|
295
295
|
margin: var(--h6-margin-top) 0 var(--h6-margin-bottom) 0;
|
|
296
296
|
${headingAnchor()};
|
|
297
297
|
}
|