Files
userstyles/styles/devdocs/catppuccin.user.less
T

107 lines
3.1 KiB
Plaintext

/* ==UserStyle==
@name DevDocs Catppuccin
@namespace github.com/catppuccin/userstyles/styles/devdocs
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/devdocs
@version 2026.08.16
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/devdocs/catppuccin.user.less
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Adevdocs
@description Soothing pastel theme for DevDocs
@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("devdocs.io") {
@import url("https://prismjs.catppuccin.com/variables.important.css");
html._theme-default {
#catppuccin(@lightFlavor);
}
html._theme-dark {
#catppuccin(@darkFlavor);
}
#catppuccin(@flavor) {
#lib.palette();
#lib.defaults();
#lib.css-variables();
--documentBackground: @base;
--contentBackground: @base;
--textColor: @text;
--textColorLight: @subtext1;
--textColorLighter: @subtext0;
--textColorRed: @red;
--focusBackground: @surface0;
--focusBorder: @surface1;
--focusText: @text;
--selectionBackground: @accent;
--selectionText: @base;
--selectionBorder: @surface1;
--highlightBackground: @surface2;
--loadingText: @overlay2;
--linkColor: @blue;
--linkColorHover: @sky;
--headerBackground: @crust;
--headerBorder: @surface1;
--searchTagBackground: @crust;
--searchBorder: @surface1;
--inputFocusBorder: @accent;
--sidebarBackground: @mantle;
--sidebarBorder: @surface1;
--scrollbarColor: @overlay0;
--scrollbarColorHover: @overlay1;
--boxHeaderBackground: @mantle;
--boxHeaderColor: @text;
--boxBackground: @mantle;
--boxBorder: @surface1;
--boxBorderLight: @surface1;
--noteBackground: @surface0;
--noteBorder: @surface1;
--noteGreenBackground: fade(@green, 30%);
--noteGreenBorder: @surface1;
--noteBlueBackground: fade(@blue, 30%);
--noteBlueBorder: @surface1;
--noteOrangeBackground: fade(@peach, 30%);
--noteOrangeBorder: @surface1;
--noteRedBackground: fade(@red, 30%);
--noteRedBorder: @surface1;
--notifBackground: @surface0;
--notifBorder: 1px solid @surface1;
--notifColor: @text;
--tipBackground: @surface0;
--tipBorder: 1px solid @surface1;
--noticeBackground: @surface0;
--noticeBorder: @surface1;
--labelBackground: @surface0;
._list-arrow {
fill: @overlay0;
opacity: 1;
&:hover {
fill: @overlay1;
}
}
._search > svg {
fill: @overlay2;
opacity: 1;
}
}
}