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

Badges font-family is hard coded to Roboto instead of theme variable #22991

Open
4 tasks done
dmatik opened this issue Nov 25, 2024 · 0 comments
Open
4 tasks done

Badges font-family is hard coded to Roboto instead of theme variable #22991

dmatik opened this issue Nov 25, 2024 · 0 comments

Comments

@dmatik
Copy link

dmatik commented Nov 25, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

The new badges font family is set hard coded to Roboto for label and content, placed under .info class.

image

image

Describe the behavior you expected

The have the font family set to --primary-font-family variable from theme.

Steps to reproduce the issue

  1. Set any font to --primary-font-family in theme.
  2. Create any badge on UI.
  3. See that the font is ignored.
    ...

What version of Home Assistant Core has the issue?

2024.11.3

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

No response

Which operating system are you using to run this browser?

No response

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

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

No branches or pull requests

1 participant