Skip to content

extensibility: handle theming on code hosts

Warren Gifford requested to merge tjk/fix-gh-red-symbols into main

Created by: tjkandala

Fix #24157 (closed) (and possibly other unknown visual bugs).

We added the ability to observe code host themes in #16589 to fix line decorations, but we didn't apply theme classes to document.body. As a result, we used GitHub's --secondary var, which is red for some reason.

TODO: scope styles (#23251). This PR will add a bunch more generic variable names that other code hosts will inevitably use (like --secondary). Currently looking into postcss-prefix-selector

Merge request reports

Loading