mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 04:56:00 +00:00
feat: add themes to xml view
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
.wrapper {
|
||||
overflow: scroll;
|
||||
position: absolute;
|
||||
background: var(--token-base);
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user