Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Custom Integration List

Seb edited this page Nov 1, 2023 · 10 revisions

Custom Integration List

Apple Font Installation

fonts.woff2 location: /www/fonts/ font.css location: /www/

Add in configuration.yaml

lovelace:
  mode: yaml
  resources:
    [
       { url: '/local/fonts.css?v=2.1',type: css}
    ]

Add in general_theme.yaml

  # +----------------------------------------------------------------------------+
  # | Apple Fonts                                                                |
  # +----------------------------------------------------------------------------+
    primary-font-family: SF Pro Text, Roboto, system-ui
    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)
    mdc-typography-body1-font-family: var(--primary-font-family)
    mdc-typography-font-family: var(--primary-font-family)