mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Add background and border-radius to themeable options for ha-card (#2700)
* Add background and border-radius to themeable options for ha-card * Change variable names
This commit is contained in:
parent
d3bdbce0d0
commit
7a16961387
@ -9,9 +9,9 @@ class HaCard extends PolymerElement {
|
||||
:host {
|
||||
@apply --paper-material-elevation-1;
|
||||
display: block;
|
||||
border-radius: 2px;
|
||||
border-radius: var(--ha-card-border-radius, 2px);
|
||||
transition: all 0.3s ease-out;
|
||||
background-color: var(--paper-card-background-color, white);
|
||||
background: var(--ha-card-background, var(--paper-card-background-color, white));
|
||||
color: var(--primary-text-color);
|
||||
}
|
||||
.header {
|
||||
|
Loading…
x
Reference in New Issue
Block a user