question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to change font-family

See original GitHub issue

Is there anyway to change the font-family? Or maybe let it inherit from the body and not set it as sans-serif

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
fkhadracommented, Dec 18, 2017

Hey @bogdansoare,

Actually, it can already be done:

For all toast:

<ToastContainer toastClassName={css({ fontFamily: "Times New Roman, Serif" })} />

Per toast:

toast(content, {
  className: css({ fontFamily: "Times New Roman, Serif" })
});

Anyway, I’ll probably allow to set it via the style helper.

1reaction
fkhadracommented, Dec 18, 2017

I don’t know why I didn’t think about it before. Thanks @bogdansoare for the suggestions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changing font family of all MUI components - Stack Overflow
I want to change the background colour and colour of the Typography fonts on selecting the texts of the typography. Can we able...
Read more >
Ability to change the system font at Windows 11 - Microsoft Q&A
Step 1: Open Windows 11 Settings. Step 2: In the left pane, click Accessibility. Then select Text size in the right pane. Step...
Read more >
How to Change Fonts in Your WordPress Theme (5 Easy Ways)
We'll select Text as the element and then click on the 'Font Family' dropdown menu to change its font.
Read more >
Solved: Change fontfamily power bi report
Solved: Hi guys, I'm changin my report theme and got some visual actions changes in my json stylesheet: "visualStyles": { "*": {
Read more >
How To Change Your Fonts in WordPress | WP Engine®
A global font change across your theme is as simple as inserting one line of code. Locate your themes editor by clicking on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found