mirror of
https://github.com/traberph/short.git
synced 2026-11-22 22:55:12 +00:00
Admin UI: - system / light / dark switch in the sidebar (cycle button on mobile), stored in localStorage and applied before first paint - dark mode now driven by data-theme instead of only the media query Link page themes: - keep the Midnight and Paper presets, replace the others with the 4 trending palettes from coolors.co - paste a coolors.co link (or a bare hex list) to use any palette; the colors are read from the URL, nothing is fetched - palettes are mapped to background, text and button colors by contrast, with a dark/light background choice Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
569 B
HTML
18 lines
569 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="theme-color" content="#111827" />
|
|
<link rel="icon" href="/~/short.svg" type="image/svg+xml" />
|
|
<link rel="manifest" href="/~/manifest.webmanifest" />
|
|
<link rel="apple-touch-icon" href="/~/icon-192x192.png" />
|
|
<title>short</title>
|
|
<script src="/~/theme-init.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="./main.tsx"></script>
|
|
</body>
|
|
</html>
|