refactor(tree-wide): misc improvements (#1547)

This commit is contained in:
uncenter authored and GitHub committed 2024-12-31 17:52:08 -05:00
1 parent 3e6ecfbf86
commit 6121f23d7c
126 files changed
+8047 -8021

No files matched your search

+57 -57
View File
@@ -19,46 +19,46 @@
@-moz-document domain("web.whatsapp.com") {
body {
#catppuccin(@lightFlavor, @accentColor);
#catppuccin(@lightFlavor);
}
body.dark {
#catppuccin(@darkFlavor, @accentColor);
#catppuccin(@darkFlavor);
}
#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo];
@pink: @catppuccin[@@lookup][@pink];
@mauve: @catppuccin[@@lookup][@mauve];
@red: @catppuccin[@@lookup][@red];
@maroon: @catppuccin[@@lookup][@maroon];
@peach: @catppuccin[@@lookup][@peach];
@yellow: @catppuccin[@@lookup][@yellow];
@green: @catppuccin[@@lookup][@green];
@teal: @catppuccin[@@lookup][@teal];
@sky: @catppuccin[@@lookup][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire];
@blue: @catppuccin[@@lookup][@blue];
@lavender: @catppuccin[@@lookup][@lavender];
@text: @catppuccin[@@lookup][@text];
@subtext1: @catppuccin[@@lookup][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2];
@surface1: @catppuccin[@@lookup][@surface1];
@surface0: @catppuccin[@@lookup][@surface0];
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-color: @catppuccin[@@lookup][@@accent];
#catppuccin(@flavor) {
@rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@flavor][@crust];
@accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark);
color-scheme: if(@flavor = latte, light, dark);
::selection {
background-color: fade(@accent-color, 30%);
background-color: fade(@accent, 30%);
}
input,
@@ -69,7 +69,7 @@
}
.landing-wrapper-before {
background-color: @accent-color !important;
background-color: @accent !important;
}
/* STATUS PAGE */
@@ -84,13 +84,13 @@
--modal-background: @base !important;
/* startup progress */
--progress-primary: @accent-color !important;
--progress-primary: @accent !important;
--progress-background: @surface1 !important;
--startup-background: @base !important;
--startup-background-rgb: #rgbify(@base)[];
/* home page, no chat selected */
--intro-background: @base !important;
--intro-border: @accent-color !important;
--intro-border: @accent !important;
/* general background */
--app-background: @base !important;
@@ -106,9 +106,9 @@
/* filters item background hover */
--filters-item-background-hover: @surface1 !important;
/* filters item active background */
--filters-item-active-background: fadeout(@accent-color, 70%) !important;
--filters-item-active-background: fade(@accent, 30%) !important;
/* filters item active color */
--filters-item-active-color: @accent-color !important;
--filters-item-active-color: @accent !important;
/* chat list background */
--background-default: @base !important;
/* chat list header */
@@ -122,18 +122,18 @@
--butterbar-green-nux-background: @mantle !important;
/* update available warning */
--butterbar-update-background: @mantle !important;
--butterbar-update-icon: @accent-color !important;
--butterbar-update-icon: @accent !important;
/* chat list search bar */
--search-container-background: @base !important;
--search-input-container-background: @base !important;
--search-input-background: @surface0 !important;
--search-input-container-background-active: @mantle !important;
--icon-search-back: @accent-color !important;
--icon-search-back: @accent !important;
/* archive icon */
--icon-bright-highlight: @accent-color !important;
--icon-bright-highlight: @accent !important;
/* archived unread marker */
--unread-marker-background: @accent-color !important;
--unread-timestamp: @accent-color !important;
--unread-marker-background: @accent !important;
--unread-timestamp: @accent !important;
/* archived chats header */
--archived-chat-persistent-header-background: @crust !important;
/* unread voice message */
@@ -141,7 +141,7 @@
/* read voice message */
--ptt-blue: @blue !important;
/* pinned chat icon */
--icon-pinned: @accent-color !important;
--icon-pinned: @accent !important;
/* last message in selected chat */
--secondary-stronger: @subtext1 !important;
/* background for active and hover chats in chat list */
@@ -328,7 +328,7 @@
--media-gallery-thumb-background: @crust !important;
/* Group info/Contact info */
--photopicker-overlay-background: fadeout(@mantle, 80%) !important;
--photopicker-overlay-background: fade(@mantle, 20%) !important;
--photopicker-overlay-background-rgb: #rgbify(@base)[];
--media-viewer-background-rgb: #rgbify(@base)[];
--drawer-background-deep: @crust !important;
@@ -344,7 +344,7 @@
/* Media gallery */
--drawer-gallery-background: @crust !important;
/* mute toggle */
--switch-button-checked-color: @accent-color !important;
--switch-button-checked-color: @accent !important;
--switch-track-checked-color: @surface2 !important;
--switch-track-color: @surface2 !important;
--switch-button-color: @overlay1 !important;
@@ -359,7 +359,7 @@
/* EMOJI AND STICKERS */
--panel-input-background: @surface0 !important;
--sticker-button-background: @surface1 !important;
--active-tab-marker: @accent-color !important;
--active-tab-marker: @accent !important;
/* REACTIONS */
--reactions-panel-background-color: @surface0 !important;
@@ -369,7 +369,7 @@
/* Forward message popup */
--panel-background-colored-deeper: @crust !important;
--modal-backdrop: fadeout(@mantle, 80%) !important;
--modal-backdrop: fade(@mantle, 20%) !important;
/* Forward media caption */
--forward-caption-preview-background: @mantle !important;
@@ -381,9 +381,9 @@
/* message box for media editor */
--media-editor-image-caption-input-background: @surface0 !important;
/* selected picture in media editor */
--media-editor-thumb-border-active: @accent-color !important;
--media-editor-thumb-border-active: @accent !important;
/* send button in media editor */
--button-round-background: @accent-color !important;
--button-round-background: @accent !important;
/* COMPOSE BAR */
/* type a message bar and background */
@@ -394,14 +394,14 @@
/* select messages fixes */
--panel-background: @mantle !important;
--panel-background-rgb: #rgbify(@mantle)[];
--checkbox-background: @accent-color !important;
--checkbox-background: @accent !important;
/* quoted message in compose */
--popup-panel-background: @surface0 !important;
/* use Surface 0 for contrast, other colors don't pass AAA */
/* mention list item background */
--compose-panel-background-hover: @surface1 !important;
/* compose bar icons */
--icon: @accent-color !important;
--icon: @accent !important;
/* ATTACH ICONS */
/* poll icon */
div._1OT67
@@ -610,7 +610,7 @@
fill: @sky !important;
}
/* VOICE MESSAGE SENDING */
--ptt-draft-button-send: @accent-color !important;
--ptt-draft-button-send: @accent !important;
--ptt-draft-waveform-background: @base !important;
--ptt-draft-button-stop: @red !important;
--ptt-draft-button-stop-hover: @maroon !important;
@@ -632,12 +632,12 @@
/* title and icon for drawers */
--drawer-header-title: @text !important;
/* buttons such as create community */
--button-primary-background: @accent-color !important;
--button-primary-background-hover: fadeout(@accent-color, 80%) !important;
--button-primary-background: @accent !important;
--button-primary-background-hover: fade(@accent, 20%) !important;
/* keyboard shortcuts background */
--panel-background-lighter: @mantle !important;
/* active input in modals and drawers */
--input-border-active: @accent-color !important;
--input-border-active: @accent !important;
/* Start page drawing */
#app
@@ -655,7 +655,7 @@
/* Status unread dot */
#df9d3429-f0ef-48b5-b5eb-f9d27b2deba6 > path:nth-child(2) {
fill: @accent-color !important;
fill: @accent !important;
}
#side
@@ -667,7 +667,7 @@
> span
> svg
> path {
fill: @accent-color !important;
fill: @accent !important;
}
}
}