feat: update primary color variables for light theme and enhance asset file naming in Vite config

This commit is contained in:
sha
2025-06-20 17:04:47 +03:00
parent 552219d247
commit 946adf5ed6
2 changed files with 13 additions and 2 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
/* CSS Custom Properties for theming */
:root {
/* Light theme */
--primary-color: #2563eb;
--primary-hover: #1d4ed8;
--primary-color: #374151;
--primary-hover: #1f2937;
--bg-color: #ffffff;
--bg-secondary: #f8fafc;
--bg-hover: #f1f5f9;
+11
View File
@@ -10,6 +10,17 @@ export default defineConfig({
assetsDir: 'assets',
sourcemap: false,
minify: 'terser',
rollupOptions: {
output: {
assetFileNames: (assetInfo) => {
// Keep SVG files and other images in the root for easier path resolution
if (assetInfo.name?.endsWith('.svg') || assetInfo.name?.endsWith('.jpg') || assetInfo.name?.endsWith('.png')) {
return '[name][extname]'
}
return 'assets/[name]-[hash][extname]'
}
}
}
},
server: {
host: true,