diff --git a/index.html b/index.html
index 9bd27777..b21ea392 100644
--- a/index.html
+++ b/index.html
@@ -15,6 +15,10 @@
+
{
-
- {logs.map((log, index) => (
-
-
- {log.date.toISOString()}
-
-
[{log.emitter}]
-
- [{Protobuf.LogRecord_Level[log.level]}]
-
-
- {stringToColour(log.emitter)}
-
-
{log.message}
-
- ))}
-
+
+
+ {/* \/ flex flex-col gap-2 */}
+
+ {logs.map((log, index) => (
+
+
+
+
+
+
+
+ {log.date
+ .toLocaleString(undefined, {
+ year: 'numeric',
+ month: '2-digit',
+ day: '2-digit',
+
+ hour: '2-digit',
+ minute: '2-digit',
+ second: '2-digit',
+ })
+ .replaceAll('/', '-')
+ .replace(',', '')}
+
+
+
+ [{Types.EmitterScope[log.scope]}.{Types.Emitter[log.emitter]}]
+
+
+
+ [{Protobuf.LogRecord_Level[log.level]}]{/* */}
+
+ {log.message} |
+
+ ))}
+
+
);
};
+
+const Wrapper = ({
+ className,
+ children,
+}: {
+ className?: string;
+ children: React.ReactNode;
+}): JSX.Element => (
+
+
+ {children}
+
+ |
+);
diff --git a/tailwind.config.cjs b/tailwind.config.cjs
index cc3b1c35..5e922d40 100644
--- a/tailwind.config.cjs
+++ b/tailwind.config.cjs
@@ -6,6 +6,7 @@ module.exports = {
theme: {
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
+ mono: ['Cascadia Code', ...defaultTheme.fontFamily.mono],
},
extend: {
colors: {