forked from wenfangdu/github-brighter-text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgithub-brighter-text.user.css
48 lines (47 loc) · 1.7 KB
/
github-brighter-text.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
/* ==UserStyle==
@author Wenfang Du
@homepageURL https://github.com/wenfangdu/github-brighter-text
@license MIT
@name GitHub Brighter Text
@namespace Wenfang Du
@preprocessor less
@updateURL https://raw.githubusercontent.com/wenfangdu/github-brighter-text/main/github-brighter-text.user.css
@var color text-color 'Text Color' #eee
@version 1.1.1
==/UserStyle== */
@-moz-document domain('github.com') {
.vars() {
--color-auto-gray-6: @text-color;
--color-auto-gray-7: @text-color;
--color-btn-text: @text-color;
--color-diff-blob-hunk-text: @text-color;
--color-files-explorer-icon: @text-color;
--color-footer-invertocat-octicon-hover: @text-color;
--color-footer-invertocat-octicon: @text-color;
--color-header-text: @text-color;
--color-icon-primary: @text-color;
--color-icon-secondary: @text-color;
--color-icon-tertiary: @text-color;
--color-menu-heading-text: @text-color;
--color-prettylights-syntax-comment: @text-color;
--color-text-primary: @text-color;
--color-text-secondary: @text-color;
--color-text-tertiary: @text-color;
--color-timeline-text: @text-color;
--color-underlinenav-counter-text: @text-color;
--color-underlinenav-icon-active: @text-color;
--color-underlinenav-icon-hover: @text-color;
--color-underlinenav-icon: @text-color;
--color-underlinenav-text-active: @text-color;
--color-underlinenav-text-hover: @text-color;
--color-underlinenav-text: @text-color;
}
[data-color-mode='dark'][data-dark-theme='dark'] {
.vars() !important;
}
@media (prefers-color-scheme: dark) {
[data-color-mode='auto'][data-dark-theme='dark'] {
.vars() !important;
}
}
}