From 7fb8eab6c1a72dd86a117ef7b07914b38d12bd39 Mon Sep 17 00:00:00 2001 From: Omar Date: Thu, 15 Aug 2024 23:07:26 +0300 Subject: [PATCH] fix(wikiwand): syntax highlighting (#1193) Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com> --- styles/wikiwand/catppuccin.user.css | 35 ++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/styles/wikiwand/catppuccin.user.css b/styles/wikiwand/catppuccin.user.css index 1da864012a..59c1147efc 100644 --- a/styles/wikiwand/catppuccin.user.css +++ b/styles/wikiwand/catppuccin.user.css @@ -2,7 +2,7 @@ @name Wikiwand Catppuccin @namespace github.com/catppuccin/userstyles/styles/wikiwand @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/wikiwand -@version 1.2.1 +@version 1.2.2 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/wikiwand/catppuccin.user.css @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Awikiwand @description Soothing pastel theme for Wikiwand @@ -16,6 +16,8 @@ ==/UserStyle== */ @-moz-document domain("wikiwand.com") { + @import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css"); + .root_light__Inhun { #catppuccin(@lightFlavor, @accentColor); } @@ -56,6 +58,33 @@ @crust: @catppuccin[@@lookup][@crust]; @accent-color: @catppuccin[@@lookup][@@accent]; + --ctp-rosewater: @rosewater; + --ctp-flamingo: @flamingo; + --ctp-pink: @pink; + --ctp-mauve: @mauve; + --ctp-red: @red; + --ctp-maroon: @maroon; + --ctp-peach: @peach; + --ctp-yellow: @yellow; + --ctp-green: @green; + --ctp-teal: @teal; + --ctp-sky: @sky; + --ctp-sapphire: @sapphire; + --ctp-blue: @blue; + --ctp-lavender: @lavender; + --ctp-text: @text; + --ctp-subtext1: @subtext1; + --ctp-subtext0: @subtext0; + --ctp-overlay2: @overlay2; + --ctp-overlay1: @overlay1; + --ctp-overlay0: @overlay0; + --ctp-surface2: @surface2; + --ctp-surface1: @surface1; + --ctp-surface0: @surface0; + --ctp-base: @base; + --ctp-mantle: @mantle; + --ctp-crust: @crust; + color-scheme: if(@lookup = latte, light, dark); ::selection { @@ -71,6 +100,7 @@ --color-bg: @base; --color-text: @text; + --color-subtle: @subtext0; --color-grey: @subtext0; --color-table: @surface0; --color-table-border: @surface0; @@ -368,6 +398,9 @@ a.wl { color: @accent-color !important; } + pre, code, samp, kbd { + border-color: @surface2 !important; + } .summary_footer__Lk6z7 > span:nth-child(1), .input_icon__He3sV, .item_star__arENF.item_active__4kaIV * {