summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/index.html
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-10-03 09:04:28 -0500
committerAdam <[email protected]>2025-10-03 09:04:28 -0500
commit3fa280d21878ae391674a21758199df3d2d8c3b5 (patch)
treef70c6ecafffeecc8e7a59dc9acef66c59a9ea54a /packages/desktop/index.html
parent1d58b5548287a3e32ffce3abdcf0f2db08fdb155 (diff)
downloadopencode-3fa280d21878ae391674a21758199df3d2d8c3b5.tar.gz
opencode-3fa280d21878ae391674a21758199df3d2d8c3b5.zip
chore: app -> desktop
Diffstat (limited to 'packages/desktop/index.html')
-rw-r--r--packages/desktop/index.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/desktop/index.html b/packages/desktop/index.html
new file mode 100644
index 000000000..1ee727ff4
--- /dev/null
+++ b/packages/desktop/index.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<html lang="en" class="h-full bg-background">
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta name="theme-color" content="#000000" />
+ <link rel="shortcut icon" type="image/ico" href="/src/assets/favicon.svg" />
+ <link rel="stylesheet" href="/src/assets/theme.css" />
+ <title>opencode</title>
+ </head>
+ <body class="h-full overscroll-none select-none">
+ <script>
+ ;(function () {
+ const savedTheme = localStorage.getItem("theme") || "opencode"
+ const savedDarkMode = localStorage.getItem("darkMode") !== "false"
+ document.documentElement.setAttribute("data-theme", savedTheme)
+ document.documentElement.setAttribute("data-dark", savedDarkMode.toString())
+ })()
+ </script>
+ <noscript>You need to enable JavaScript to run this app.</noscript>
+ <div id="root"></div>
+ <script src="/src/index.tsx" type="module"></script>
+ </body>
+</html>