From 255e257d47243732cfb816e632987579d77bf108 Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Thu, 6 Aug 2026 10:57:19 +1000 Subject: [PATCH] docs(docs): improve visibility of version toast (#28162) --- docs/.vitepress/theme/components/VersionToast.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/.vitepress/theme/components/VersionToast.vue b/docs/.vitepress/theme/components/VersionToast.vue index 6e8ed7358c9..9460a2eff8e 100644 --- a/docs/.vitepress/theme/components/VersionToast.vue +++ b/docs/.vitepress/theme/components/VersionToast.vue @@ -50,11 +50,11 @@ onMounted(() => { width: 90vw; max-width: 688px; /* matches VitePress's default doc content column width */ padding: 24px 32px; - /* Opaque page-surface base with the theme's translucent tip tint layered - on top, so the tint stays theme-adaptive without looking washed out. */ + /* Opaque page-surface base with the theme's translucent warning tint + layered on top, so the tint stays theme-adaptive without looking washed out. */ background-color: var(--vp-c-bg); - background-image: linear-gradient(var(--vp-c-tip-soft), var(--vp-c-tip-soft)); - color: var(--vp-c-tip-1); + background-image: linear-gradient(var(--vp-c-warning-soft), var(--vp-c-warning-soft)); + color: var(--vp-c-warning-1); border-radius: 8px; box-shadow: var(--vp-shadow-3); text-align: center;