Rebrand light/dark themes to the cyberspace.online look: warm cream-on-black palette (light/dark are exact inverses), self-hosted JetBrains Mono + VT323, square corners, border-driven surfaces with no soft shadows. Adds a terminal design-system CSS layer (DOS double-border modals with hatched corner, fg focus, inversion-on-hover), a theme-aware <RasterImage> (Atkinson-dithered canvas with img fallback), and unifies desktop icons, taskbar, window controls, pills and links under one idiom. Pins window titlebars to a fixed height and switches chat auto-scroll off scrollIntoView to avoid titlebar reflow. VERSION 0.15.1 -> 0.16.0
32 lines
1.0 KiB
HTML
32 lines
1.0 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Oikos</title>
|
|
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
|
|
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
|
|
<link rel="icon" type="image/png" sizes="192x192" href="android-chrome-192.png" />
|
|
<link rel="icon" type="image/png" sizes="512x512" href="android-chrome-512.png" />
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<script>
|
|
;(function () {
|
|
try {
|
|
var t = localStorage.getItem('oikos-theme')
|
|
if (!t) {
|
|
t = window.matchMedia('(prefers-color-scheme:light)').matches ? 'light' : 'dark'
|
|
}
|
|
if (t === 'dark') document.documentElement.classList.add('dark')
|
|
} catch (e) {}
|
|
})()
|
|
</script>
|
|
<script src="/wails/runtime.js"></script>
|
|
<script>
|
|
window.__OIKOS_CONFIG__ = {}
|
|
</script>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|