-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCSSGradient-DarkMode.user.css
More file actions
60 lines (58 loc) · 1.51 KB
/
CSSGradient-DarkMode.user.css
File metadata and controls
60 lines (58 loc) · 1.51 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
/* ==UserStyle==
@name cssgradient.io - Dark Mode
@namespace nick2bad4u.github.io
@version 1.1.1
@description Dark theme for CSSGradient.io
@author Nick2bad4u
@license UnLicense
@homepageURL https://github.com/Nick2bad4u/UserStyles
@supportURL https://github.com/Nick2bad4u/UserStyles/issues
@var color backgroundColor "Background Color" #000000
@var color textColor "Text Color" #ffffff
@downloadURL https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/CSSGradient-DarkMode.user.css
@updateURL https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/CSSGradient-DarkMode.user.css
==/UserStyle== */
@-moz-document domain("cssgradient.io") {
/* Use the variables for colors */
:root {
--backgroundColor: var(backgroundColor);
--textColor: var(textColor);
}
/* Invert colors except images and videos */
main,
.panel-app,
.app-gradient,
.app-color,
.app-options,
.home-article,
.nav,
.home-page,
.blog-card,
.site-footer,
.blog-header,
.blog-article,
.row,
.html-backgrounds,
.gradient-backgrounds,
.js-body-content,
.content-backgrounds,
.sidenav-fake,
.sidenav-backgrounds__list-item
.sidenav-backgrounds__background,
body,
#app,
.pt-16,
.mt-2,
.page-article,
.page-header,
.page-card,
.swatch-card__bar,
.swatch-card__copy {
background: var(--backgroundColor) !important;
color: var(--textColor) !important;
}
.app-color__stop.is-active {
background: var(--backgroundColor) !important;
color: var(--textColor) !important;
}
}