Skip to content

Commit

Permalink
fix(wikiwand): syntax highlighting (#1193)
Browse files Browse the repository at this point in the history
Co-authored-by: uncenter <[email protected]>
  • Loading branch information
Omar and uncenter authored Aug 15, 2024
1 parent a584c51 commit 7fb8eab
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion styles/wikiwand/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
}
Expand Down Expand Up @@ -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 {
Expand All @@ -71,6 +100,7 @@

--color-bg: @base;
--color-text: @text;
--color-subtle: @subtext0;
--color-grey: @subtext0;
--color-table: @surface0;
--color-table-border: @surface0;
Expand Down Expand Up @@ -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 * {
Expand Down

0 comments on commit 7fb8eab

Please sign in to comment.