mirror of
https://github.com/esphome/esphome.git
synced 2026-05-28 13:37:24 +08:00
[font][image] Use ESPHome urls for remote images (#11675)
This commit is contained in:
@@ -21,12 +21,12 @@ font:
|
|||||||
id: roboto_greek
|
id: roboto_greek
|
||||||
size: 20
|
size: 20
|
||||||
glyphs: ["\u0300", "\u00C5", "\U000000C7"]
|
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
|
id: monocraft
|
||||||
size: 20
|
size: 20
|
||||||
- file:
|
- file:
|
||||||
type: web
|
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
|
id: monocraft2
|
||||||
size: 24
|
size: 24
|
||||||
- file: $component_dir/Monocraft.ttf
|
- file: $component_dir/Monocraft.ttf
|
||||||
|
|||||||
@@ -21,12 +21,12 @@ font:
|
|||||||
id: roboto_greek
|
id: roboto_greek
|
||||||
size: 20
|
size: 20
|
||||||
glyphs: ["\u0300", "\u00C5", "\U000000C7"]
|
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
|
id: monocraft
|
||||||
size: 20
|
size: 20
|
||||||
- file:
|
- file:
|
||||||
type: web
|
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
|
id: monocraft2
|
||||||
size: 24
|
size: 24
|
||||||
- file: $component_dir/Monocraft.ttf
|
- file: $component_dir/Monocraft.ttf
|
||||||
|
|||||||
@@ -50,16 +50,16 @@ image:
|
|||||||
transparency: opaque
|
transparency: opaque
|
||||||
|
|
||||||
- id: web_svg_image
|
- 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
|
resize: 256x48
|
||||||
type: BINARY
|
type: BINARY
|
||||||
transparency: chroma_key
|
transparency: chroma_key
|
||||||
- id: web_tiff_image
|
- 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
|
type: RGB
|
||||||
resize: 48x48
|
resize: 48x48
|
||||||
- id: web_redirect_image
|
- 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
|
type: RGB
|
||||||
resize: 48x48
|
resize: 48x48
|
||||||
- id: mdi_alert
|
- id: mdi_alert
|
||||||
|
|||||||
Reference in New Issue
Block a user