From c9429fd76a20fe8d6f9f46bbae1d3f5eb378c655 Mon Sep 17 00:00:00 2001 From: Candifloss Date: Sat, 3 Aug 2024 14:49:32 +0000 Subject: [PATCH] Add eww/scss/osd/_bat.scss --- eww/scss/osd/_bat.scss | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 eww/scss/osd/_bat.scss diff --git a/eww/scss/osd/_bat.scss b/eww/scss/osd/_bat.scss new file mode 100644 index 0000000..c1e2659 --- /dev/null +++ b/eww/scss/osd/_bat.scss @@ -0,0 +1,36 @@ +@use "../colors/_glassy.scss" as *; +//OSD - fill colors - battery + +@mixin osd_fill_cols_bat { + &.osd_bat { + .osd_prog_filled { + &.unknown { + background-color: $osd_fill_col_bat_unknown; + } + &.notcharging { + background-color: $osd_fill_col_bat_notcharging; + } + &.charging { + background-color: $osd_fill_col_bat_charging; + } + &.discharging { + background-color: $osd_fill_col_bat_discharging; + } + &.vlow { + background-color: $osd_fill_col_bat_critical; + } + &.low { + background-color: $osd_fill_col_bat_low; + } + &.medium { + background-color: $osd_fill_col_bat_normal; + } + &.high { + background-color: $osd_fill_col_bat_high; + } + &.full { + background-color: $osd_fill_col_bat_full; + } + } + } +} \ No newline at end of file