@nimtech/nimpress 2.5.0 → 2.6.0

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.
@@ -462,6 +462,76 @@
462
462
  "docs/overrides.css"
463
463
  ]
464
464
  },
465
+ "theme": {
466
+ "description": "Theme the site renders in: stock, glass, or a path to a stylesheet building on stock.",
467
+ "type": "string",
468
+ "default": "stock",
469
+ "examples": [
470
+ "glass",
471
+ "docs/theme.css"
472
+ ]
473
+ },
474
+ "themes": {
475
+ "description": "Themes the reader can switch between from the header, stock, glass, or stylesheet paths. The theme field names the default.",
476
+ "type": "array",
477
+ "items": {
478
+ "type": "string"
479
+ },
480
+ "examples": [
481
+ [
482
+ "stock",
483
+ "glass"
484
+ ]
485
+ ]
486
+ },
487
+ "components": {
488
+ "description": "Components replacing the stock ones: a component name to a Svelte component file.",
489
+ "type": "object",
490
+ "propertyNames": {
491
+ "enum": [
492
+ "Header",
493
+ "Announce",
494
+ "Footer",
495
+ "Sidebar",
496
+ "SidebarNode",
497
+ "Breadcrumbs",
498
+ "RightToc",
499
+ "BackToTop",
500
+ "SearchModal",
501
+ "AccountMenu",
502
+ "ThemeMenu",
503
+ "Feedback",
504
+ "SubscribeDialog",
505
+ "CodeBlock",
506
+ "CodeGroup",
507
+ "Tabs",
508
+ "Actions",
509
+ "Feature",
510
+ "Lightbox",
511
+ "MermaidBlock",
512
+ "MathBlock",
513
+ "DBMLBlock",
514
+ "ComponentEmbed",
515
+ "Card",
516
+ "CardGroup",
517
+ "Operation",
518
+ "Schema",
519
+ "ParamRow",
520
+ "MethodBadge",
521
+ "CodeExamples",
522
+ "TryPanel",
523
+ "TryDialog"
524
+ ]
525
+ },
526
+ "additionalProperties": {
527
+ "type": "string"
528
+ },
529
+ "examples": [
530
+ {
531
+ "Header": "./docs/theme/Header.svelte"
532
+ }
533
+ ]
534
+ },
465
535
  "vite": {
466
536
  "type": "object",
467
537
  "description": "Vite overrides merged into the site and harness configs.",
package/dist/cli.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { d as z, c as Pe, r as Me, s as Jt, p as Bt, a as et, b as ue, e as Gt, f as Ht, g as De, h as tt, i as Ut, j as st, k as Zt, l as Vt, m as Kt, C as ge, n as Yt, o as nt, q as Ge, w as pe, t as ot, u as Qt, v as Xt, x as qt, y as es, z as ts, A as ss, B as we } from "./plugin-DOmbMyy0.js";
1
+ import { d as z, c as Pe, r as Me, s as Jt, p as Bt, a as et, b as ue, e as Gt, f as Ht, g as De, h as tt, i as Ut, j as st, k as Zt, l as Vt, m as Kt, C as ge, n as Yt, o as nt, q as Ge, w as pe, t as ot, u as Qt, v as Xt, x as qt, y as es, z as ts, A as ss, B as we } from "./plugin-Bj4U3kPF.js";
2
2
  import { join as d, dirname as _, relative as D, sep as I, extname as me, resolve as j, basename as F } from "node:path";
3
3
  import { readdirSync as se, existsSync as $, writeFileSync as W, mkdirSync as H, rmSync as ne, readFileSync as C, statSync as rt, watch as He } from "node:fs";
4
4
  import fe from "gray-matter";