Minor tweaks

lightmode
E. Almqvist 2 years ago
parent 089464890c
commit efe8649a50
  1. 23
      eww/.config/eww/eww.scss
  2. 10
      eww/.config/eww/eww.yuck

@ -1,5 +1,7 @@
// Font stuff // Font stuff
$font-size: 16px; $font-size: 16px;
$icon-size: 20px;
$logo-size: 24px;
// Basic color // Basic color
$bg-color: #181818; $bg-color: #181818;
@ -18,9 +20,13 @@ $magenta: #ad8ee6;
$cyan: #449dab; $cyan: #449dab;
$white: #787c99; $white: #787c99;
// Misc
$anim-delay: 250ms;
* { * {
all: unset; //Unsets everything so you can style everything from scratch all: unset; //Unsets everything so you can style everything from scratch
font-family: "Hack Mono"; font-family: "Hack Mono";
transition: opacity $anim-delay;
// color: $fg-color; // color: $fg-color;
} }
@ -41,7 +47,6 @@ button.ws {
color: $fg-color; color: $fg-color;
font-size: $font-size; font-size: $font-size;
margin: 4px; margin: 4px;
transition: opacity 300ms;
} }
button.ws:hover { button.ws:hover {
@ -49,14 +54,22 @@ button.ws:hover {
opacity: 1.0; opacity: 1.0;
} }
.logo { .icon {
margin-top: $font-size;
font-size: 24px;
opacity: 0.8; opacity: 0.8;
font-size: $icon-size;
}
.icon:hover {
opacity: 1.0;
}
.logo {
margin-top: $font-size;
font-size: $icon-size;
// opacity: 0.8;
} }
logo:hover { .logo:hover {
color: red; color: red;
} }

@ -7,9 +7,7 @@
(workspaces :wsp workspaces-data :ori "v") (workspaces :wsp workspaces-data :ori "v")
) )
(box :class "segment-end" :valign "end" (box :class "segment-end" :valign "end"
;; (music) (control)
;; (sidestuff)
;; (volum)
) )
) )
) )
@ -20,6 +18,12 @@
"Λ" "Λ"
)) ))
(defwidget control []
(button :class "icon volume" :valign "start"
""
)
)
;; Workspaces container ;; Workspaces container
(defwidget workspaces [wsp] (defwidget workspaces [wsp]
(box :space-evenly true :spacing 4 :orientation "v" :class "workspaces" (box :space-evenly true :spacing 4 :orientation "v" :class "workspaces"

Loading…
Cancel
Save