Unable to set theming #84
Labels
No labels
bug
can't reproduce
confirmed
discussion
duplicate
enhancement
glitch-soc
help needed
suggestion
upstream
won’t fix
No milestone
No project
No assignees
3 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pleroma/mastofe#84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It is not possible to switch Mastodon FE to light theme.
Steps to reproduce:
This sends you back to the Pleroma FE preferences screen so there is no way to set the theme for Mastodon FE. This is a problem for people like myself whose bad astigmatism makes it impossible to use UI's with dark backgrounds.
Yes, this feature is unsupported right now, in Mastodon this is into the backend settings.
Thank you you for the information. Is there a way to force a specific theme, perhaps from the server side?
Also, is there a plan to support this at some point?
There is a way but it's via patching the backend, not exactly something great.
contrast theme:
light theme:
And for the support side of things, I'll give it a shot at having the settings in MastoFE but no promises there as I'm not a React frontend developer at all.
Thank you very much for the update. It was very enlightening.
If you want a temporary solution I made this userscript https://github.com/Cesese/UserScripts-cesese/blob/master/mastofe-light-theme.js
you can use it with tampermonkey and other such browser extensions, you just need to change the instance name to yours in the 6th line
I didn't know about the contrast theme and about the .eex file and body class, so it just changes the css, but I didn't see anything that looked weird.
To change it to contrast theme, you just need to replace
/packs/skins/glitch/mastodon-light/common.cssby/packs/skins/glitch/contrast/common.cssin the 20th line.