fix(eww): make date widget readable

This commit is contained in:
matt1432 2023-07-21 22:49:27 -04:00
parent a3f889f7f2
commit a7e821f8d6
3 changed files with 9 additions and 7 deletions

View file

@ -1,8 +1,8 @@
.date { .date {
background-color: $bg; background-color: rgba(40, 42, 54, 0.8);
color: $fg; color: $fg;
border-radius: 30px; border-radius: 30px;
border: 5px solid $contrastbg; border: 2px solid $contrastbg;
} }
.timebox { .timebox {
@ -27,12 +27,14 @@
.cal-box { .cal-box {
font-family: Product Sans; font-family: Product Sans;
background-color: $bg; background-color: rgba(40, 42, 54, 0.8);
border-radius: 15px; border-radius: 15px;
padding: 0 1rem .2rem; padding: 0 1rem .2rem;
color: $fg; color: $fg;
background-color: $contrastbg; background-color: $bg;
margin: 0px 12px 12px 12px; border-bottom: 2px solid $contrastbg;
border-top: 2px solid $contrastbg;
margin: 0px 12px 18px 12px;
.cal { .cal {
background-color: inherit; background-color: inherit;

View file

@ -52,7 +52,7 @@
:monitor 0 :monitor 0
:stacking "overlay" :stacking "overlay"
:geometry (geometry :x "70px" :geometry (geometry :x "70px"
:y "4px" :y "8px"
:width "0px" ; automatically generated :width "0px" ; automatically generated
:height "0px" ; automatically generated :height "0px" ; automatically generated
:anchor "top right") :anchor "top right")

View file

@ -14,6 +14,6 @@ done
for element in "${array[@]}" for element in "${array[@]}"
do do
if [[ "$element" != "tablet-toggle" ]]; then if [[ "$element" != "tablet-toggle" ]]; then
$EWW_PATH/close.sh "$element" "$EWW_PATH"/close.sh "$element"
fi fi
done done