1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00

feat: respects fg color with css color using ansi (#2180)

This commit is contained in:
Amir Raminfar
2023-05-08 11:02:30 -07:00
committed by GitHub
parent e0e4292d1c
commit 4fc8109048

View File

@@ -13,7 +13,7 @@
import { SimpleLogEntry } from "@/models/LogEntry";
import AnsiConvertor from "ansi-to-html";
const ansiConvertor = new AnsiConvertor({ escapeXML: false });
const ansiConvertor = new AnsiConvertor({ escapeXML: false, fg: "var(--text-color)" });
defineProps<{
logEntry: SimpleLogEntry;
}>();