From 6df2914ddb8594b9d8184a97d90feaf604833590 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Mon, 11 Aug 2025 13:40:01 +0545 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(ui):=20consolidat?= =?UTF-8?q?e=20font=20family=20declarations=20for=20consistency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.css | 1 + styles/battery-widget.css | 7 ------- styles/controlcenter.css | 7 ------- styles/dropdown.css | 2 -- styles/lock.css | 5 ----- styles/notification-center.css | 13 +++++-------- styles/panel.css | 2 -- styles/tray.css | 4 ---- styles/widgets.css | 10 ---------- 9 files changed, 6 insertions(+), 45 deletions(-) diff --git a/main.css b/main.css index 311d7af..d4cc37b 100644 --- a/main.css +++ b/main.css @@ -19,6 +19,7 @@ all: unset; color: var(--foreground); font-size: unset; + font-family: "SF Pro Rounded"; } #corner { diff --git a/styles/battery-widget.css b/styles/battery-widget.css index 871a6f8..763cfe4 100644 --- a/styles/battery-widget.css +++ b/styles/battery-widget.css @@ -5,7 +5,6 @@ } .battery-main-title { font-size: 16px; - font-family: "SF Pro Rounded"; font-weight: bold; color: rgba(255, 255, 255, 0.95); @@ -41,7 +40,6 @@ .battery-percentage { font-size: 16px; - font-family: "SF Pro Rounded"; margin-right: 8px; font-weight: 500; color: rgba(255, 255, 255, 0.95); @@ -76,18 +74,15 @@ } .battery-power-source { font-size: 12px; - font-family: "SF Pro Rounded"; margin-bottom: -4px; color: alpha(#ffffff, 0.5); } .battery-section-title { font-size: 14px; - font-family: "SF Pro Rounded"; color: alpha(#ffffff, 0.7); margin: 2px 0 0 8px; } .battery-power-mode { - font-family: "SF Pro Rounded"; font-size: 13px; } @@ -103,7 +98,6 @@ border-radius: 8px; } .battery-settings-button label { - font-family: "SF Pro Rounded"; font-weight: 500; color: alpha(#ffffff, 1); } @@ -117,7 +111,6 @@ } .gamemode-button { font-size: 12px; - font-family: "SF Pro Rounded"; margin-left: -6px; color: rgba(255, 255, 255, 0.85); } diff --git a/styles/controlcenter.css b/styles/controlcenter.css index 9446412..683b5a2 100644 --- a/styles/controlcenter.css +++ b/styles/controlcenter.css @@ -24,7 +24,6 @@ #bluetooth-title, #wifi-title { - font-family: "SF Pro Rounded"; font-size: 16px; font-weight: bold; } @@ -60,7 +59,6 @@ /* WiFi Password Dialog */ #wifi-password-dialog { background-color: transparent; - font-family: "SF Pro Rounded"; } #wifi-dialog-background { @@ -82,13 +80,11 @@ #wifi-dialog-title { color: #ffffff; - font-family: "SF Pro Rounded"; font-size: 14px; font-weight: 500; } #wifi-dialog-error { - font-family: "SF Pro Rounded"; color: #ff4444; font-size: 12px; font-weight: 500; @@ -103,7 +99,6 @@ color: #ffffff; font-size: 13px; font-weight: 500; - font-family: "SF Pro Rounded"; margin-bottom: 4px; } @@ -913,13 +908,11 @@ #wifi-other-button label { font-size: 12px; font-weight: bold; - font-family: "SF Pro Rounded"; } #app-volume-header { font-size: 16px; padding-left: 5px; margin-top: -2px; font-weight: bold; - font-family: "SF Pro Rounded"; color: #ffffff; } diff --git a/styles/dropdown.css b/styles/dropdown.css index cc1b507..2f036ad 100644 --- a/styles/dropdown.css +++ b/styles/dropdown.css @@ -29,7 +29,6 @@ #dropdown-option-label { font-size: 13px; - font-family: "SF Pro Rounded"; margin: 0px; color: #fff; font-weight: 400; @@ -44,7 +43,6 @@ } #dropdown-option-keybind { - font-family: "Fira Code Nerd Font"; font-weight: 500; color: #aaa; } diff --git a/styles/lock.css b/styles/lock.css index ec0573d..00fe279 100644 --- a/styles/lock.css +++ b/styles/lock.css @@ -16,7 +16,6 @@ color: white; min-width: 220px; min-height: 40px; - font-family: "SF Pro Rounded"; padding-right: 5px; padding-left: 5px; font-size: 14px; @@ -34,7 +33,6 @@ } #lock-date label { background-color: transparent; - font-family: "SF Pro Rounded"; color: alpha(#fff, 0.6); border: none; font-size: 30px; @@ -44,9 +42,7 @@ #lock-clock label { background-color: transparent; color: alpha(#fff, 0.6); - font-family: "SF Pro Rounded "; border: none; - /* font-family: "SF Pro Rounded"; */ font-size: 120px; margin-top: -20px; font-weight: bold; @@ -63,7 +59,6 @@ margin-bottom: 40px; } #unlock-text { - font-family: "SF Pro Rounded"; font-size: 15px; color: alpha(#fff, 0.6); font-weight: bold; diff --git a/styles/notification-center.css b/styles/notification-center.css index 96f5950..0c041d3 100644 --- a/styles/notification-center.css +++ b/styles/notification-center.css @@ -8,20 +8,20 @@ /* margin: 6px; */ } -#noti-clear-button label { +#noti-clear-button { /* min-width: 10px; */ background-color: alpha(#1c2328, 0.05); - min-height: 25px; min-width: 70px; - font-size: 15px; - /* font-weight: bol; */ - font-family: "SF Pro Rounded"; border: 1px solid #525155; border-radius: 15px; margin-top: 10px; } +#notif-clear-button label { + font-size: 15px; +} + #noti-clear-button:hover { background-color: alpha(#fff, 0.09); } @@ -231,13 +231,11 @@ } #notification-group-title { - font-family: "SF Pro Rounded"; font-size: 19px; margin: 10px; font-weight: bold; } #notification-show-less { - font-family: "SF Pro Rounded"; background-color: alpha(#1c2328, 0.05); font-size: 12px; margin: 10px; @@ -265,7 +263,6 @@ #notification-count-label { background-color: transparent; color: white; - font-family: "SF Pro Rounded"; font-size: 13px; } #notification-centre-notifs { diff --git a/styles/panel.css b/styles/panel.css index 56e6ead..ac77e04 100644 --- a/styles/panel.css +++ b/styles/panel.css @@ -29,12 +29,10 @@ } #menubar label { - font-family: "SF Pro Rounded"; font-size: 13px; /* font-weight: 400; */ } #battery-label { - font-family: "SF Pro Rounded"; font-weight: 500; margin-right: 1px; } diff --git a/styles/tray.css b/styles/tray.css index 0e7efb7..d10b0ef 100644 --- a/styles/tray.css +++ b/styles/tray.css @@ -17,7 +17,6 @@ tooltip { tooltip > * { padding: 3px 10px; border-radius: 0.75rem; - font-family: "SF Pro Rounded"; } menu { @@ -31,7 +30,6 @@ menu > menuitem { padding: 5px 10px; margin: 1px 2px; font-size: 13px; - font-family: "SF Pro Rounded"; border-bottom: #474747 solid 1px; } @@ -40,7 +38,6 @@ menu > menuitem:last-child { } menu > menuitem:hover { transition: all 20ms ease-in-out; - font-family: "SF Pro Rounded"; font-size: 13px; border-radius: 4px; color: #222; @@ -48,7 +45,6 @@ menu > menuitem:hover { } menu > menuitem:hover > label { - font-family: "SF Pro Rounded"; color: #fff; font-weight: 400; } diff --git a/styles/widgets.css b/styles/widgets.css index 9a3377d..e565af3 100644 --- a/styles/widgets.css +++ b/styles/widgets.css @@ -9,7 +9,6 @@ } #weather-widget label { - font-family: "SF Pro Rounded"; margin-left: 12px; } @@ -49,7 +48,6 @@ } #calendar-widget { - font-family: "SF Pro Rounded"; margin: 12px; } @@ -119,7 +117,6 @@ /* Date Widget CSS */ #date-widget label { - font-family: "SF Pro Rounded"; margin-top: 10px; } #day label, @@ -160,19 +157,15 @@ border-radius: 16px; } #ram-progress { - font-family: "SF Pro Rounded"; margin-left: 12px; color: var(--foreground); } #progress-label { - font-family: "SF Pro Rounded"; font-weight: 600; font-size: 13px; } #progress { - font-family: "SF Pro Rounded"; border: solid 8px #859aff; - color: alpha(#aaaaaa, 0.7); } @@ -197,7 +190,6 @@ /* Info text styling */ #info-text { - font-family: "SF Pro Rounded"; font-size: 13px; font-weight: 500; color: #8e8e8e; @@ -205,7 +197,6 @@ } #info-value { - font-family: "SF Pro Rounded"; font-size: 12px; font-weight: 600; color: #ffffff; @@ -217,7 +208,6 @@ } #info { - font-family: "SF Pro Rounded"; margin-left: -13px; margin-top: 5px; font-size: 14px;