From 4a2dfe758a21727a6896d7e25a83f78824bd6e67 Mon Sep 17 00:00:00 2001 From: Alban Mouton Date: Thu, 14 Nov 2024 00:15:54 +0100 Subject: [PATCH] docs: work on docs theme --- doc/assets/prism.js | 3 +- doc/components/code-block.vue | 1 - doc/components/object-editor.vue | 3 +- doc/components/vjsf-example.vue | 326 +++++++++++++++---------------- doc/layouts/default.vue | 2 +- doc/package.json | 3 +- doc/pages/editor.vue | 7 +- doc/plugins/vuetify.ts | 8 +- package-lock.json | 6 + 9 files changed, 184 insertions(+), 175 deletions(-) diff --git a/doc/assets/prism.js b/doc/assets/prism.js index c3ec7a99..43950190 100644 --- a/doc/assets/prism.js +++ b/doc/assets/prism.js @@ -1,7 +1,8 @@ // this is mostly a redirection import prism from the same source so that we don't have code splitting // between prism itself and the languages -import 'prismjs/themes/prism.css' +// import 'prismjs/themes/prism.css' +import 'prism-themes/themes/prism-xonokai.css' import Prism from 'prismjs' import 'prismjs/components/prism-javascript' import 'prismjs/components/prism-bash' diff --git a/doc/components/code-block.vue b/doc/components/code-block.vue index 432d0ac0..c7a6659f 100644 --- a/doc/components/code-block.vue +++ b/doc/components/code-block.vue @@ -30,7 +30,6 @@ const html = computed(() => {