Skip to content

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

@dmatik

Description

@dmatik

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions