From d986da745b19513a4bfa7f7c2f2509f6e5eee627 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 5 Jul 2025 09:59:48 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=8E=E3=83=BC=E3=83=88=E3=81=AE=E3=82=B5?= =?UTF-8?q?=E3=83=BC=E3=83=90=E3=83=BC=E6=83=85=E5=A0=B1(InstanceTicker)?= =?UTF-8?q?=E3=81=AE=E3=83=87=E3=82=B6=E3=82=A4=E3=83=B3/=E3=83=91?= =?UTF-8?q?=E3=83=95=E3=82=A9=E3=83=BC=E3=83=9E=E3=83=B3=E3=82=B9=E6=94=B9?= =?UTF-8?q?=E5=96=84(-webkit-text-stroke=20ver)=20(#16225)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Revert "enhance(frontend): Instance Tickerのデザイン改善 (#15946)" This reverts commit 04928ba7d163d3c5ecec89196f36b4cb94a01381. * enhance(frontend): Instance Tickerのデザイン改善(-webkit-text-stroke) * :art: * use theme fg/bg * use panel --- .../src/components/MkInstanceTicker.vue | 32 ++++--------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/packages/frontend/src/components/MkInstanceTicker.vue b/packages/frontend/src/components/MkInstanceTicker.vue index 62ff806096..fa22a150c3 100644 --- a/packages/frontend/src/components/MkInstanceTicker.vue +++ b/packages/frontend/src/components/MkInstanceTicker.vue @@ -12,7 +12,6 @@ SPDX-License-Identifier: AGPL-3.0-only @@ -84,6 +60,7 @@ $height: 2ex; height: $height; border-radius: 4px 0 0 4px; overflow: clip; + color: #fff; // text-shadowは重いから使うな @@ -106,5 +83,10 @@ $height: 2ex; font-weight: bold; white-space: nowrap; overflow: visible; + + // text-shadowは重いから使うな + color: var(--MI_THEME-fg); + -webkit-text-stroke: var(--MI_THEME-panel) .225em; + paint-order: stroke fill; }