mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 06:09:19 +00:00
Bug 1931507 - [devtools] Adapt toolbox border in High Contrast Mode. r=devtools-reviewers,ochameau.
Make sure the border between the content and the toolbox adapts when Firefox is in High Contrast Mode. Differential Revision: https://phabricator.services.mozilla.com/D229115
This commit is contained in:
parent
c6228677bb
commit
d406d5f0db
@ -8,9 +8,16 @@
|
||||
/* Splitters */
|
||||
|
||||
:root {
|
||||
--devtools-splitter-color: #e0e0e2;
|
||||
&[devtoolstheme="dark"] {
|
||||
--devtools-splitter-color: #38383d;
|
||||
--devtools-splitter-color: #e0e0e2 /* --grey-25 */;
|
||||
/* Use :where() so we don't get a higher specificity for this rule */
|
||||
&:where([devtoolstheme="dark"]) {
|
||||
--devtools-splitter-color: #38383d /* --grey-70 */;
|
||||
}
|
||||
|
||||
/* We can't use (forced-colors: active) as forced-colors doesn't apply as is,
|
||||
but @media (forced-colors) should be enough to detect HCM */
|
||||
@media (forced-colors) {
|
||||
--devtools-splitter-color: CanvasText;
|
||||
}
|
||||
|
||||
/* Draggable splitter element size */
|
||||
|
Loading…
x
Reference in New Issue
Block a user