89 lines
3.0 KiB
Plaintext
89 lines
3.0 KiB
Plaintext
/* ==UserStyle==
|
|
@name Wikiwand Catppuccin
|
|
@namespace github.com/catppuccin/userstyles/styles/wikiwand
|
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/wikiwand
|
|
@version 2026.08.16
|
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/wikiwand/catppuccin.user.less
|
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Awikiwand
|
|
@description Soothing pastel theme for Wikiwand
|
|
@author Catppuccin
|
|
@license MIT
|
|
|
|
@preprocessor less
|
|
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
|
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
|
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
|
==/UserStyle== */
|
|
|
|
@import "https://userstyles.catppuccin.com/lib/std/v1.less";
|
|
|
|
@-moz-document domain("wikiwand.com") {
|
|
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
|
|
|
|
.theme-system {
|
|
@media (prefers-color-scheme: light) {
|
|
#catppuccin(@lightFlavor);
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#catppuccin(@darkFlavor);
|
|
}
|
|
}
|
|
|
|
.theme-light,
|
|
.theme-desert,
|
|
.theme-calmness {
|
|
#catppuccin(@lightFlavor);
|
|
}
|
|
.theme-dark,
|
|
.theme-black,
|
|
.theme-deepOcean,
|
|
.theme-nature {
|
|
#catppuccin(@darkFlavor);
|
|
}
|
|
|
|
#catppuccin(@flavor) {
|
|
#lib.palette();
|
|
#lib.defaults();
|
|
#lib.css-variables();
|
|
|
|
--color-bg: @base !important;
|
|
--color-text: @text !important;
|
|
--color-grey: @subtext1 !important;
|
|
--color-accent: @accent !important;
|
|
--color-highlight: @surface2 !important;
|
|
--color-ash: @surface2 !important;
|
|
--color-border: @surface2 !important;
|
|
--color-blue-bg: @surface1 !important;
|
|
--color-blue-text: @blue !important;
|
|
--color-purple-bg: @surface1 !important;
|
|
--color-purple-text: @mauve !important;
|
|
--color-green-bg: @surface1 !important;
|
|
--color-green-text: @green !important;
|
|
--color-orange-bg: @surface1 !important;
|
|
--color-orange-text: @peach !important;
|
|
--color-table: @surface0 !important;
|
|
--color-link: @accent !important;
|
|
--color-score-A: @green !important;
|
|
--color-score-B: @mauve !important;
|
|
--color-score-C: @peach !important;
|
|
--color-score-F: @red !important;
|
|
--color-score-NA: var(--color-grey) !important;
|
|
--grad: linear-gradient(-45deg, @peach, @blue, @pink, @yellow) !important;
|
|
--box-shadow: 0px 1px 4px 1px @crust !important;
|
|
--box-shadow-dark:
|
|
0px 0px 1px 1px @crust, 0px 1px 5px 2px @crust !important;
|
|
--box-shadow-strong: 0px 1px 5px 2px @crust !important;
|
|
--backdrop-bg: @base !important;
|
|
--backdrop-bg-ash: fade(@surface1, 50%) !important;
|
|
|
|
.mw-no-invert * {
|
|
color: @crust !important;
|
|
}
|
|
|
|
.notheme * {
|
|
--color-text: auto;
|
|
--color-link: auto;
|
|
}
|
|
}
|
|
}
|