From 9906ad4f85f439071cc3524e246e41a8a48c35ab Mon Sep 17 00:00:00 2001 From: hesam-init Date: Tue, 2 Jul 2024 11:44:17 +0330 Subject: [PATCH] chore: unused eww themes removed --- .../hyprland/eww/assets/scss/_global.scss | 2 -- .../hyprland/eww/assets/scss/_modules.scss | 6 ++--- .../hyprland/eww/assets/scss/_native.scss | 25 +++++++++++++++++ .../eww/assets/scss/themes/biscuit.scss | 20 -------------- .../eww/assets/scss/themes/biscuit_light.scss | 23 ---------------- .../eww/assets/scss/themes/catppuccin.scss | 27 ------------------- .../assets/scss/themes/catppuccin_latte.scss | 27 ------------------- .../eww/assets/scss/themes/oxocarbon.scss | 18 ------------- .../assets/scss/themes/oxocarbon_light.scss | 17 ------------ .../eww/assets/scss/themes/rosepine.scss | 25 ----------------- .../eww/assets/scss/themes/swamp.scss | 23 ---------------- hypr-configs/hyprland/eww/eww.scss | 1 + 12 files changed, 29 insertions(+), 185 deletions(-) delete mode 100644 hypr-configs/hyprland/eww/assets/scss/themes/biscuit.scss delete mode 100644 hypr-configs/hyprland/eww/assets/scss/themes/biscuit_light.scss delete mode 100644 hypr-configs/hyprland/eww/assets/scss/themes/catppuccin.scss delete mode 100644 hypr-configs/hyprland/eww/assets/scss/themes/catppuccin_latte.scss delete mode 100644 hypr-configs/hyprland/eww/assets/scss/themes/oxocarbon.scss delete mode 100644 hypr-configs/hyprland/eww/assets/scss/themes/oxocarbon_light.scss delete mode 100644 hypr-configs/hyprland/eww/assets/scss/themes/rosepine.scss delete mode 100644 hypr-configs/hyprland/eww/assets/scss/themes/swamp.scss diff --git a/hypr-configs/hyprland/eww/assets/scss/_global.scss b/hypr-configs/hyprland/eww/assets/scss/_global.scss index b489697..e10b808 100644 --- a/hypr-configs/hyprland/eww/assets/scss/_global.scss +++ b/hypr-configs/hyprland/eww/assets/scss/_global.scss @@ -1,5 +1,3 @@ -@import "tokens"; - .animation { transition: all 600ms cubic-bezier(0.075, 0.82, 0.165, 1); } diff --git a/hypr-configs/hyprland/eww/assets/scss/_modules.scss b/hypr-configs/hyprland/eww/assets/scss/_modules.scss index 61cc434..324e82f 100644 --- a/hypr-configs/hyprland/eww/assets/scss/_modules.scss +++ b/hypr-configs/hyprland/eww/assets/scss/_modules.scss @@ -2,14 +2,14 @@ @extend .widget; font-size: get-token(font-sizes, large); - font-weight: 900; + font-weight: bolder; } .language { @extend .widget; font-size: get-token(font-sizes); - font-weight: 900; + font-weight: bolder; } .logo { @@ -32,7 +32,7 @@ padding: 12px; .workspace { - transition: cubic-bezier(0.165, 0.84, 0.44, 1) 600ms; + @extend .animation; border-radius: get-token(border-radius); min-height: 16px; background-color: $surface2; diff --git a/hypr-configs/hyprland/eww/assets/scss/_native.scss b/hypr-configs/hyprland/eww/assets/scss/_native.scss index 9e7c0a2..c1232c9 100644 --- a/hypr-configs/hyprland/eww/assets/scss/_native.scss +++ b/hypr-configs/hyprland/eww/assets/scss/_native.scss @@ -82,3 +82,28 @@ checkbutton { } } } + +menu { + background-color: $base; + border-radius: get-token(border-radius); + padding: get-token(padding); + + menuitem { + padding: 2px 6px; + border-radius: get-token(border-radius, small); + + &:disabled label { + color: gray; + } + + &:hover { + background-color: $accent; + } + } + + separator { + background-color: $surface0; + margin: 6px 2px; + min-height: 1px; + } +} diff --git a/hypr-configs/hyprland/eww/assets/scss/themes/biscuit.scss b/hypr-configs/hyprland/eww/assets/scss/themes/biscuit.scss deleted file mode 100644 index 172f5e9..0000000 --- a/hypr-configs/hyprland/eww/assets/scss/themes/biscuit.scss +++ /dev/null @@ -1,20 +0,0 @@ -// by Tsukki - -$base: #1A1515; -$surface0: #2d2424; -$surface1: #453636; -$surface2: #725a5a; -$white0: #DCC9BC; -$white1: #ffe9c7; -$white2: #ffe9c7; -$red: #CF223E; -$green: #959A6B; - -$base08: #F07342; -$base0B: #768F80; -$base0C: #756D94; -$base0D: #614F76; -$base0E: #7B3D79; -$base0F: #AE3F82; - -$accent: $base08; diff --git a/hypr-configs/hyprland/eww/assets/scss/themes/biscuit_light.scss b/hypr-configs/hyprland/eww/assets/scss/themes/biscuit_light.scss deleted file mode 100644 index 00c24e6..0000000 --- a/hypr-configs/hyprland/eww/assets/scss/themes/biscuit_light.scss +++ /dev/null @@ -1,23 +0,0 @@ -// by Tsukki - -$base: #FFF7EB; -$surface0: #E0CFC6; -$surface1: #C1AEAE; -$surface2: #A38A8A; -$white0: #483939; -$white1: #2D2424; -$white2: #2D2424; - -$red: #B54851; -$green: #938579; // green??? I think??? - -$base04: #9C8181; -$base08: #D0796D; -$base09: #C6846C; -$base0B: #878985; -$base0C: #877B85; -$base0D: #79657A; -$base0E: #794F65; -$base0F: #9F596C; - -$accent: $base08; diff --git a/hypr-configs/hyprland/eww/assets/scss/themes/catppuccin.scss b/hypr-configs/hyprland/eww/assets/scss/themes/catppuccin.scss deleted file mode 100644 index 19e2fbc..0000000 --- a/hypr-configs/hyprland/eww/assets/scss/themes/catppuccin.scss +++ /dev/null @@ -1,27 +0,0 @@ -$rosewater: #f5e0dc; -$flamingo: #f2cdcd; -$pink: #f5c2e7; -$mauve: #cba6f7; -$red: #f38ba8; -$maroon: #eba0ac; -$peach: #fab387; -$yellow: #f9e2af; -$green: #a6e3a1; -$teal: #94e2d5; -$sky: #89dceb; -$sapphire: #74c7ec; -$blue: #89b4fa; -$lavender: #b4befe; -$white0: #cdd6f4; -$white1: #bac2de; -$white2: #a6adc8; -$overlay2: #9399b2; -$overlay1: #7f849c; -$overlay0: #6c7086; -$surface2: #585b70; -$surface1: #45475a; -$surface0: #313244; -$base: #1e1e2e; -$mantle: #181825; -$crust: #11111b; -$accent: $mauve; diff --git a/hypr-configs/hyprland/eww/assets/scss/themes/catppuccin_latte.scss b/hypr-configs/hyprland/eww/assets/scss/themes/catppuccin_latte.scss deleted file mode 100644 index cab6295..0000000 --- a/hypr-configs/hyprland/eww/assets/scss/themes/catppuccin_latte.scss +++ /dev/null @@ -1,27 +0,0 @@ -$rosewater: #dc8a78; -$flamingo: #dd7878; -$pink: #ea76cb; -$mauve: #8839ef; -$red: #d20f39; -$maroon: #e64553; -$peach: #fe640b; -$yellow: #df8e1d; -$green: #40a02b; -$teal: #179299; -$sky: #04a5e5; -$sapphire: #209fb5; -$blue: #1e66f5; -$lavender: #7287fd; -$white0: #4c4f69; -$white1: #5c5f77; -$white2: #6c6f85; -$overlay2: #7c7f93; -$overlay1: #8c8fa1; -$overlay0: #9ca0b0; -$surface2: #acb0be; -$surface1: #bcc0cc; -$surface0: #ccd0da; -$base: #eff1f5; -$mantle: #e6e9ef; -$crust: #dce0e8; -$accent: #7287fd; diff --git a/hypr-configs/hyprland/eww/assets/scss/themes/oxocarbon.scss b/hypr-configs/hyprland/eww/assets/scss/themes/oxocarbon.scss deleted file mode 100644 index 7270ff3..0000000 --- a/hypr-configs/hyprland/eww/assets/scss/themes/oxocarbon.scss +++ /dev/null @@ -1,18 +0,0 @@ - -$base: #161616; -$surface0: #262626; -$surface1: #393939; -$surface2: #525252; -$white0: #dde1e6; -$white1: #f2f4f8; -$white2: #ffffff; -$teal: #08bdba; -$sapphire: #3ddbd9; -$sky: #78a9ff; -$maroon: #ee5396; -$blue: #33b1ff; -$red: #ff7eb6; -$green: #42be65; -$lavender: #be95ff; -$light_blue: #82cfff; -$accent: $red; diff --git a/hypr-configs/hyprland/eww/assets/scss/themes/oxocarbon_light.scss b/hypr-configs/hyprland/eww/assets/scss/themes/oxocarbon_light.scss deleted file mode 100644 index c615515..0000000 --- a/hypr-configs/hyprland/eww/assets/scss/themes/oxocarbon_light.scss +++ /dev/null @@ -1,17 +0,0 @@ -$base: #f2f4f8; -$surface0: #dde1e6; -$surface1: #f2f4f8; -$surface2: #ffffff; -$white0: #525252; -$white1: #393939; -$white2: #262626; -$teal: #08bdba; -$sapphire: #3ddbd9; -$sky: #78a9ff; -$maroon: #ee5396; -$blue: #0f62fe; -$red: #ff7eb6; -$green: #42be65; -$lavender: #be95ff; -$light_blue: #82cfff; -$accent: $red; diff --git a/hypr-configs/hyprland/eww/assets/scss/themes/rosepine.scss b/hypr-configs/hyprland/eww/assets/scss/themes/rosepine.scss deleted file mode 100644 index ded364f..0000000 --- a/hypr-configs/hyprland/eww/assets/scss/themes/rosepine.scss +++ /dev/null @@ -1,25 +0,0 @@ -$base: #191724; -$surface0: #26233a; -$surface1: #403d52; -$surface2: #524f67; -$white0: #e0def4; -$white1: #e0def4; -$white2: #e0def4; - -$muted: #6e6a86; -$subtle: #908caa; -$text: #e0def4; -$love: #eb6f92; -$gold: #f6c177; -$rose: #ebbcba; -$pine: #31748f; -$foam: #9ccfd8; -$iris: #c4a7e7; -$surface: #1f1d2e; -$highlight-low: #21202e; -$highlight-med: #403d52; -$highlight-high: #524f67; - -$red: $love; -$green: $foam; -$accent: $iris; diff --git a/hypr-configs/hyprland/eww/assets/scss/themes/swamp.scss b/hypr-configs/hyprland/eww/assets/scss/themes/swamp.scss deleted file mode 100644 index 6f51499..0000000 --- a/hypr-configs/hyprland/eww/assets/scss/themes/swamp.scss +++ /dev/null @@ -1,23 +0,0 @@ -// by masroof-maindak (Mujtaba) - -// required -$base: #242015; -$surface0: #3A3124; -$surface1: #4d3f32; -$surface2: #5f4e41; -$white0: #D2C3A4; -$white1: #ebe0bb; -$white2: #F1E9D0; -$red: #a82d56; -$green: #61a0a8; - -// other -$base04: #B8A58C; -$base09: #b06733; -$base0A: #db930d; -$base0B: #7a7653; -$base0D: #91506C; -$base0E: #b05d61; -$base0F: #ba6d36; - -$accent: $base0A; diff --git a/hypr-configs/hyprland/eww/eww.scss b/hypr-configs/hyprland/eww/eww.scss index 9e8e058..ad09f19 100644 --- a/hypr-configs/hyprland/eww/eww.scss +++ b/hypr-configs/hyprland/eww/eww.scss @@ -1,4 +1,5 @@ @import "./assets/scss/themes/fullerene.scss"; +@import "./assets/scss/tokens"; @import "./assets/scss/native"; @import "./assets/scss/global"; @import "./assets/scss/modules";