forked from catppuccin/userstyles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcatppuccin.user.less
More file actions
106 lines (89 loc) 路 3.11 KB
/
Copy pathcatppuccin.user.less
File metadata and controls
106 lines (89 loc) 路 3.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/* ==UserStyle==
@name DevDocs Catppuccin
@namespace github.com/catppuccin/userstyles/styles/devdocs
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/devdocs
@version 2025.09.06
@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/lib.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;
}
}
}