[font][image] Use ESPHome urls for remote images (#11675)

This commit is contained in:
Clyde Stubbs
2025-11-03 10:50:15 +10:00
committed by GitHub
parent 19e275dc02
commit 3e17767f6a
3 changed files with 7 additions and 7 deletions

View File

@@ -21,12 +21,12 @@ font:
id: roboto_greek
size: 20
glyphs: ["\u0300", "\u00C5", "\U000000C7"]
- file: "https://github.com/IdreesInc/Monocraft/releases/download/v3.0/Monocraft.ttf"
- file: "https://media.esphome.io/tests/fonts/Monocraft.ttf"
id: monocraft
size: 20
- file:
type: web
url: "https://github.com/IdreesInc/Monocraft/releases/download/v3.0/Monocraft.ttf"
url: "https://media.esphome.io/tests/fonts/Monocraft.ttf"
id: monocraft2
size: 24
- file: $component_dir/Monocraft.ttf

View File

@@ -21,12 +21,12 @@ font:
id: roboto_greek
size: 20
glyphs: ["\u0300", "\u00C5", "\U000000C7"]
- file: "https://github.com/IdreesInc/Monocraft/releases/download/v3.0/Monocraft.ttf"
- file: "https://media.esphome.io/tests/fonts/Monocraft.ttf"
id: monocraft
size: 20
- file:
type: web
url: "https://github.com/IdreesInc/Monocraft/releases/download/v3.0/Monocraft.ttf"
url: "https://media.esphome.io/tests/fonts/Monocraft.ttf"
id: monocraft2
size: 24
- file: $component_dir/Monocraft.ttf

View File

@@ -50,16 +50,16 @@ image:
transparency: opaque
- id: web_svg_image
file: https://raw.githubusercontent.com/esphome/esphome-docs/a62d7ab193c1a464ed791670170c7d518189109b/images/logo.svg
file: https://media.esphome.io/logo/logo.svg
resize: 256x48
type: BINARY
transparency: chroma_key
- id: web_tiff_image
file: https://upload.wikimedia.org/wikipedia/commons/b/b6/SIPI_Jelly_Beans_4.1.07.tiff
file: https://media.esphome.io/tests/images/SIPI_Jelly_Beans_4.1.07.tiff
type: RGB
resize: 48x48
- id: web_redirect_image
file: https://avatars.githubusercontent.com/u/3060199?s=48&v=4
file: https://media.esphome.io/logo/logo.png
type: RGB
resize: 48x48
- id: mdi_alert