We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c556686 commit b594618Copy full SHA for b594618
src/led-element.ts
@@ -43,7 +43,7 @@ export class LEDElement extends LitElement {
43
render() {
44
const { color, lightColor } = this;
45
const lightColorActual = lightColor || lightColors[color] || '#ff8080';
46
- const opacity = this.brightness ? 0.3 + this.brightness / 0.7 : 0;
+ const opacity = this.brightness ? 0.3 + this.brightness * 0.7 : 0;
47
return html`
48
<div class="led-container">
49
<svg
0 commit comments