-
-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dark Mode text stuck as black #1672
Comments
Also happening on Macbook air Big Sur. Any tips on how to change back to white text? |
Same issue both on my mac and windows laptops |
yeah this started happening for me, idk if anything else has broken. Sometimes features like disabled read receipts etc also break |
@tobywrites @karelo911 @raza453 Here - put this in your custom styles: html.dark-mode .n3t5jt4f.pbevjfx6 {
color: white;
/* Or you can use
color: var(--base-ninety);
*/
} Edit them like this Save the css file & reload caprine with Ctrl/Command + R |
Works perfectly. Thank you very much for this workaround! |
The classes that @matthewstrasiotto identified are not present in my Messenger interface, so perhaps they are rolling out yet another new interface? On Windows and Linux, I have not been able to replicate the black text or even query those classes. The slow rollout of new interfaces with no way to specify which one you get makes development difficult. Could you show us what the classes of the main HTML element and the body are? Shown below is what I see when I open Developers Tools: <html id="facebook" class="_9dls" lang="en" dir="ltr">
<head>...</head>
<body class="_6s5d _71pn _-kb vsc-initialized">
... The text color is not explicitly set when dark mode is activated. Simply adding a In the current "new" interface, the text sent by you is colored with |
Worked perfectly, thank you very much! For mac users, the css file is locating in ~/Library/Application Support/Caprine |
I have the same issue in Manjaro. |
@mquevill, from some other issue (#1588) I've found out that Facebook is still updating the old design which means that the css for old design might not work as expected. I'm not sure weather this is the old or new design but we should keep in mind that there has been some bugs with Facebooks A good idea would be to change the default contents of The thing that still confuses me is how this issue is present on some new designs (if we take that as a fact) and not on others if we expect that Facebook is not rolling out two new designs. A good idea would be to create a menu option (similar to About Caprine option) which would show a window with information related to website design useful to developers (whether it's new or old design, locale, weather some specific classes exist, dark/light mode css from fabebook...), it might help us understand what are users having displayed as a website and weather it's a bug in Caprine or the website. It would also make it easier for developers to gather such information by just telling users to click on that option and paste the information in an issue or pastebin rather than teaching them how to open dev tools since that's what we've been doing in the past. |
It seems like the issue is with the div element wrapping the text message. It contains a class That turns the text color in the message box black even if dark mode is enabled globally. I've managed to fix it by adding the following css to .__fb-dark-mode .__fb-light-mode {
--primary-text: #e4e6eb;
} It sets the |
Not sure why this is happening, on Windows 10. All text's sent to me are in black while using dark mode.
The text was updated successfully, but these errors were encountered: