From c405328da79f8bf07a1d46a9d0f7b843842fc41f Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Fri, 29 May 2026 20:11:11 +0800 Subject: [PATCH] refactor(shared-visual): clean up shared styles Remove the centralized SharedVisual/styles/index.scss file. Inline all component styles directly into each Vue component. Hardcode green default styles for BadgePill and ActionRow, remove dynamic tone classes. Replace the text arrow in ActionRow with the van-icon component. Update disabled states to use opacity-55 instead of is-disabled class. Fix font-700 to font-bold across components. Simplify component class names and remove unused code. --- .../components/LongTextGuideCard/index.vue | 6 +- .../components/SharedVisual/ActionRow.vue | 24 ++-- .../components/SharedVisual/BadgePill.vue | 10 +- .../components/SharedVisual/CardShell.vue | 15 ++- .../components/SharedVisual/styles/index.scss | 104 ------------------ 5 files changed, 25 insertions(+), 134 deletions(-) delete mode 100644 src/pages/home/components/SharedVisual/styles/index.scss diff --git a/src/pages/home/components/LongTextGuideCard/index.vue b/src/pages/home/components/LongTextGuideCard/index.vue index d2b0394..0eca263 100644 --- a/src/pages/home/components/LongTextGuideCard/index.vue +++ b/src/pages/home/components/LongTextGuideCard/index.vue @@ -1,6 +1,6 @@