Skip to content

Commit

Permalink
Merge pull request #93 from unyt-org/feat-debug-pages
Browse files Browse the repository at this point in the history
Set correct theme for debug pages
  • Loading branch information
benStre authored Feb 11, 2024
2 parents 93e7b4c + fbedaa7 commit 718bb1b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/debugging/logs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { DebugLogs } from "./logs-backend.ts";
import { app } from "../app.ts"
import { convertANSIToHTML } from "../../utils/ansi-to-html.ts";
import { unsafeHTML } from "../../html/unsafe-html.ts";
import { UIX } from "../../../uix.ts";

UIX.Theme.useTheme("uix-dark");

const messageLoggerEnabled = $$(false);
const verboseLogsEnabled = $$(false);
Expand Down
4 changes: 4 additions & 0 deletions src/app/debugging/main.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { UIX } from "../../../uix.ts";

UIX.Theme.useTheme("uix-dark");

(document as any).body.append(
<div style="padding: 15px;">
<h1>UIX Debugging Tools</h1>
Expand Down
3 changes: 3 additions & 0 deletions src/app/debugging/network.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { DebugNetwork } from "./network-backend.ts";
import { convertANSIToHTML } from "../../utils/ansi-to-html.ts";
import { app } from "../app.ts";
import { UIX } from "../../../uix.ts";

UIX.Theme.useTheme("uix-dark");

const endpoint = $$("")

Expand Down

0 comments on commit 718bb1b

Please sign in to comment.