mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Theme documentation - Glance and Button Cards (#6914)
* Adding Gauge Card * Updating Docs * Resolving Reviews * Updating documentation to show theme
This commit is contained in:
parent
98fa00169b
commit
3846189406
@ -59,6 +59,10 @@ service_data:
|
|||||||
description: The service data to use.
|
description: The service data to use.
|
||||||
type: object
|
type: object
|
||||||
default: "entity_id: entity_id"
|
default: "entity_id: entity_id"
|
||||||
|
theme:
|
||||||
|
required: false
|
||||||
|
description: "Set to any theme within `themes.yaml`"
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## {% linkable_title Examples %}
|
## {% linkable_title Examples %}
|
||||||
|
@ -45,9 +45,9 @@ column_width:
|
|||||||
description: "Column width as CSS length like `100px` or `calc(100% / 7)`. This controls how many entities appear in a row - at the default 20% you have 5 entities in a row. Use `calc(100% / 7)` for 7 entities in a row, and so on."
|
description: "Column width as CSS length like `100px` or `calc(100% / 7)`. This controls how many entities appear in a row - at the default 20% you have 5 entities in a row. Use `calc(100% / 7)` for 7 entities in a row, and so on."
|
||||||
type: string
|
type: string
|
||||||
default: 20%
|
default: 20%
|
||||||
theming:
|
theme:
|
||||||
required: false
|
required: false
|
||||||
description: "Set to `primary` to style the card with the background and text color of the header bar."
|
description: "Set to any theme within `themes.yaml`"
|
||||||
type: string
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user