fix(eww): add unit to font sizes in eww.scss

This quiets a few warning messages.
This commit is contained in:
Kiana Sheibani 2024-10-15 03:31:24 -04:00
parent af0e27630f
commit ea6c17cc74
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -21,7 +21,7 @@ $accent: #f6a8cf;
background-color: $background; background-color: $background;
font-family: "Quicksand Medium"; font-family: "Quicksand Medium";
color: $foreground; color: $foreground;
font-size: 13; font-size: 13px;
padding: 3px 10px; padding: 3px 10px;
} }
@ -30,18 +30,18 @@ $accent: #f6a8cf;
tooltip { tooltip {
background-color: rgba(0,0,0,0.8); background-color: rgba(0,0,0,0.8);
font-family: "JetBrains Mono"; font-family: "JetBrains Mono";
font-size: 12; font-size: 12px;
} }
.detail { .detail {
font-size: 10; font-size: 10px;
color: $foreground-alt; color: $foreground-alt;
} }
.bar-sep { .bar-sep {
margin: 0px 4px; margin: 0px 4px;
color: $background-alt; color: $background-alt;
font-size: 22; font-size: 22px;
} }
.bar-window { .bar-window {
@ -59,12 +59,12 @@ tooltip {
.bar-time { .bar-time {
@include segment; @include segment;
font-size: 15; font-size: 15px;
padding: 0px 10px; padding: 0px 10px;
.bar-date { .bar-date {
margin-top: 1px; margin-top: 1px;
font-size: 11; font-size: 11px;
color: #a9b1d6; color: #a9b1d6;
} }
} }
@ -87,12 +87,12 @@ tooltip {
} }
.symbol.paused { .symbol.paused {
font-size: 12; font-size: 12px;
margin-left: 2px; margin-left: 2px;
} }
.symbol.playing { .symbol.playing {
font-size: 15; font-size: 15px;
margin-top: 1px; margin-top: 1px;
} }
@ -186,7 +186,7 @@ scale trough {
.symbol { .symbol {
margin-right: 7px; margin-right: 7px;
font-size: 14; font-size: 14px;
} }
} }
@ -195,20 +195,20 @@ scale trough {
margin-right: 9px; margin-right: 9px;
font-family: "JetBrains Mono"; font-family: "JetBrains Mono";
color: #bb9af7; color: #bb9af7;
font-size: 12; font-size: 12px;
&.disabled { &.disabled {
color: $disabled; color: $disabled;
} }
.symbol { .symbol {
font-size: 15; font-size: 15px;
} }
} }
.bar-bluetooth { .bar-bluetooth {
margin: 0px 3px; margin: 0px 3px;
font-size: 15; font-size: 15px;
color: #7aa2f7; color: #7aa2f7;
&.disabled { &.disabled {
@ -219,7 +219,7 @@ scale trough {
.bar-circular { .bar-circular {
margin: 0px 3px; margin: 0px 3px;
font-size: 15; font-size: 15px;
.back { .back {
color: $background-scale; color: $background-scale;