This repository has been archived by the owner on Oct 1, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
catpuccin.user.css
160 lines (148 loc) · 3.79 KB
/
catpuccin.user.css
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
/* ==UserStyle==
@name Startpage Catppuccin
@namespace github.com/catppuccin/startpage
@homepageURL https://github.com/catppuccin/startpage
@version 0.1.0
@description Catppuccin-based theme for Startpage.com.
@author Bart Libert
@preprocessor stylus
@var select lighttheme "Light Theme" ["Latte*", "Frappe", "Macchiato", "Mocha"]
@var select darktheme "Dark Theme" ["Latte", "Frappe", "Macchiato", "Mocha*"]
==/UserStyle== */
@-moz-document domain("startpage.com") {
set_colours(flavour) {
if (flavour=="Latte") {
--ctp-rosewater: #dc8a78;
--ctp-flamingo: #dd7878;
--ctp-green: #40a02b;
--ctp-blue: #1e66f5;
--ctp-lavender: #7287fd;
--ctp-text: #4c4f69;
--ctp-subtext1: #5c5f77;
--ctp-base: #eff1f5;
--ctp-mantle: #e6e9ef;
}
if (flavour=="Frappe") {
--ctp-rosewater: #f2d5cf;
--ctp-flamingo: #eebebe;
--ctp-green: #a6d189;
--ctp-blue: #8caaee;
--ctp-lavender: #babbf1;
--ctp-text: #c6d0f5;
--ctp-subtext1: #b5bfe2;
--ctp-base: #303446;
--ctp-mantle: #292c3c;
}
if (flavour=="Macchiato") {
--ctp-rosewater: #f4dbd6;
--ctp-flamingo: #f0c6c6;
--ctp-green: #a6da95;
--ctp-blue: #8aadf4;
--ctp-lavender: #b7bdf8;
--ctp-text: #cad3f5;
--ctp-subtext1: #b8c0e0;
--ctp-base: #24273a;
--ctp-mantle: #1e2030;
}
if (flavour=="Mocha") {
--ctp-rosewater: #f5e0dc;
--ctp-flamingo: #f2cdcd;
--ctp-green: #a6e3a1;
--ctp-blue: #89b4fa;
--ctp-lavender: #b4befe;
--ctp-text: #cdd6f4;
--ctp-subtext1: #bac2de;
--ctp-base: #1e1e2e;
--ctp-mantle: #181825;
}
}
@media (prefers-color-scheme: light) {
:root {
if (lighttheme=="Frappe") {
set_colours(Frappe)
}
else if (lighttheme=="Macchiato") {
set_colours(Macchiato)
}
else if (lighttheme=="Mocha") {
set_colours(Mocha)
}
else {
set_colours(Latte)
}
}
}
@media (prefers-color-scheme: dark) {
:root {
if (darktheme=="Latte") {
set_colours(Latte)
}
else if (darktheme=="Frappe") {
set_colours(Frappe)
}
else if (darktheme=="Macchiato") {
set_colours(Macchiato)
}
else {
set_colours(Mocha)
}
}
}
.header,
.wp-qi-sb__result,
.linkHover,
.footer__container {
background: var(--ctp-mantle);
}
.layout-web,
.layout-web__body,
.w-gl {
background: var(--ctp-base) !important;
}
.wp-qi-sb__result {
border: 1px solid var(--ctp-mantle) !important;
}
.wp-qi-sb__top-square-img {
border-bottom: 1px solid (--ctp-mantle) !important;
}
/* fonts */
.w-gl__result-title,
.inline-nav-menu__link,
.wp-qi-sb__title {
color: var(--ctp-text) !important;
}
.w-gl__result,
.search-filter-time__dropdown,
.search-filter-region__dropdown,
.search-filter-family__field-label,
.wp-qi-sb__extract {
color: var(--ctp-subtext1) !important;
}
.w-gl__result-url {
color: var(--ctp-rosewater) !important;
}
.wp-qi-sb__expand-text,
.inline-nav-menu__link__active,
.inline-nav-menu__link:hover {
color: var(--ctp-green) !important;
}
.inline-nav-menu__link__active,
.inline-nav-menu__link__post-link:hover {
border-bottom: 2px solid var(--ctp-green) !important;
}
.pagination .num--active {
background: var(--ctp-flamingo) !important;
border: 1px dashed var(--ctp-flamingo) !important;
}
.pagination__num:hover,
.pagination__next-prev-button:hover {
background: var(--ctp-blue) !important;
border: 1px solid var(--ctp-blue) !important;
}
header {
background-color: var(--ctp-mantle) !important;
}
.w-gl__result-title:visited {
color: var(--ctp-lavender) !important;
}
}