PR — Ouverture automatique / create-pr (push) Failing after 1s
Standalone files & media application: React/Vite frontend with the @cohaise/ui design system, Hono + MariaDB backend, nginx reverse proxy, Docker Compose stack, migrations 000-006, and project docs. Adds Gitea Actions workflows for deployment, automatic pull requests, and Renovate dependency updates.
11 lines
340 B
JavaScript
11 lines
340 B
JavaScript
(function () {
|
|
try {
|
|
var stored = localStorage.getItem("cohaise-theme");
|
|
var prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
var theme = stored || (prefersDark ? "dark" : "light");
|
|
if (theme === "dark") document.documentElement.classList.add("dark");
|
|
} catch (error) {
|
|
void error;
|
|
}
|
|
})();
|