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;