-
Notifications
You must be signed in to change notification settings - Fork 0
/
github.css
127 lines (100 loc) · 2.48 KB
/
github.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
/*
The following CSS variables define colorblind-friendly styling for github.com
*/
@-moz-document domain("github.com")
{
/* Main color substitutions */
:root {
--green-subs: #648FFF;
--green-subs-light: #8AABFF;
--green-subs-lighter: #D5E3F9;
--red-subs: #FFB000;
--red-subs-light: #FFD371;
--red-subs-lighter: #FFEEBA;
--ibm-2: #785EF0;
--ibm-3: #DC267F;
--ibm-4: #FE6100;
}
/* GENERAL*/
.text-green {
color: var(--green-subs)!important;
}
.text-red {
color: var(--red-subs)!important;
}
/* DIFF */
.blob-code-deletion {
background-color: var(--red-subs-lighter);
}
.blob-num-deletion {
background-color: var(--red-subs-light);
}
.blob-code-deletion .x {
background-color: var(--red-subs-light);
}
.blob-code-addition {
background-color: var(--green-subs-lighter);
}
.blob-num-addition {
background-color: var(--green-subs-light);
}
.blob-code-addition .x {
background-color: var(--green-subs-light);
}
.diffstat-block-added {
background-color: var(--green-subs);
}
.diffstat-block-deleted {
background-color: var(--red-subs);
}
/* DANGER*/
.btn-danger {
color: var(--red-subs);
}
.btn-danger:hover, [open]>.btn-danger {
background-color: var(--red-subs);
}
.Box--danger, .Box--danger .Box-body:last-of-type, .Box--danger .Box-row:first-of-type {
border-color: var(--red-subs);
}
/* ISSURES and PULL REQUESTS*/
.open.octicon {
color: var(--green-subs);
}
.closed.octicon, .reverted.octicon {
color: var(--red-subs);
}
/* INSIGHTS*/
/* Pulse */
.summary-stats li .octicon-issue-opened {
color: var(--green-subs);
}
.summary-stats li .octicon-issue-closed {
color: var(--red-subs);
}
.summary-stats li .octicon-git-branch {
color: var(--green-subs);
}
.authors-and-code .insertions {
color: var(--green-subs);
}
.authors-and-code .insertions {
color: var(--green-subs);
}
.authors-and-code .deletions {
color: var(--red-subs);
}
/* Code frequency */
.cadd {
color: var(--green-subs);
}
.code-frequency .addition {
fill: var(--green-subs);
}
.cdel {
color: var(--red-subs);
}
.code-frequency .deletion {
fill: var(--red-subs);
}
}