From cb5d4fd76d0cc39e7826b9d08e091467bd63e70b Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Sun, 6 Apr 2025 10:06:12 -0400 Subject: [PATCH] update styling --- style.scss | 145 ++++++++++++++++++------------------- widget/Calendar.tsx | 3 +- widget/Hyprland/client.tsx | 1 + widget/Internet.tsx | 3 +- widget/Memory.tsx | 7 +- widget/SwayNC.tsx | 1 - widget/Tray.tsx | 2 +- widget/WirePlumber.tsx | 4 +- 8 files changed, 78 insertions(+), 88 deletions(-) diff --git a/style.scss b/style.scss index 7dc2236..a266392 100644 --- a/style.scss +++ b/style.scss @@ -7,19 +7,88 @@ $surface1: #494d64; $surface2: #5b6078; $rosewater: #f4dbd6; +$flamingo: #dd7878; +$pink: #ea76cb; +$mauve: #8839ef; -* { - color: $rosewater; +:root { font-family: JetBrainsMono Nerd Font; + color: $mauve; } button { all: initial; + + font-family: inherit; + + label:hover { + color: $base; + background: $rosewater; + } +} + +label { + all: initial; + + font-family: inherit; + color: $mauve; + padding: 4px 12px; + background: $surface0; + border-radius: 8px; +} + +.no-styles { + all: initial; +} + +.active { + label { + background: $rosewater; + color: $base; + } +} + +.Arch { + -gtk-icon-size: 24px; + padding: 4px 8px 4px 8px; + border-radius: 8px; + background: $surface0; + + &:hover { + background: $rosewater; + color: $base; + } +} + +.Pywal { + label { + font-size: 18px; + padding: 6px 16px 6px 10px; + } +} + +.Tray > * { + margin: 0 4px; +} + +.WirePlumberMenu { + contents { + all: initial; + } + + arrow { + all: initial; + } + + box { + padding: 12px; + border-radius: 8px; + background: rgba($color: $base, $alpha: 0.9); + } } window.Bar { background: transparent; - font-weight: bold; > centerbox { background: rgba($color: $base, $alpha: 0.75); @@ -32,74 +101,4 @@ window.Bar { } } } - - .Arch { - -gtk-icon-size: 24px; - padding: 4px 8px 4px 8px; - border-radius: 8px; - background: $surface0; - - &:hover { - background: $rosewater; - color: $base; - } - } - - .Pywal { - font-size: 18px; - padding: 4px 18px 4px 12px; - border-radius: 8px; - background: $surface0; - - &:hover { - background: $rosewater; - color: $base; - } - } - - .Tray > * { - margin: 0 4px; - } - - .Button { - padding: 4px 12px; - border-radius: 8px; - background: $surface0; - - &:hover { - background: $rosewater; - color: $base; - } - } - - .Label { - padding: 4px 12px; - border-radius: 8px; - background: $surface0; - } - - .Button-Active { - background: $rosewater; - color: $base; - } - - .WirePlumberMenu { - contents { - all: initial; - } - - arrow { - all: initial; - } - - box { - padding: 12px; - border-radius: 8px; - background: rgba($color: $base, $alpha: 0.9); - - & > * { - margin: 2px 0; - } - } - } } diff --git a/widget/Calendar.tsx b/widget/Calendar.tsx index 3510f17..b1455bc 100644 --- a/widget/Calendar.tsx +++ b/widget/Calendar.tsx @@ -8,9 +8,8 @@ function Calendar() { return (