diff options
| author | Dax <[email protected]> | 2025-09-15 03:28:08 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-15 03:28:08 -0400 |
| commit | 725104572e2b6d64dcfc145d4748124186427c7b (patch) | |
| tree | daf5b26437fd267bc41848e0578ed13d1b43bb52 /packages/app/index.html | |
| parent | 4954edf8aeb5b8b395fc4f4e91b7fe36cfab212d (diff) | |
| download | opencode-725104572e2b6d64dcfc145d4748124186427c7b.tar.gz opencode-725104572e2b6d64dcfc145d4748124186427c7b.zip | |
feat: add desktop/web app package (#2606)
Co-authored-by: adamdotdevin <[email protected]>
Co-authored-by: Adam <[email protected]>
Co-authored-by: GitHub Action <[email protected]>
Diffstat (limited to 'packages/app/index.html')
| -rw-r--r-- | packages/app/index.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/app/index.html b/packages/app/index.html new file mode 100644 index 000000000..24cc56b09 --- /dev/null +++ b/packages/app/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.ico" /> + <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> |
