From bd05b722f534ae58fb07bec27fdbead006cc1ba7 Mon Sep 17 00:00:00 2001 From: tux Date: Wed, 4 Feb 2026 02:55:13 +0530 Subject: [PATCH] style: adjust scss for consistent styling --- style/_bar.scss | 6 +++--- style/_control-center.scss | 10 +++++----- style/_launcher.scss | 4 ++-- style/_variable.scss | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/style/_bar.scss b/style/_bar.scss index 3d1c30d..1618048 100644 --- a/style/_bar.scss +++ b/style/_bar.scss @@ -15,7 +15,7 @@ window.Bar { padding: 8px; image { - -gtk-icon-size: 1.5rem; + -gtk-icon-size: 1.2rem; } &:hover { @@ -73,13 +73,13 @@ window.Bar { padding: 8px; image { - -gtk-icon-size: 1.5rem; + -gtk-icon-size: 1.2rem; } } .tray { image { - -gtk-icon-size: 1.3rem; + -gtk-icon-size: 1rem; } menubutton { diff --git a/style/_control-center.scss b/style/_control-center.scss index cdde102..7fb94f8 100644 --- a/style/_control-center.scss +++ b/style/_control-center.scss @@ -15,7 +15,7 @@ window.control-center { color: $fg-color; background-color: $inactive-color; border-radius: calc($rounded / 1.5); - padding: 20px; + padding: 15px; image { -gtk-icon-size: 2rem; @@ -32,19 +32,19 @@ window.control-center { .header { .name { color: rgba($fg-color, 0.8); - font-size: 1.8rem; + font-size: 1.5rem; } .username { color: rgba($fg-color, 0.5); - font-size: 1.2rem; + font-size: 1rem; } .controls { button { background-color: $inactive-color; border-radius: calc($rounded / 1.5); - padding: 10px; + padding: 6px; transition: color 100ms; &:hover { @@ -56,7 +56,7 @@ window.control-center { } image { - -gtk-icon-size: 2rem; + -gtk-icon-size: 1.5rem; } } } diff --git a/style/_launcher.scss b/style/_launcher.scss index b1b866a..d0f7aad 100644 --- a/style/_launcher.scss +++ b/style/_launcher.scss @@ -4,7 +4,7 @@ window.launcher { background: $bg-color; border-radius: $rounded; padding: 10px; - font-size: 1.2rem; + font-size: $font-size; .search { min-width: 300px; @@ -30,7 +30,7 @@ window.launcher { } image { - -gtk-icon-size: 2rem; + -gtk-icon-size: 1.5rem; } } diff --git a/style/_variable.scss b/style/_variable.scss index 14a3e3e..2a2140f 100644 --- a/style/_variable.scss +++ b/style/_variable.scss @@ -3,4 +3,4 @@ $fg-color: #fff; $bg-color: #101213; $inactive-color: #1b1d1e; $rounded: 14px; -$font-size: 1rem; +$font-size: 0.8rem;