fix: Allow icon styles to be overridden (#1794)
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
LovelaceCardEditor,
|
||||
Themes,
|
||||
} from '@dermotduffy/custom-card-helpers';
|
||||
import { StyleInfo } from 'lit/directives/style-map';
|
||||
import { z } from 'zod';
|
||||
|
||||
export type ClipsOrSnapshots = 'clips' | 'snapshots';
|
||||
@@ -145,6 +146,9 @@ export interface Icon {
|
||||
|
||||
// If an icon is not otherwise resolved / available, this will be used instead.
|
||||
fallback?: string;
|
||||
|
||||
// Styling to apply to the icon.
|
||||
style?: StyleInfo;
|
||||
}
|
||||
|
||||
// *************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user