From dbc7a0ffaf8612513d07a7de2c44abea5845ea9e Mon Sep 17 00:00:00 2001 From: Isabel Date: Wed, 16 Oct 2024 11:51:37 +0100 Subject: [PATCH] fix(chatgpt): codeblocks (#1376) --- styles/chatgpt/catppuccin.user.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/styles/chatgpt/catppuccin.user.css b/styles/chatgpt/catppuccin.user.css index 7c54fe6f1b..5d306af87e 100644 --- a/styles/chatgpt/catppuccin.user.css +++ b/styles/chatgpt/catppuccin.user.css @@ -2,7 +2,7 @@ @name ChatGPT Catppuccin @namespace github.com/catppuccin/userstyles/styles/chatgpt @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/chatgpt -@version 0.3.3 +@version 0.3.4 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/chatgpt/catppuccin.user.css @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Achatgpt @description Soothing pastel theme for ChatGPT @@ -16,7 +16,7 @@ ==/UserStyle== */ @-moz-document domain("chatgpt.com") { - @import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.css"); + @import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css"); :root.light { #catppuccin(@lightFlavor, @accentColor); @@ -96,7 +96,7 @@ } code.hljs { - background: none; + background: none !important; } pre { .bg-token-main-surface-secondary { @@ -110,6 +110,10 @@ } } + .dark\:bg-gray-950:is(.dark *) { + background-color: @mantle; + } + color: @text; @white: if(@lookup=latte, @crust, @text); @@ -126,6 +130,7 @@ --gray-500: @surface2; --gray-600: @surface1; --gray-700: @surface0; + --gray-750: @surface0; --gray-800: @base; --gray-900: @mantle; --gray-950: @crust;