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