Skip to content

Commit

Permalink
Reverted to default font because of Element bug
Browse files Browse the repository at this point in the history
As of now Element harcodes the default font in all custom themes: https://github.com/matrix-org/matrix-react-sdk/blob/develop/res/themes/light-custom/css/light-custom.scss#L3. This prevents adding custom fonts to custom themes. Another Element bug ([Issue #15095](element-hq/element-web#15095)) replaces the default font Inter with the previous default Nunito. We expect to add custom fonts once this is resolved.
  • Loading branch information
dipyamanroy authored Oct 24, 2021
1 parent 43439f0 commit 2b7f7c4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Discord/Discord-Dark/Discord-Dark-Theme.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
{
"name": "Discord Dark",
"is_dark": true,
"fonts": {
"faces": [
{
"font-family": "Inter",
"src": [{"url": "/fonts/Inter.ttf", "format": "ttf"}]
}
],
"general": "Inter, sans",
"monospace": "'Courier New'"
"colors": {
"accent-color": "#5865F2",
"primary-color": "#00aff4",
Expand Down

0 comments on commit 2b7f7c4

Please sign in to comment.