From a23f5fbc969fdd919effae1ad3a5fafdda0c4ed1 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 4 May 2023 19:51:27 -0700 Subject: [PATCH 1/2] Fixed trailing comma --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 8a4ddc7..84fa668 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -45,7 +45,7 @@ ], "include": [ "src/**/*.ts", - "src/**/*.vue", + "src/**/*.vue" ], "references": [ { From 386ab72e36436026230a770d91df4637afcb7cf2 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 4 May 2023 19:56:36 -0700 Subject: [PATCH 2/2] Updating sass to use @use instead of @import --- src/components/Sections/ThemesSection.vue | 46 +++++++++++++---------- src/plugin/CodeBlock.vue | 19 +++++++--- src/plugin/StatusIcons.vue | 2 +- 3 files changed, 41 insertions(+), 26 deletions(-) diff --git a/src/components/Sections/ThemesSection.vue b/src/components/Sections/ThemesSection.vue index 206f442..070d046 100644 --- a/src/components/Sections/ThemesSection.vue +++ b/src/components/Sections/ThemesSection.vue @@ -16,7 +16,10 @@ (neon-bunny, neon-bunny-carrot) built into the component that are based off of my own VSCode - Neon Bunny Theme. + Neon Bunny Theme.

Another other is to use the main {{ selectedLibrary.label }} + >{{ selectedLibrary.label }} themes. If you use the component to load the theme, you just need to set the theme prop to the desired theme. When you load it this way, the component will use a fetch call to load them themes from the jsDelivr CDN. Fetching the {{ selectedLibrary.label }} themes from a CDN was the + >jsDelivr CDN. Fetching the {{ selectedLibrary.label }} themes from a CDN was the best method I could figure out at this time to dynamically load the themes, while making it easier for you to use them. You can also link to another CDN of your choice. @@ -92,7 +91,10 @@

Themes from their - Prism themes + Prism themes repository can be used this way as well.

@@ -115,11 +117,15 @@ + > + + @@ -153,7 +159,7 @@ const examples = { theme="neon-bunny-carrot" />`, importCss: ` diff --git a/src/plugin/StatusIcons.vue b/src/plugin/StatusIcons.vue index 0ae56b1..7bcbe52 100644 --- a/src/plugin/StatusIcons.vue +++ b/src/plugin/StatusIcons.vue @@ -51,5 +51,5 @@ defineProps({