highlight: smaller bundle size, fix light & dark theme

This commit is contained in:
Xuan Son Nguyen
2024-12-13 11:16:42 +01:00
parent d0fbab4710
commit 95842c19f1
7 changed files with 597 additions and 47 deletions
+3 -2
View File
@@ -6,9 +6,11 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"analyze": "ANALYZE=1 npx vite-bundle-visualizer"
},
"devDependencies": {
"sass-embedded": "^1.83.0",
"vite": "^5.4.10"
},
"dependencies": {
@@ -16,7 +18,6 @@
"daisyui": "^4.12.14",
"highlight.js": "^11.10.0",
"markdown-it": "^14.1.0",
"markdown-it-highlightjs": "^4.2.0",
"markdown-it-katex-gpt": "^1.1.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",