From d808bcc1e27828e190427541e4effb59ce695fd6 Mon Sep 17 00:00:00 2001 From: Isabel <71222764+isabelroses@users.noreply.github.com> Date: Mon, 24 Jul 2023 09:59:06 +0100 Subject: [PATCH] fix: @rgbify returning [object Object] (#131) * fix: @rgbify returning [object Object] * refactor: we dont need @rgb-raw * remove unintented changes * ops --- styles/whatsapp-web/catppuccin.user.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/styles/whatsapp-web/catppuccin.user.css b/styles/whatsapp-web/catppuccin.user.css index 19284f2..40264d3 100644 --- a/styles/whatsapp-web/catppuccin.user.css +++ b/styles/whatsapp-web/catppuccin.user.css @@ -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;