Skip to content

Commit

Permalink
Use primary color for filter badge color
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya committed Mar 29, 2024
1 parent 1300cff commit 5258cf2
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions src/components/ha-filter-blueprints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ export class HaFilterBlueprints extends LitElement {
border-radius: 50%;
font-weight: 400;
font-size: 11px;
background-color: var(--accent-color);
background-color: var(--primary-color);
line-height: 16px;
text-align: center;
padding: 0px 2px;
color: var(--text-accent-color, var(--text-primary-color));
color: var(--text-primary-color);
}
`,
];
Expand Down
4 changes: 2 additions & 2 deletions src/components/ha-filter-categories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,11 @@ export class HaFilterCategories extends SubscribeMixin(LitElement) {
border-radius: 50%;
font-weight: 400;
font-size: 11px;
background-color: var(--accent-color);
background-color: var(--primary-color);
line-height: 16px;
text-align: center;
padding: 0px 2px;
color: var(--text-accent-color, var(--text-primary-color));
color: var(--text-primary-color);
}
mwc-list {
--mdc-list-item-meta-size: auto;
Expand Down
4 changes: 2 additions & 2 deletions src/components/ha-filter-devices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ export class HaFilterDevices extends LitElement {
border-radius: 50%;
font-weight: 400;
font-size: 11px;
background-color: var(--accent-color);
background-color: var(--primary-color);
line-height: 16px;
text-align: center;
padding: 0px 2px;
color: var(--text-accent-color, var(--text-primary-color));
color: var(--text-primary-color);
}
ha-check-list-item {
width: 100%;
Expand Down
4 changes: 2 additions & 2 deletions src/components/ha-filter-entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,11 @@ export class HaFilterEntities extends LitElement {
border-radius: 50%;
font-weight: 400;
font-size: 11px;
background-color: var(--accent-color);
background-color: var(--primary-color);
line-height: 16px;
text-align: center;
padding: 0px 2px;
color: var(--text-accent-color, var(--text-primary-color));
color: var(--text-primary-color);
}
ha-check-list-item {
--mdc-list-item-graphic-margin: 16px;
Expand Down
4 changes: 2 additions & 2 deletions src/components/ha-filter-floor-areas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,11 @@ export class HaFilterFloorAreas extends SubscribeMixin(LitElement) {
border-radius: 50%;
font-weight: 400;
font-size: 11px;
background-color: var(--accent-color);
background-color: var(--primary-color);
line-height: 16px;
text-align: center;
padding: 0px 2px;
color: var(--text-accent-color, var(--text-primary-color));
color: var(--text-primary-color);
}
ha-check-list-item {
--mdc-list-item-graphic-margin: 16px;
Expand Down
4 changes: 2 additions & 2 deletions src/components/ha-filter-integrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ export class HaFilterIntegrations extends LitElement {
border-radius: 50%;
font-weight: 400;
font-size: 11px;
background-color: var(--accent-color);
background-color: var(--primary-color);
line-height: 16px;
text-align: center;
padding: 0px 2px;
color: var(--text-accent-color, var(--text-primary-color));
color: var(--text-primary-color);
}
`,
];
Expand Down
4 changes: 2 additions & 2 deletions src/components/ha-filter-labels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ export class HaFilterLabels extends SubscribeMixin(LitElement) {
border-radius: 50%;
font-weight: 400;
font-size: 11px;
background-color: var(--accent-color);
background-color: var(--primary-color);
line-height: 16px;
text-align: center;
padding: 0px 2px;
color: var(--text-accent-color, var(--text-primary-color));
color: var(--text-primary-color);
}
.warning {
color: var(--error-color);
Expand Down
4 changes: 2 additions & 2 deletions src/components/ha-filter-states.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ export class HaFilterStates extends LitElement {
border-radius: 50%;
font-weight: 400;
font-size: 11px;
background-color: var(--accent-color);
background-color: var(--primary-color);
line-height: 16px;
text-align: center;
padding: 0px 2px;
color: var(--text-accent-color, var(--text-primary-color));
color: var(--text-primary-color);
}
`,
];
Expand Down
4 changes: 2 additions & 2 deletions src/layouts/hass-tabs-subpage-data-table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -611,11 +611,11 @@ export class HaTabsSubpageDataTable extends LitElement {
border-radius: 50%;
font-weight: 400;
font-size: 11px;
background-color: var(--accent-color);
background-color: var(--primary-color);
line-height: 16px;
text-align: center;
padding: 0px 2px;
color: var(--text-accent-color, var(--text-primary-color));
color: var(--text-primary-color);
}
.narrow-header-row {
Expand Down

0 comments on commit 5258cf2

Please sign in to comment.