From 596e1145d225c66a3c8fdfd998cf152452ec2ae5 Mon Sep 17 00:00:00 2001 From: Fred Chasen Date: Thu, 12 Jan 2023 13:56:34 -0800 Subject: [PATCH] Update highlight background and outline for HCM --- web/text_layer_builder.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/web/text_layer_builder.css b/web/text_layer_builder.css index 63cae726274870..ff115d99c3ed14 100644 --- a/web/text_layer_builder.css +++ b/web/text_layer_builder.css @@ -72,6 +72,15 @@ background-color: rgba(0, 100, 0, 1); } +@media (forced-colors: active) { + .textLayer .highlight { + background-color: Highlight; + } + .textLayer .highlight.selected { + background-color: ButtonText; + } +} + .textLayer ::selection { /*#if !MOZCENTRAL*/ background: blue;