Skip to content

Removes quotes from sans-serif#240

Merged
radishmouse merged 2 commits intomainfrom
fix/239-fix-flash-of-unstyled-text
Mar 20, 2026
Merged

Removes quotes from sans-serif#240
radishmouse merged 2 commits intomainfrom
fix/239-fix-flash-of-unstyled-text

Conversation

@radishmouse
Copy link
Copy Markdown
Contributor

Closes #239

Description of the Change

Removes the quotes from sans-serif, which is a generic font and does not need quotes.

As reported here, adding the quotes cause a delay in rendering with correct font properties.

Benefits

Fixes flash of unstyled text for some services-ui elements.

Related tickets

Originally reported here: thunderbird/roadmaps-overview#21

@hellsworth
Copy link
Copy Markdown

does it matter if Inter is in single quotes?

@devmount
Copy link
Copy Markdown
Collaborator

does it matter if Inter is in single quotes?

@hellsworth No. Quotes are only needed in very rare cases, where the font name is the same as a reserved keyword (like e.g. 'inherit' or 'serif'). Normally there shouldn't be any issues by omitting quotes for font family names at all.

Copy link
Copy Markdown
Collaborator

@devmount devmount left a comment

Choose a reason for hiding this comment

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

Great catch, thanks @radishmouse! (and sorry if it was me who put those quotes there in the first place 😂 )

@radishmouse
Copy link
Copy Markdown
Contributor Author

does it matter if Inter is in single quotes?

Totally ok to use single or double quotes. Per @devmount , they're not strictly needed (but I usually see them around specific font names).

@hellsworth
Copy link
Copy Markdown

Cool. do whatever you think is appropriate. I'm so not a web dev so I defer to you guys 😅

@radishmouse radishmouse merged commit f239a22 into main Mar 20, 2026
3 checks passed
@radishmouse radishmouse deleted the fix/239-fix-flash-of-unstyled-text branch March 20, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flash of unstyled text due to typo in font-family

3 participants