@dogsbay/format-astro 0.2.0-beta.124 → 0.2.0-beta.125
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/dist/theme-css.js +5 -4
- package/package.json +7 -7
package/dist/theme-css.js
CHANGED
|
@@ -98,10 +98,11 @@ export function generateGlobalCss() {
|
|
|
98
98
|
.docs-prose {
|
|
99
99
|
line-height: 1.7;
|
|
100
100
|
|
|
101
|
-
|
|
102
|
-
&
|
|
103
|
-
&
|
|
104
|
-
&
|
|
101
|
+
/* A heading that is part of a component (a card title: h3.not-prose) keeps the component look */
|
|
102
|
+
& h1:not(.dba-api *):not(.not-prose) { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; margin-top: 0; margin-bottom: 1rem; line-height: 1.2; letter-spacing: -0.025em; }
|
|
103
|
+
& h2:not(.dba-api *):not(.not-prose) { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; margin-top: 2.5rem; margin-bottom: 0.75rem; line-height: 1.3; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; letter-spacing: -0.015em; }
|
|
104
|
+
& h3:not(.dba-api *):not(.not-prose) { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.5rem; line-height: 1.4; }
|
|
105
|
+
& h4:not(.dba-api *):not(.not-prose) { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
|
|
105
106
|
|
|
106
107
|
& p:not(.dba-api *) { margin-top: 0.75rem; margin-bottom: 0.75rem; }
|
|
107
108
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dogsbay/format-astro",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.125",
|
|
4
4
|
"description": "Astro format plugin for Dogsbay — export TreeNode[] to Astro component markup",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"markdown-it": "^14.3.0",
|
|
35
|
-
"@dogsbay/
|
|
36
|
-
"@dogsbay/
|
|
37
|
-
"@dogsbay/
|
|
38
|
-
"@dogsbay/
|
|
39
|
-
"@dogsbay/
|
|
40
|
-
"@dogsbay/
|
|
35
|
+
"@dogsbay/render-html": "0.2.0-beta.125",
|
|
36
|
+
"@dogsbay/serialize-core": "0.2.0-beta.125",
|
|
37
|
+
"@dogsbay/site-files": "0.2.0-beta.125",
|
|
38
|
+
"@dogsbay/types": "0.2.0-beta.125",
|
|
39
|
+
"@dogsbay/ui": "0.2.0-beta.125",
|
|
40
|
+
"@dogsbay/format-dogsbay-md": "0.2.0-beta.125"
|
|
41
41
|
},
|
|
42
42
|
"repository": {
|
|
43
43
|
"type": "git",
|