Theme documentation - Glance and Button Cards (#6914)

* Adding Gauge Card

* Updating Docs

* Resolving Reviews

* Updating documentation to show theme
This commit is contained in:
Zack Arnett 2018-10-17 17:57:34 -04:00 committed by Fabian Affolter
parent 98fa00169b
commit 3846189406
2 changed files with 6 additions and 2 deletions

View File

@ -59,6 +59,10 @@ service_data:
description: The service data to use.
type: object
default: "entity_id: entity_id"
theme:
required: false
description: "Set to any theme within `themes.yaml`"
type: string
{% endconfiguration %}
## {% linkable_title Examples %}

View File

@ -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."
type: string
default: 20%
theming:
theme:
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
{% endconfiguration %}