mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-23 22:18:26 +01:00
feat: respects fg color with css color using ansi (#2180)
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
import { SimpleLogEntry } from "@/models/LogEntry";
|
import { SimpleLogEntry } from "@/models/LogEntry";
|
||||||
import AnsiConvertor from "ansi-to-html";
|
import AnsiConvertor from "ansi-to-html";
|
||||||
|
|
||||||
const ansiConvertor = new AnsiConvertor({ escapeXML: false });
|
const ansiConvertor = new AnsiConvertor({ escapeXML: false, fg: "var(--text-color)" });
|
||||||
defineProps<{
|
defineProps<{
|
||||||
logEntry: SimpleLogEntry;
|
logEntry: SimpleLogEntry;
|
||||||
}>();
|
}>();
|
||||||
|
|||||||
Reference in New Issue
Block a user