From 313d54a5ec1142861f7b35176499f671d517c3cd Mon Sep 17 00:00:00 2001 From: chiyi Date: Thu, 8 Oct 2026 16:58:14 +0800 Subject: [PATCH] =?UTF-8?q?style(ui):=20=E6=8D=A2=E7=94=A8=20Memphis/neo-b?= =?UTF-8?q?rutalism=20=E8=A7=86=E8=A7=89=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参考 skills.yangsir.net:粗墨描边 + 硬偏移投影 + 平涂蜡笔色(橙/黄/粉/蓝/薄荷), 替换原二次元粉紫渐变体系。设计令牌集中在 style.css 的 --ink/--shadow-ink/ --m-* 变量,共享组件 .card/.btn-*/.field 与新工具类 (.memphis-dots/.ink-card/ .memphis-press) 使全站统一;暗色模式反转为浅色描边版本。 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- frontend/src/components/AnnouncementModal.vue | 20 +- frontend/src/components/LoginModal.vue | 110 +++--- frontend/src/components/PaymentModal.vue | 14 +- frontend/src/components/SelectMenu.vue | 10 +- frontend/src/layouts/AdminLayout.vue | 66 ++-- frontend/src/layouts/PublicLayout.vue | 119 +++--- frontend/src/style.css | 341 +++++++++++------- frontend/src/views/ConfigView.vue | 49 ++- frontend/src/views/HomeView.vue | 140 ++++--- 9 files changed, 507 insertions(+), 362 deletions(-) diff --git a/frontend/src/components/AnnouncementModal.vue b/frontend/src/components/AnnouncementModal.vue index b006d95..04b361d 100644 --- a/frontend/src/components/AnnouncementModal.vue +++ b/frontend/src/components/AnnouncementModal.vue @@ -13,22 +13,22 @@ const html = computed(() => marked.parse(announcement.content.trim() || '暂无
-
-
+
+
- + -

公告

+

公告

-
+
@@ -51,12 +51,12 @@ const html = computed(() => marked.parse(announcement.content.trim() || '暂无 .ann-body :deep(ul) { list-style: disc; } .ann-body :deep(ol) { list-style: decimal; } .ann-body :deep(li) { margin: 0.2em 0; } -.ann-body :deep(a) { color: rgb(124 58 237); text-decoration: underline; } +.ann-body :deep(a) { color: var(--m-orange); text-decoration: underline; } .ann-body :deep(strong) { font-weight: 700; color: rgb(15 23 42); } -.ann-body :deep(code) { background: rgb(241 245 249); padding: 0.1em 0.35em; border-radius: 0.3rem; font-size: 0.85em; } -.ann-body :deep(pre) { background: rgb(241 245 249); padding: 0.8em; border-radius: 0.5rem; overflow-x: auto; margin: 0.6em 0; } +.ann-body :deep(code) { background: rgb(254 240 138 / 0.5); padding: 0.1em 0.35em; border-radius: 0.3rem; font-size: 0.85em; } +.ann-body :deep(pre) { background: #111; color: #f5f5f5; padding: 0.8em; border-radius: 0.5rem; overflow-x: auto; margin: 0.6em 0; } .ann-body :deep(pre code) { background: none; padding: 0; } -.ann-body :deep(blockquote) { border-left: 3px solid rgb(196 181 253); padding-left: 0.9em; color: rgb(100 116 139); margin: 0.6em 0; } +.ann-body :deep(blockquote) { border-left: 3px solid var(--m-orange); padding-left: 0.9em; color: rgb(100 116 139); margin: 0.6em 0; } .ann-body :deep(hr) { border: none; border-top: 1px solid rgb(226 232 240); margin: 1em 0; } .ann-body :deep(img) { max-width: 100%; border-radius: 0.5rem; margin: 0.5em 0; } diff --git a/frontend/src/components/LoginModal.vue b/frontend/src/components/LoginModal.vue index 904abcf..8a4f109 100644 --- a/frontend/src/components/LoginModal.vue +++ b/frontend/src/components/LoginModal.vue @@ -164,9 +164,9 @@ async function submit() {
- -
-
+ +
+
-