git-diff-view 0.0.8 → 0.0.9

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/index.ts +2 -0
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -73,12 +73,14 @@ const run = async (args: string[]) => {
73
73
  const jsFile = Bun.file(join(distDir, "frontend.js"));
74
74
  const cssFile = Bun.file(join(distDir, "styles.css"));
75
75
 
76
+ const bgColor = dark ? "#1a1a1a" : "#ffffff";
76
77
  const html = `<!DOCTYPE html>
77
78
  <html>
78
79
  <head>
79
80
  <meta charset="utf-8">
80
81
  <title>Git Diff</title>
81
82
  <link rel="stylesheet" href="/styles.css">
83
+ <style>body { background: ${bgColor}; }</style>
82
84
  </head>
83
85
  <body>
84
86
  <div id="diff"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-diff-view",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {