From 743078255fa52e2016aa1ff6626feb33a0130a75 Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Thu, 3 Sep 2026 17:37:44 +0300 Subject: [PATCH] refactor(chat): layer Markdown integration styles - Import upstream Markdown CSS through the components cascade layer\n- Keep compact semantic overrides in a dedicated chat stylesheet\n- Preserve Shiki backgrounds through its supported theme variable\n\nCo-authored-by: Jason Kneen --- src/app.css | 2 + src/components/chat/ChatMarkdown.vue | 1 - src/theme/chat.css | 85 ++++++++++++++++++++++++++++ src/theme/chat.ts | 53 +---------------- 4 files changed, 89 insertions(+), 52 deletions(-) create mode 100644 src/theme/chat.css diff --git a/src/app.css b/src/app.css index e5da7b5de..85a4d396a 100644 --- a/src/app.css +++ b/src/app.css @@ -1,5 +1,7 @@ @import 'tailwindcss'; @import 'tw-animate-css'; +@import 'vue-stream-markdown/index.css' layer(components); +@import './theme/chat.css'; @utility scrollbar-none { -ms-overflow-style: none; diff --git a/src/components/chat/ChatMarkdown.vue b/src/components/chat/ChatMarkdown.vue index a21899629..e1c30f233 100644 --- a/src/components/chat/ChatMarkdown.vue +++ b/src/components/chat/ChatMarkdown.vue @@ -1,7 +1,6 @@