Skip to content

Commit 955000e

Browse files
committed
popup: Exclude "Always open" from menu colors hack.
Since they don't need inverting. Fixes #2872
1 parent bd1e210 commit 955000e

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/css/popup.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
[data-theme="light"],
3030
:root {
31+
color-scheme: light;
3132
--fontInter: "Inter", sans-serif;
3233
--fontInterMedium: "Inter-Medium", sans-serif;
3334
--fontMetropolis: "Metropolis", sans-serif;
@@ -113,6 +114,7 @@
113114
}
114115

115116
[data-theme="dark"] {
117+
color-scheme: dark;
116118
--iconCloseX: url("/img/close-light.svg");
117119
--iconGear: url("/img/gear-icon-light.svg");
118120
--iconArrowRight: url("/img/arrow-icon-right-light.svg");
@@ -238,7 +240,9 @@ body {
238240
[data-theme="dark"] img.clear-storage-icon,
239241
[data-theme="dark"] img.delete-assignment,
240242
[data-theme="dark"] #edit-sites-assigned .menu-icon,
241-
[data-theme="dark"] #container-info-table .menu-icon {
243+
[data-theme="dark"] #container-info-table .menu-icon,
244+
[data-theme="dark"] #always-open .menu-icon,
245+
[data-theme="dark"] #always-open-in .menu-icon {
242246
filter: invert(0);
243247
}
244248

src/popup.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<meta http-equiv="content-type" content="text/html; charset=utf-8">
44
<title>Firefox Multi-Account Containers</title>
55
<script type="text/javascript" src="./js/i18n.js"></script>
6+
<meta name="color-scheme" content="light dark">
67
<link rel="stylesheet" href="./css/popup.css">
78
</head>
89
<body>

0 commit comments

Comments
 (0)