docs-combiner 0.1.19 → 0.2.2

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.
@@ -0,0 +1,3 @@
1
+ /*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */
2
+
3
+ /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
package/dist/index.html CHANGED
@@ -1,10 +1,4 @@
1
- <!DOCTYPE html>
2
- <html style="background-color: #ffffff; color: #000000;">
3
- <head>
4
- <meta charset="UTF-8">
5
- <title>Docs Combiner</title>
6
- <style>
7
- /* Set theme styles immediately to prevent white flash */
1
+ <!doctype html><html style="background-color: #ffffff; color: #000000;"><head><meta charset="UTF-8"><title>Docs Combiner</title><style>/* Set theme styles immediately to prevent white flash */
8
2
  /* Default to light theme, then switch to dark if needed */
9
3
  html {
10
4
  background-color: #ffffff !important;
@@ -28,10 +22,7 @@
28
22
  height: 100vh;
29
23
  margin: 0;
30
24
  padding: 0;
31
- }
32
- </style>
33
- <script>
34
- // Execute immediately, before any rendering
25
+ }</style><script>// Execute immediately, before any rendering
35
26
  (function() {
36
27
  try {
37
28
  const savedTheme = localStorage.getItem('themeMode');
@@ -46,11 +37,4 @@
46
37
  document.documentElement.style.setProperty('color', '#000000', 'important');
47
38
  }
48
39
  } catch(e) {}
49
- })();
50
- </script>
51
- <script defer src="./renderer.js"></script></head>
52
- <body style="background-color: inherit; color: inherit;">
53
- <div id="root" style="background-color: inherit; color: inherit;"></div>
54
- <!-- Webpack will inject the bundle here -->
55
- </body>
56
- </html>
40
+ })();</script><script defer="defer" src="./renderer.js"></script></head><body style="background-color: inherit; color: inherit;"><div id="root" style="background-color: inherit; color: inherit;"></div></body></html>
package/dist/main.js CHANGED
@@ -168,18 +168,6 @@ function buildAppMenu() {
168
168
  electron_1.Menu.setApplicationMenu(electron_1.Menu.buildFromTemplate(template));
169
169
  }
170
170
  function createWindow() {
171
- // Try to read theme preference from localStorage file
172
- // In Electron, localStorage is stored in a specific location
173
- let backgroundColor = '#ffffff'; // Default light theme
174
- try {
175
- const userDataPath = electron_1.app.getPath('userData');
176
- // Electron stores localStorage in Local Storage file
177
- // For now, we'll default to light and let preload handle it
178
- // But we can try to read from the actual localStorage file if needed
179
- }
180
- catch (e) {
181
- // Use default
182
- }
183
171
  mainWindow = new electron_1.BrowserWindow({
184
172
  width: 1000,
185
173
  height: 800,