Design specification / Shared CSS and settings
These are the CSS and project settings shared by all pages of this example. The CSS extends the product’s business preset. Use them together with the individual page sources.
design/theme.css
Section titled “design/theme.css”/* Original illustrative document style; extends built-in business preset. */
:root{--accent:#174d49;--text:#172d38;--muted:#4d646b;--background:#fffdf9;}
.ps-mode-paged{font-size:11pt;line-height:1.65;}
.ps-mode-paged .ps-fixed>.ps-body{padding:18mm 18mm 20mm;}
h1{font-size:26pt;line-height:1.3;}h2{font-size:16pt;margin-top:14pt;}
table{font-size:10pt;line-height:1.55;}th{background:#eaf1ee;}td,th{padding:.45em .6em;border-color:#ccd8d3;}
blockquote{background:#eef3ef;padding:8pt 12pt;font-size:10pt;}figure{margin:8pt 0;}
.ps-mode-paged{font-size:10pt;line-height:1.5;}h1{font-size:25pt;}h2{font-size:14pt;margin-top:10pt;}table{font-size:9pt;line-height:1.4;}figure{margin:6pt 0;}
.wworpoint/project.json
Section titled “.wworpoint/project.json”{
"schemaVersion": 1,
"name": "spec-en",
"entry": "document.md",
"document": {
"mode": "paged",
"lang": "en-US",
"defaultPage": {
"size": "A4",
"orientation": "portrait"
}
},
"theme": {
"preset": "business",
"entry": "design/theme.css"
},
"output": {
"directory": "dist",
"formats": [
"pdf"
]
},
"security": {
"html": "none",
"sharedAssetRoots": []
}
}