Skip to content

Commit

Permalink
Fix explore icon color (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Oct 12, 2022
1 parent 2d56509 commit 57d6239
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/panels/hacs-experimental-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class HacsExperimentalPanel extends LitElement {

@property({ type: Boolean }) public isWide!: boolean;

@property({ attribute: false }) public section!: string;
@property({ attribute: false }) public section!: "entry" | "explore";

@state() activeFilters?: string[];

Expand Down Expand Up @@ -227,6 +227,7 @@ export class HacsExperimentalPanel extends LitElement {
main: true,
sortable: true,
filterable: true,
direction: this.section === "entry" ? "asc" : undefined,
hidden: !tableColumnsOptions[this.section].name,
grows: true,
template: (name, repository: RepositoryBase) =>
Expand All @@ -250,6 +251,7 @@ export class HacsExperimentalPanel extends LitElement {
stars: {
title: "Stars",
hidden: narrow || !tableColumnsOptions[this.section].stars,
direction: this.section === "explore" ? "desc" : undefined,
sortable: true,
filterable: true,
width: "10%",
Expand Down
2 changes: 1 addition & 1 deletion src/styles/variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const hacsStyleVariables = css`
--hcv-color-warning: var(--hacs-warning-color, var(--warning-color));
--hcv-color-update: var(--hacs-update-color, var(--info-color));
--hcv-color-new: var(--hacs-new-color, var(--success-color));
--hcv-color-icon: var(--hacs--default-icon-color, var(--sidebar-icon-color));
--hcv-color-icon: var(--hacs-default-icon-color, var(--primary-text-color));
--hcv-color-markdown-background: var(--markdown-code-background-color, #f6f8fa);
Expand Down

0 comments on commit 57d6239

Please sign in to comment.