Skip to content

Commit 4e7e6f7

Browse files
authored
Remove unnecessary Dark Mode CSS (#2155)
1 parent feb9a71 commit 4e7e6f7

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

css/dark-mode.css

-39
Original file line numberDiff line numberDiff line change
@@ -163,50 +163,11 @@ html.dark-mode ._9xq0 {
163163
color: var(--primary-text);
164164
}
165165

166-
/* Removing top gap */
167-
/* TODO: Remove when fixed by fb */
168-
.__fb-dark-mode {
169-
--header-height: 0 !important;
170-
}
171-
172-
/* Message list: fix for received messages text color in dark mode */
173-
/* TODO: Remove when fixed by fb */
174-
.__fb-dark-mode .__fb-light-mode {
175-
--primary-text: #e4e6eb;
176-
}
177-
178166
/* Radio buttons */
179167
.x14yjl9h.xudhj91.x18nykt9.xww2gxu.x13fuv20.xu3j5b3.x1q0q8m5.x26u7qi.xamhcws.xol2nv.xlxy82.x19p7ews.x9f619.x1rg5ohu.x2lah0s.x1n2onr6.x1tz4bnf.xmds5ef.x25epmt.x11y6y4w.xxk0z11.xvy4d1p {
180168
--accent: var(--primary-text);
181169
}
182170

183-
/* Backgrounds of various buttons ("Join room", "Visit Group", Audio call, etc.) */
184-
/* TODO: Remove when fixed by fb, since -floating should not be here */
185-
html.dark-mode .x14yjl9h.xudhj91.x18nykt9.xww2gxu.x6s0dn4.x972fbf.xcfux6l.x1qhh985.xm0m39n.x9f619.x3nfvp2.xl56j7k.x1n2onr6.x1qhmfi1.xc9qbxq.x14qfxbe,
186-
html.dark-mode .x1n2onr6.x1ja2u2z.x78zum5.x2lah0s.xl56j7k.x6s0dn4.xozqiw3.x1q0g3np.xi112ho.x17zwfj4.x585lrc.x1403ito.x972fbf.xcfux6l.x1qhh985.xm0m39n.x9f619.xn6708d.x1ye3gou.x1qhmfi1.x1r1pt67 {
187-
background-color: var(--secondary-button-background-floating) !important;
188-
}
189-
190-
/* Search results: Close button */
191-
/* TODO: Remove when fixed by fb, since --always-white is not good here */
192-
html.dark-mode .x14hiurz.x1r1pt67 {
193-
background-color: var(--secondary-button-background) !important;
194-
}
195-
196-
/* Attachment background color in Chat Box */
197-
/* TODO: Remove when fixed by fb, since #d6d9dd is too bright here */
198-
/* Current Background-Color is same style as add attachment button */
199-
html.dark-mode .x1ybostu {
200-
background-color: rgba(134 142 153 / 25%);
201-
}
202-
203-
/* Recipient Pills in new message form */
204-
/* TODO: Remove when fixed by fb, since #f3f3f4 is too bright here */
205-
/* It seems FB uses shades of blue here */
206-
html.dark-mode .x4noic3 {
207-
background-color: var(--secondary-button-background);
208-
}
209-
210171
/* Create room icon color */
211172
html.dark-mode .x1p6odiv {
212173
color: var(--primary-icon);

0 commit comments

Comments
 (0)