Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Font support in custom themes #4814

Merged
merged 7 commits into from
Jun 24, 2020
Merged

Font support in custom themes #4814

merged 7 commits into from
Jun 24, 2020

Conversation

bwindels
Copy link
Contributor

@bwindels bwindels commented Jun 23, 2020

Left to do:

  • document
  • have a think if the format is future-proof enough in allowing for all the @font-face flexibility. Also does the src list need to be ordered?

@bwindels
Copy link
Contributor Author

Documentation in element-hq/element-web#14175

@bwindels bwindels requested a review from a team June 24, 2020 12:57
@turt2live turt2live marked this pull request as ready for review June 24, 2020 13:00
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable, thanks!

@bwindels bwindels merged commit fc61145 into develop Jun 24, 2020
@bwindels
Copy link
Contributor Author

Fwiw, I decided to not go with freeform css for font support as I thought that could potentially be a source for some unintended security problems if an attacker convinces somebody to add a custom theme. Couldn't think of anything specific though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants