From e2693f501ef47a898f344de80391079fd837e91e Mon Sep 17 00:00:00 2001 From: wherewhere Date: Fri, 5 Jul 2024 18:19:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81=E5=AD=97?= =?UTF-8?q?=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Wherlog/App.razor.css | 6 +++++- Wherlog/Wherlog.csproj | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Wherlog/App.razor.css b/Wherlog/App.razor.css index 7ef7e26..a6364af 100644 --- a/Wherlog/App.razor.css +++ b/Wherlog/App.razor.css @@ -1,4 +1,8 @@ -::deep .alert { +::deep * { + --font-monospace: "Cascadia Code NF", "Cascadia Code PL", "Cascadia Code", Consolas, "Courier New", "Liberation Mono", SFMono-Regular, Menlo, Monaco, monospace; +} + +::deep .alert { border: 1px dashed var(--accent-fill-rest); padding: 5px; } diff --git a/Wherlog/Wherlog.csproj b/Wherlog/Wherlog.csproj index e25c70e..b85952b 100644 --- a/Wherlog/Wherlog.csproj +++ b/Wherlog/Wherlog.csproj @@ -22,8 +22,8 @@ - - + +