Skip to content

Commit

Permalink
Fix mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasstrehle committed Nov 7, 2023
1 parent 4398088 commit 30c1f05
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/entrypoint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { timeout } from "unyt_core/datex_all.ts";
import { Entrypoint } from "uix/html/entrypoints.ts";
import { FileProvider } from "uix/html/entrypoint-providers.tsx";
import { UIX } from "uix";
UIX.Theme.setMode("dark");

@endpoint export class Screenshot {

Expand Down
3 changes: 2 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"importMap": "./importmap.json",
"_publicImportMap": "./importmap.json",
"importMap": "./.datex-cache/importmap.lock.json",
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "uix",
Expand Down
4 changes: 4 additions & 0 deletions frontend/entrypoint.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { UIX } from "uix";
import { MainPage } from "../common/components/MainPage.tsx";
import { Entrypoint } from "uix/html/entrypoints.ts";

UIX.Theme.setMode("dark");

export default {
'/': <MainPage/>
} satisfies Entrypoint;

0 comments on commit 30c1f05

Please sign in to comment.