Skip to content

Commit 81da900

Browse files
authored
fix(Logging): broken toggle button styling
1 parent 9d5c933 commit 81da900

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

src/Logging.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,22 @@ export function Logging<TBase extends LitElementConstructor>(Base: TBase) {
320320
display: flex;
321321
}
322322
323+
#infofilter[on] {
324+
color: var(--cyan);
325+
}
326+
327+
#warningfilter[on] {
328+
color: var(--yellow);
329+
}
330+
331+
#errorfilter[on] {
332+
color: var(--red);
333+
}
334+
335+
#actionfilter[on] {
336+
color: var(--blue);
337+
}
338+
323339
#log {
324340
--mdc-dialog-min-width: 92vw;
325341
}

src/icons/icons.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ export function getFilterIcon(type: iconType, state: boolean): TemplateResult {
132132
const width = iconProperties[type]?.width ?? 24;
133133
return html`<svg
134134
slot="${state ? 'onIcon' : 'offIcon'}"
135-
style="${state ? `color:var(${iconColors[type]})` : ''})"
136135
xmlns="http://www.w3.org/2000/svg"
137136
height="${height}"
138137
viewBox="0 0 ${width} ${height}"

0 commit comments

Comments
 (0)