♻️ refactor(ui): consolidate font family declarations for consistency

This commit is contained in:
sankalp committed 2025-08-11 13:40:01 +05:45
1 parent d1f3d87a2f
commit 6df2914ddb
9 files changed
+6 -45

No files matched your search

+1
View File
@@ -19,6 +19,7 @@
all: unset; all: unset;
color: var(--foreground); color: var(--foreground);
font-size: unset; font-size: unset;
font-family: "SF Pro Rounded";
} }
#corner { #corner {
-7
View File
@@ -5,7 +5,6 @@
} }
.battery-main-title { .battery-main-title {
font-size: 16px; font-size: 16px;
font-family: "SF Pro Rounded";
font-weight: bold; font-weight: bold;
color: rgba(255, 255, 255, 0.95); color: rgba(255, 255, 255, 0.95);
@@ -41,7 +40,6 @@
.battery-percentage { .battery-percentage {
font-size: 16px; font-size: 16px;
font-family: "SF Pro Rounded";
margin-right: 8px; margin-right: 8px;
font-weight: 500; font-weight: 500;
color: rgba(255, 255, 255, 0.95); color: rgba(255, 255, 255, 0.95);
@@ -76,18 +74,15 @@
} }
.battery-power-source { .battery-power-source {
font-size: 12px; font-size: 12px;
font-family: "SF Pro Rounded";
margin-bottom: -4px; margin-bottom: -4px;
color: alpha(#ffffff, 0.5); color: alpha(#ffffff, 0.5);
} }
.battery-section-title { .battery-section-title {
font-size: 14px; font-size: 14px;
font-family: "SF Pro Rounded";
color: alpha(#ffffff, 0.7); color: alpha(#ffffff, 0.7);
margin: 2px 0 0 8px; margin: 2px 0 0 8px;
} }
.battery-power-mode { .battery-power-mode {
font-family: "SF Pro Rounded";
font-size: 13px; font-size: 13px;
} }
@@ -103,7 +98,6 @@
border-radius: 8px; border-radius: 8px;
} }
.battery-settings-button label { .battery-settings-button label {
font-family: "SF Pro Rounded";
font-weight: 500; font-weight: 500;
color: alpha(#ffffff, 1); color: alpha(#ffffff, 1);
} }
@@ -117,7 +111,6 @@
} }
.gamemode-button { .gamemode-button {
font-size: 12px; font-size: 12px;
font-family: "SF Pro Rounded";
margin-left: -6px; margin-left: -6px;
color: rgba(255, 255, 255, 0.85); color: rgba(255, 255, 255, 0.85);
} }
-7
View File
@@ -24,7 +24,6 @@
#bluetooth-title, #bluetooth-title,
#wifi-title { #wifi-title {
font-family: "SF Pro Rounded";
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: bold;
} }
@@ -60,7 +59,6 @@
/* WiFi Password Dialog */ /* WiFi Password Dialog */
#wifi-password-dialog { #wifi-password-dialog {
background-color: transparent; background-color: transparent;
font-family: "SF Pro Rounded";
} }
#wifi-dialog-background { #wifi-dialog-background {
@@ -82,13 +80,11 @@
#wifi-dialog-title { #wifi-dialog-title {
color: #ffffff; color: #ffffff;
font-family: "SF Pro Rounded";
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
} }
#wifi-dialog-error { #wifi-dialog-error {
font-family: "SF Pro Rounded";
color: #ff4444; color: #ff4444;
font-size: 12px; font-size: 12px;
font-weight: 500; font-weight: 500;
@@ -103,7 +99,6 @@
color: #ffffff; color: #ffffff;
font-size: 13px; font-size: 13px;
font-weight: 500; font-weight: 500;
font-family: "SF Pro Rounded";
margin-bottom: 4px; margin-bottom: 4px;
} }
@@ -913,13 +908,11 @@
#wifi-other-button label { #wifi-other-button label {
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: bold;
font-family: "SF Pro Rounded";
} }
#app-volume-header { #app-volume-header {
font-size: 16px; font-size: 16px;
padding-left: 5px; padding-left: 5px;
margin-top: -2px; margin-top: -2px;
font-weight: bold; font-weight: bold;
font-family: "SF Pro Rounded";
color: #ffffff; color: #ffffff;
} }
-2
View File
@@ -29,7 +29,6 @@
#dropdown-option-label { #dropdown-option-label {
font-size: 13px; font-size: 13px;
font-family: "SF Pro Rounded";
margin: 0px; margin: 0px;
color: #fff; color: #fff;
font-weight: 400; font-weight: 400;
@@ -44,7 +43,6 @@
} }
#dropdown-option-keybind { #dropdown-option-keybind {
font-family: "Fira Code Nerd Font";
font-weight: 500; font-weight: 500;
color: #aaa; color: #aaa;
} }
-5
View File
@@ -16,7 +16,6 @@
color: white; color: white;
min-width: 220px; min-width: 220px;
min-height: 40px; min-height: 40px;
font-family: "SF Pro Rounded";
padding-right: 5px; padding-right: 5px;
padding-left: 5px; padding-left: 5px;
font-size: 14px; font-size: 14px;
@@ -34,7 +33,6 @@
} }
#lock-date label { #lock-date label {
background-color: transparent; background-color: transparent;
font-family: "SF Pro Rounded";
color: alpha(#fff, 0.6); color: alpha(#fff, 0.6);
border: none; border: none;
font-size: 30px; font-size: 30px;
@@ -44,9 +42,7 @@
#lock-clock label { #lock-clock label {
background-color: transparent; background-color: transparent;
color: alpha(#fff, 0.6); color: alpha(#fff, 0.6);
font-family: "SF Pro Rounded ";
border: none; border: none;
/* font-family: "SF Pro Rounded"; */
font-size: 120px; font-size: 120px;
margin-top: -20px; margin-top: -20px;
font-weight: bold; font-weight: bold;
@@ -63,7 +59,6 @@
margin-bottom: 40px; margin-bottom: 40px;
} }
#unlock-text { #unlock-text {
font-family: "SF Pro Rounded";
font-size: 15px; font-size: 15px;
color: alpha(#fff, 0.6); color: alpha(#fff, 0.6);
font-weight: bold; font-weight: bold;
+5 -8
View File
@@ -8,20 +8,20 @@
/* margin: 6px; */ /* margin: 6px; */
} }
#noti-clear-button label { #noti-clear-button {
/* min-width: 10px; */ /* min-width: 10px; */
background-color: alpha(#1c2328, 0.05); background-color: alpha(#1c2328, 0.05);
min-height: 25px; min-height: 25px;
min-width: 70px; min-width: 70px;
font-size: 15px;
/* font-weight: bol; */
font-family: "SF Pro Rounded";
border: 1px solid #525155; border: 1px solid #525155;
border-radius: 15px; border-radius: 15px;
margin-top: 10px; margin-top: 10px;
} }
#notif-clear-button label {
font-size: 15px;
}
#noti-clear-button:hover { #noti-clear-button:hover {
background-color: alpha(#fff, 0.09); background-color: alpha(#fff, 0.09);
} }
@@ -231,13 +231,11 @@
} }
#notification-group-title { #notification-group-title {
font-family: "SF Pro Rounded";
font-size: 19px; font-size: 19px;
margin: 10px; margin: 10px;
font-weight: bold; font-weight: bold;
} }
#notification-show-less { #notification-show-less {
font-family: "SF Pro Rounded";
background-color: alpha(#1c2328, 0.05); background-color: alpha(#1c2328, 0.05);
font-size: 12px; font-size: 12px;
margin: 10px; margin: 10px;
@@ -265,7 +263,6 @@
#notification-count-label { #notification-count-label {
background-color: transparent; background-color: transparent;
color: white; color: white;
font-family: "SF Pro Rounded";
font-size: 13px; font-size: 13px;
} }
#notification-centre-notifs { #notification-centre-notifs {
-2
View File
@@ -29,12 +29,10 @@
} }
#menubar label { #menubar label {
font-family: "SF Pro Rounded";
font-size: 13px; font-size: 13px;
/* font-weight: 400; */ /* font-weight: 400; */
} }
#battery-label { #battery-label {
font-family: "SF Pro Rounded";
font-weight: 500; font-weight: 500;
margin-right: 1px; margin-right: 1px;
} }
-4
View File
@@ -17,7 +17,6 @@ tooltip {
tooltip > * { tooltip > * {
padding: 3px 10px; padding: 3px 10px;
border-radius: 0.75rem; border-radius: 0.75rem;
font-family: "SF Pro Rounded";
} }
menu { menu {
@@ -31,7 +30,6 @@ menu > menuitem {
padding: 5px 10px; padding: 5px 10px;
margin: 1px 2px; margin: 1px 2px;
font-size: 13px; font-size: 13px;
font-family: "SF Pro Rounded";
border-bottom: #474747 solid 1px; border-bottom: #474747 solid 1px;
} }
@@ -40,7 +38,6 @@ menu > menuitem:last-child {
} }
menu > menuitem:hover { menu > menuitem:hover {
transition: all 20ms ease-in-out; transition: all 20ms ease-in-out;
font-family: "SF Pro Rounded";
font-size: 13px; font-size: 13px;
border-radius: 4px; border-radius: 4px;
color: #222; color: #222;
@@ -48,7 +45,6 @@ menu > menuitem:hover {
} }
menu > menuitem:hover > label { menu > menuitem:hover > label {
font-family: "SF Pro Rounded";
color: #fff; color: #fff;
font-weight: 400; font-weight: 400;
} }
-10
View File
@@ -9,7 +9,6 @@
} }
#weather-widget label { #weather-widget label {
font-family: "SF Pro Rounded";
margin-left: 12px; margin-left: 12px;
} }
@@ -49,7 +48,6 @@
} }
#calendar-widget { #calendar-widget {
font-family: "SF Pro Rounded";
margin: 12px; margin: 12px;
} }
@@ -119,7 +117,6 @@
/* Date Widget CSS */ /* Date Widget CSS */
#date-widget label { #date-widget label {
font-family: "SF Pro Rounded";
margin-top: 10px; margin-top: 10px;
} }
#day label, #day label,
@@ -160,19 +157,15 @@
border-radius: 16px; border-radius: 16px;
} }
#ram-progress { #ram-progress {
font-family: "SF Pro Rounded";
margin-left: 12px; margin-left: 12px;
color: var(--foreground); color: var(--foreground);
} }
#progress-label { #progress-label {
font-family: "SF Pro Rounded";
font-weight: 600; font-weight: 600;
font-size: 13px; font-size: 13px;
} }
#progress { #progress {
font-family: "SF Pro Rounded";
border: solid 8px #859aff; border: solid 8px #859aff;
color: alpha(#aaaaaa, 0.7); color: alpha(#aaaaaa, 0.7);
} }
@@ -197,7 +190,6 @@
/* Info text styling */ /* Info text styling */
#info-text { #info-text {
font-family: "SF Pro Rounded";
font-size: 13px; font-size: 13px;
font-weight: 500; font-weight: 500;
color: #8e8e8e; color: #8e8e8e;
@@ -205,7 +197,6 @@
} }
#info-value { #info-value {
font-family: "SF Pro Rounded";
font-size: 12px; font-size: 12px;
font-weight: 600; font-weight: 600;
color: #ffffff; color: #ffffff;
@@ -217,7 +208,6 @@
} }
#info { #info {
font-family: "SF Pro Rounded";
margin-left: -13px; margin-left: -13px;
margin-top: 5px; margin-top: 5px;
font-size: 14px; font-size: 14px;