feat: add themes to xml view

This commit is contained in:
Nybkox
2025-02-27 17:12:27 +01:00
parent 189b9a7ad6
commit 322907b972
6 changed files with 238 additions and 3 deletions

View File

@@ -14,6 +14,7 @@
.wrapper {
overflow: scroll;
position: absolute;
background: var(--token-base);
top: 0;
left: 0;
right: 0;

View File

@@ -4,8 +4,6 @@
import xmlFormat from 'xml-formatter';
import { afterUpdate, onMount } from 'svelte';
import 'highlight.js/styles/vs.css';
export let code = '';
$: formattedCode = xmlFormat(code);