Custom fonts as default #2385
Replies: 2 comments 2 replies
-
You could set it via css variables, see https://github.com/adobe/react-spectrum/blob/main/packages/%40adobe/spectrum-css-temp/vars/spectrum-global.css#L252 |
Beta Was this translation helpful? Give feedback.
-
Dear Adobe Spectrum Team, I hope this message finds you well. I am reaching out to inquire about the possibility of customizing fonts in Adobe Spectrum. I have been trying to incorporate the OpenDyslexic typography into my project, but I have not been able to find a clear solution. I have attempted to use Tailwind CSS, as well as importing the font directly or using a custom theme provider, but unfortunately, none of these methods have been successful. I would greatly appreciate it if you could provide me with information on whether it is possible to customize fonts in Adobe Spectrum and, if so, any guidance on how to do so. Thank you for your time and consideration. I look forward to hearing back from you. Best regards, @br0wsa @snowystinger @kamal @infil00p |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
We are considering React Spectrum for our company application and I have been playing around with it to see how it all works. I'm still pretty new to it but I have been able to set up and use custom brand colours etc via a provider.
However I have a question around implementing custom fonts which will be required to keep brand consistency. We would need a custom default font, I can't really figure out how this is done within Spectrum. Is it locked into use Adobe Clean or is there a recommend way to set a custom font as the default font?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions