fix: @rgbify returning [object Object] (#131)

* fix: @rgbify returning [object Object]

* refactor: we dont need @rgb-raw

* remove unintented changes

* ops
This commit is contained in:
Isabel 2023-07-24 09:59:06 +01:00 committed by GitHub
parent c80de3ccc1
commit d808bcc1e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
@name WhatsApp Web Catppuccin
@namespace github.com/catppuccin/userstyles/styles/whatsapp-web
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/whatsapp-web
@version 0.0.1
@version 0.0.2
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/whatsapp-web/catppuccin.user.css
@description Soothing pastel theme for WhatsApp Web
@author Catppuccin
@ -188,7 +188,7 @@
--progress-primary: @accent-color !important;
--progress-background: @surface1 !important;
--startup-background: @base !important;
--startup-background-rgb: #rgbify(@base);
--startup-background-rgb: #rgbify(@base)[];
/* home page, no chat selected */
--intro-background: @base !important;
--intro-border: @accent-color !important;
@ -288,12 +288,12 @@
--link-preview-light: @subtext0 !important;
/* arrow icon in messages */
& when (@lighterMessages=1) {
--incoming-background-rgb: #rgbify(@surface1);
--incoming-background-rgb: #rgbify(@surface1)[];
}
& when (@lighterMessages=0) {
--incoming-background-rgb: #rgbify(@base);
--incoming-background-rgb: #rgbify(@base)[];
}
--outgoing-background-rgb: #rgbify(@surface0);
--outgoing-background-rgb: #rgbify(@surface0)[];
/* QUOTED MESSAGES */
/* quoted messages */
--quoted-message-text: @text !important;
@ -412,7 +412,7 @@
--primary-stronger: @text !important;
--primary-strongest: @text !important;
--secondary: @subtext0 !important;
--secondary-strongest-rgb: #rgbify(@text);
--secondary-strongest-rgb: #rgbify(@text)[];
/* chat list typing message */
--typing: @green !important;
/* background for video player and image viewer */
@ -422,8 +422,8 @@
/* Group info/Contact info */
--photopicker-overlay-background: fadeout(@mantle, 0.8) !important;
--photopicker-overlay-background-rgb: #rgbify(@base);
--media-viewer-background-rgb: #rgbify(@base);
--photopicker-overlay-background-rgb: #rgbify(@base)[];
--media-viewer-background-rgb: #rgbify(@base)[];
--drawer-background-deep: @crust !important;
/* group info read more */
--input-button-more: @sapphire !important;
@ -482,7 +482,7 @@
--rich-text-panel-background: @mantle !important;
/* select messages fixes */
--panel-background: @mantle !important;
--panel-background-rgb: #rgbify(@mantle);
--panel-background-rgb: #rgbify(@mantle)[];
--checkbox-background: @accent-color !important;
/* quoted message in compose */
--popup-panel-background: @surface0 !important;