修改样式

This commit is contained in:
2025-08-15 01:13:08 +08:00
parent 4929c2d404
commit 0bdc095f04
11 changed files with 288 additions and 38 deletions

View File

@@ -31,7 +31,7 @@ const { selectedTheme } = useTheme()
// - 否则classic 或 elegant使用较大字号 'text-3xl lg:text-4xl'
const themeSizeClass = computed(() => {
return selectedTheme.value === 'classic'
? 'text-2xl lg:text-3xl border-b border-gray-200 dark:border-gray-700'
? 'text-2xl lg:text-3xl underline decoration-3 decoration-primary dark:decoration-gray-700 underline-offset-8 mb-3'
: 'text-3xl lg:text-4xl'
})

View File

@@ -1,15 +0,0 @@
<template>
<table>
<slot />
</table>
</template>
<!-- <style scoped>
/* 强化表头背景,仅此组件内生效 */
table :deep(thead th) {
background-color: rgba(0, 0, 0, 0.05);
}
.dark table :deep(thead th) {
background-color: rgba(255, 255, 255, 0.08);
}
</style> -->

View File

@@ -1,5 +0,0 @@
<template>
<th class=" bg-gray-100 dark:bg-gray-800 border border-gray-200 dark:border-gray-700 py-2">
<slot />
</th>
</template>

View File

@@ -1,5 +0,0 @@
<template>
<thead>
<slot />
</thead>
</template>