mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
Split data table background color into separate theme variable (#4031)
* Split data table background color into separate theme variable * Remove reference to MDC in data table theme variable name
This commit is contained in:
parent
96d14b7ab7
commit
6d10a5dd4c
@ -427,7 +427,7 @@ export class HaDataTable extends BaseElement {
|
||||
}
|
||||
|
||||
.mdc-data-table {
|
||||
background-color: var(--card-background-color);
|
||||
background-color: var(--data-table-background-color);
|
||||
border-radius: 4px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
|
@ -123,6 +123,9 @@ documentContainer.innerHTML = `<custom-style>
|
||||
--paper-slider-container-color: var(--slider-bar-color);
|
||||
--ha-paper-slider-pin-font-size: 15px;
|
||||
|
||||
/* set data table style */
|
||||
--data-table-background-color: var(--card-background-color);
|
||||
|
||||
/* rgb */
|
||||
--rgb-primary-color: 3, 169, 244;
|
||||
--rgb-accent-color: 255, 152, 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user