-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Allow custom CSS import in config.json
…
#13137
Comments
This would also allow proper custom font support via defining paths to webfont files. |
Duplicate of #7316 We are not currently intending on supporting this ourselves - there are several web browser extensions which achieve this. |
@turt2live Web browser based, or client-side approaches to this problems are not comparable to server-side approaches. There really should be some way to add some custom css without having to manually edit the newly built |
The linked issue isn't for server-side support. |
@turt2live My issue was meant to be server-side. Riot-web-instance-specific. Not client-/browser-specific. |
The config.json is not server side, it's client side. Server side would mean putting objects into account data or similar. In any case, custom css isn't a feature at the moment, so would be best to track it with one issue. |
@fooness It may help to discuss your ideas in #riot-web:matrix.org so we can comment on how they may fit with ongoing plans, etc. |
@jryans What’s your handle on Matrix, also |
It would be great to allow custom CSS import in
config.json
… this could be as easy as adding@import url("/custom.css");
to: https://github.com/matrix-org/matrix-react-sdk/blob/develop/res/themes/light-custom/css/_custom.scssMaybe it’s even possible to use a css variable here, like:
@import url("var(--custom-css-path)");
… or maybe via sass, like:Think that’s the easiest solution to this, but I’m more than happy if anyone know an even more simple solution which would make it into master very soon.
The text was updated successfully, but these errors were encountered: