修改样式
This commit is contained in:
@@ -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'
|
||||
})
|
||||
|
||||
|
@@ -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> -->
|
@@ -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>
|
@@ -1,5 +0,0 @@
|
||||
<template>
|
||||
<thead>
|
||||
<slot />
|
||||
</thead>
|
||||
</template>
|
Reference in New Issue
Block a user