Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Commit 1ad55a1

Browse files
Changing to use min css
1 parent 69204ef commit 1ad55a1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/plugin/CodeBlock.vue

+8-8
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ import UAParser from 'ua-parser-js';
103103
import { Props } from '@/types';
104104
import StatusIcons from '@/plugin/StatusIcons.vue';
105105
import {
106-
neonBunnyCarrotTheme,
107-
neonBunnyTheme,
108-
neonBunnyCarrotHighlightTheme,
109-
neonBunnyHighlightTheme
106+
neonBunnyCarrotThemeMin,
107+
neonBunnyThemeMin,
108+
neonBunnyCarrotHighlightThemeMin,
109+
neonBunnyHighlightThemeMin
110110
} from './themes';
111111
import langCss from 'highlight.js/lib/languages/css';
112112
import langJavascript from 'highlight.js/lib/languages/javascript';
@@ -501,21 +501,21 @@ function loadTheme(): void {
501501
502502
switch (useTheme.value) {
503503
case 'neon-bunny':
504-
selectedTheme = neonBunnyTheme;
504+
selectedTheme = neonBunnyThemeMin;
505505
isPrismTheme = false;
506506
isHighlightTheme = false;
507507
508508
if (activeLibrary === 'highlightjs') {
509-
selectedTheme = neonBunnyHighlightTheme;
509+
selectedTheme = neonBunnyHighlightThemeMin;
510510
}
511511
break;
512512
case 'neon-bunny-carrot':
513-
selectedTheme = neonBunnyCarrotTheme;
513+
selectedTheme = neonBunnyCarrotThemeMin;
514514
isPrismTheme = false;
515515
isHighlightTheme = false;
516516
517517
if (activeLibrary === 'highlightjs') {
518-
selectedTheme = neonBunnyCarrotHighlightTheme;
518+
selectedTheme = neonBunnyCarrotHighlightThemeMin;
519519
}
520520
break;
521521
default:

0 commit comments

Comments
 (0)