From 987f99c0e878be9680e37cd9ff38606e2a72f03a Mon Sep 17 00:00:00 2001 From: Navya Singh Date: Wed, 21 Oct 2026 17:01:01 -0700 Subject: [PATCH] Keep the Show code sample control visible in contrast themes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../typescriptlang-org/src/templates/pages/css/index.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/typescriptlang-org/src/templates/pages/css/index.scss b/packages/typescriptlang-org/src/templates/pages/css/index.scss index 6476dd5eafbd..27b86fde9f02 100644 --- a/packages/typescriptlang-org/src/templates/pages/css/index.scss +++ b/packages/typescriptlang-org/src/templates/pages/css/index.scss @@ -559,6 +559,14 @@ $headline-foreground-bg: white; fill: yellow; } } + + @media (forced-colors: active) { + border: 1px solid ButtonText; + + svg path { + fill: ButtonText; + } + } } a.get-started {