@@ -42,7 +45,7 @@
@@ -156,8 +159,7 @@ const isDarkMode = inject('isDarkMode')
:deep(.prose h4),
:deep(.prose h5),
:deep(.prose h6) {
- color: rgb(79, 70, 229);
- /* text-indigo-600 */
+ color: rgb(39, 39, 42);
word-wrap: break-word;
overflow-wrap: break-word;
}
@@ -181,15 +183,12 @@ const isDarkMode = inject('isDarkMode')
white-space: pre-wrap;
}
-@media (prefers-color-scheme: dark) {
- :deep(.prose h1),
- :deep(.prose h2),
- :deep(.prose h3),
- :deep(.prose h4),
- :deep(.prose h5),
- :deep(.prose h6) {
- color: rgb(129, 140, 248);
- /* text-indigo-400 */
- }
+:deep(.prose-invert h1),
+:deep(.prose-invert h2),
+:deep(.prose-invert h3),
+:deep(.prose-invert h4),
+:deep(.prose-invert h5),
+:deep(.prose-invert h6) {
+ color: rgb(244, 244, 245);
}
-
\ No newline at end of file
+
diff --git a/src/components/common/DataPagination.vue b/src/components/common/DataPagination.vue
index cacd577..879aef7 100644
--- a/src/components/common/DataPagination.vue
+++ b/src/components/common/DataPagination.vue
@@ -1,54 +1,73 @@
-
-
+
+
显示第 {{ (currentPage - 1) * pageSize + 1 }} 到
{{ Math.min(currentPage * pageSize, total) }} 条,共 {{ total }} 条
-
-
-
+
...
-
@@ -112,4 +131,4 @@ const displayedPages = computed(() => {
return pages
})
-
\ No newline at end of file
+
diff --git a/src/components/common/DataTable.vue b/src/components/common/DataTable.vue
index cdf2107..dd0461c 100644
--- a/src/components/common/DataTable.vue
+++ b/src/components/common/DataTable.vue
@@ -1,27 +1,44 @@
-
-
-
+
+
+
{{ title }}
-
-
+
+
- |
+ :class="[isDarkMode ? 'text-zinc-400' : 'text-zinc-500']"
+ >
{{ header }}
|
-
+
@@ -41,4 +58,4 @@ interface Props {
defineProps()
const isDarkMode = inject('isDarkMode')
-
\ No newline at end of file
+
diff --git a/src/components/common/ExpirationSelector.vue b/src/components/common/ExpirationSelector.vue
index 458d22f..eae56d0 100644
--- a/src/components/common/ExpirationSelector.vue
+++ b/src/components/common/ExpirationSelector.vue
@@ -1,6 +1,6 @@
-