barodoc 6.1.0 → 6.1.1

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.
Files changed (2) hide show
  1. package/dist/cli.js +23 -7
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import cac from "cac";
13
13
  import pc10 from "picocolors";
14
14
 
15
15
  // package.json
16
- var version = "6.1.0";
16
+ var version = "6.1.1";
17
17
 
18
18
  // src/commands/serve.ts
19
19
  import path from "path";
@@ -499,12 +499,28 @@ barodoc preview
499
499
  );
500
500
  await fs2.writeFile(
501
501
  path3.join(targetDir, "public/logo.svg"),
502
- `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="32" height="32">
503
- <rect x="10" y="20" width="80" height="60" rx="8" fill="currentColor" opacity="0.1"/>
504
- <rect x="18" y="32" width="40" height="4" rx="2" fill="currentColor"/>
505
- <rect x="18" y="42" width="64" height="3" rx="1.5" fill="currentColor" opacity="0.5"/>
506
- <rect x="18" y="50" width="56" height="3" rx="1.5" fill="currentColor" opacity="0.5"/>
507
- <rect x="18" y="58" width="48" height="3" rx="1.5" fill="currentColor" opacity="0.5"/>
502
+ `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="512" height="512">
503
+ <defs>
504
+ <linearGradient id="main" x1="0" y1="0" x2="100" y2="100" gradientUnits="userSpaceOnUse">
505
+ <stop offset="0%" stop-color="#0070f3"/>
506
+ <stop offset="100%" stop-color="#38bdf8"/>
507
+ </linearGradient>
508
+ <linearGradient id="fold" x1="62" y1="0" x2="90" y2="28" gradientUnits="userSpaceOnUse">
509
+ <stop offset="0%" stop-color="#60a5fa"/>
510
+ <stop offset="100%" stop-color="#93c5fd"/>
511
+ </linearGradient>
512
+ <linearGradient id="back" x1="0" y1="14" x2="66" y2="96" gradientUnits="userSpaceOnUse">
513
+ <stop offset="0%" stop-color="#0070f3" stop-opacity="0.25"/>
514
+ <stop offset="100%" stop-color="#38bdf8" stop-opacity="0.15"/>
515
+ </linearGradient>
516
+ </defs>
517
+ <rect x="2" y="16" width="60" height="82" rx="8" fill="url(#back)"/>
518
+ <path d="M20 4 C20 1.8 21.8 0 24 0 L62 0 L90 28 L90 92 C90 94.2 88.2 96 86 96 L24 96 C21.8 96 20 94.2 20 92 Z" fill="url(#main)"/>
519
+ <path d="M62 0 L62 20 C62 24.4 65.6 28 70 28 L90 28 Z" fill="url(#fold)"/>
520
+ <rect x="34" y="42" width="30" height="5.5" rx="2.75" fill="white" opacity="0.95"/>
521
+ <rect x="34" y="56" width="42" height="3.5" rx="1.75" fill="white" opacity="0.4"/>
522
+ <rect x="34" y="66" width="36" height="3.5" rx="1.75" fill="white" opacity="0.4"/>
523
+ <rect x="34" y="76" width="40" height="3.5" rx="1.75" fill="white" opacity="0.4"/>
508
524
  </svg>
509
525
  `
510
526
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barodoc",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "Documentation framework powered by Astro",
5
5
  "type": "module",
6
6
  "bin": {