Bug 1854315 - Make popups not inherit container color scheme. r=dao,desktop-theme-reviewers

The `menubar` has bright text and thus we use `color-scheme: dark` on it
to get the right colors.

But popups should generally be able to render on the preferred color
scheme.

Differential Revision: https://phabricator.services.mozilla.com/D189025
This commit is contained in:
Emilio Cobos Álvarez 2023-09-25 09:27:58 +00:00
Родитель 8a6e08bf55
Коммит 943818ee42
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -8,6 +8,10 @@
menupopup,
panel {
/* We can always render in the preferred color scheme (unless otherwise
* overridden). */
color-scheme: light dark;
min-width: 1px;
--panel-background: Menu;
--panel-color: MenuText;