feat: 更新 AppConfigurator 组件,添加新的 Sakai 链接,调整页面模板和路由配置,更新 unocss 配置以添加颜色
Some checks failed
/ depcheck (push) Waiting to run
/ playwright (push) Has been cancelled
/ build-and-deploy-to-vercel (push) Has been cancelled

This commit is contained in:
严浩
2024-12-25 14:36:51 +08:00
parent e91582db23
commit 82d89363b1
4 changed files with 11 additions and 6 deletions

View File

@ -6,7 +6,6 @@ import { ref } from 'vue';
import { useLayout } from './composables/layout'; import { useLayout } from './composables/layout';
const { layoutConfig, isDarkTheme } = useLayout(); const { layoutConfig, isDarkTheme } = useLayout();
const presets = { const presets = {
Aura, Aura,
Lara, Lara,

View File

@ -1 +1,2 @@
- https://primevue.org/templates/sakai/ - https://primevue.org/templates/sakai/
- https://sakai.primevue.org/

View File

@ -1,5 +1,5 @@
<template> <template>
<main class="flex flex-col items-center justify-center h-full"> <main flex-1 class="flex flex-col items-center justify-center h-full">
<h1>Not Found</h1> <h1>Not Found</h1>
<p>{{ path }} does not exist.</p> <p>{{ path }} does not exist.</p>
</main> </main>
@ -8,8 +8,8 @@
defineProps<{ path: string }>(); defineProps<{ path: string }>();
</script> </script>
<route> <route lang="yaml">
{ props: true
"props": true meta:
} layout: false
</route> </route>

View File

@ -30,6 +30,11 @@ export default defineConfig({
fadeout: '1', fadeout: '1',
}, },
}, },
colors: {
// TODO: Add colors
'surface-0': 'var(--p-surface-0)',
},
}, },
shortcuts: [ shortcuts: [