Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Change font-family from "Inter" to standard Home Assistant font #1108

Open
Jannomag opened this issue Mar 3, 2025 · 0 comments
Open
Labels
feature request New feature or request for Integration specific

Comments

@Jannomag
Copy link

Jannomag commented Mar 3, 2025

Describe the feature

Hi,
I noticed that the cards sometimes use "Inter" as font-family , which is not available everywhere. On my works Windows 10 computer with MS Edge it doesn't work at all. So the font gets rendered with standard serif font.
Changing all "font-family" string in the ha-bambulab-cards.js with following works fine and integrates into the Home Assistant UI:

Change font-family: "Inter" to font-family: font-family: var(--paper-font-common-base_-_font-family).

This worked on my setup and now the pop up windows use the standard Home Assistant font - no matter which one you set in your own theme config.

What device is this for?

P1S

Other Information

No response

@Jannomag Jannomag added the feature request New feature or request for Integration specific label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request for Integration specific
Projects
None yet
Development

No branches or pull requests

1 participant