Hi! I successfully added custom font in resources and changed font in the theme’s yaml file.
But font was only applied for some titles and thats all, even the sidebar still the same:
In different guides I saw, that the font of the sidebar have changed, so it is possible, what am I doing wrong? I tried different fonts, but nothing have changed.
Here is the code of the theme for fonts:
# Font
primary-font-family: 'Tektur'
paper-font-common-base_-_font-family: "var(--primary-font-family)"
paper-font-common-code_-_font-family: "var(--primary-font-family)"
paper-font-body1_-_font-family: "var(--primary-font-family)"
paper-font-subhead_-_font-family: "var(--primary-font-family)"
paper-font-headline_-_font-family: "var(--primary-font-family)"
paper-font-caption_-_font-family: "var(--primary-font-family)"
paper-font-title_-_font-family: "var(--primary-font-family)"
ha-card-header-font-family: "var(--primary-font-family)"
I can give a full code of the theme if it is necesarry.
I know, that theme’s font not applying for all cards, but I want to be sure, that it was applied for everything it can be.
1 post - 1 participant