Compare commits

...

4 commits

Author SHA1 Message Date
b6c0029208
[UI] Better color schemes for highlighed text.
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-22 03:44:36 +02:00
8b621cbf30
[UI] Propagate dragend events from Tile components. 2024-09-22 03:43:46 +02:00
e5a2127ecb
[UI] s/stackoverflow-dark/monokai-sublime/ in extensions config page.
The dark blue YAML style used by `stackoverflow-dark` isn't very
readable on black background.
2024-09-22 02:49:14 +02:00
91c66cdd48
[UI] Fixed deprecated usage of the hljs.highlight API. 2024-09-22 02:36:43 +02:00
8 changed files with 10 additions and 8 deletions

View file

@ -117,7 +117,7 @@
<script>
import 'highlight.js/lib/common'
import 'highlight.js/styles/stackoverflow-dark.min.css'
import 'highlight.js/styles/nord.min.css'
import hljs from "highlight.js"
import ActionArgs from "./ActionArgs"
import ActionDoc from "./ActionDoc"

View file

@ -41,6 +41,7 @@
:disabled="readOnly"
:value="value"
@drag="$emit('drag', $event)"
@dragend="$emit('dragend', $event)"
@drop="$emit('drop', $event)"
v-if="draggable" />

View file

@ -23,7 +23,7 @@
<script>
import 'highlight.js/lib/common'
import 'highlight.js/styles/stackoverflow-dark.min.css'
import 'highlight.js/styles/nord.min.css'
import hljs from "highlight.js"
import Utils from "@/Utils"

View file

@ -33,7 +33,7 @@
<script>
import axios from 'axios';
import hljs from 'highlight.js';
import 'highlight.js/styles/github.css';
import 'highlight.js/styles/intellij-light.css';
import FloatingButton from "@/components/elements/FloatingButton";
import Highlighter from "./Highlighter";

View file

@ -11,7 +11,7 @@
<script>
import 'highlight.js/lib/common'
import 'highlight.js/styles/stackoverflow-dark.min.css'
import 'highlight.js/styles/nord.min.css'
import hljs from "highlight.js"
import CopyButton from "@/components/elements/CopyButton"

View file

@ -15,6 +15,7 @@
:disabled="readOnly"
:value="value"
@drag="$emit('drag', $event)"
@dragend="$emit('dragend', $event)"
@drop="$emit('drop', $event)"
v-if="draggable" />

View file

@ -13,7 +13,7 @@
<script>
import 'highlight.js/lib/common'
import 'highlight.js/styles/stackoverflow-dark.min.css'
import 'highlight.js/styles/night-owl.min.css'
import hljs from "highlight.js"
import CopyButton from "@/components/elements/CopyButton"
import Utils from "@/Utils";
@ -61,9 +61,9 @@ export default {
}
return hljs.highlight(
'yaml',
'# Currently loaded configuration\n' +
this.curYamlConfig
this.curYamlConfig,
{language: 'yaml'}
).value.trim()
},
},

View file

@ -44,7 +44,7 @@
<script>
import 'highlight.js/lib/common'
import 'highlight.js/styles/stackoverflow-dark.min.css'
import 'highlight.js/styles/nord.min.css'
import hljs from "highlight.js"
import CopyButton from "@/components/elements/CopyButton"
import Loading from "@/components/Loading"