Skip to content

Commit 3248ca3

Browse files
committed
Use link color as hot, interpolate between hot and cold colors
1 parent 1541456 commit 3248ca3

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

public/less/themes/arc-green.less

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,28 +1294,34 @@ a.ui.labels .label:hover {
12941294
}
12951295
}
12961296

1297+
.heatmap(@heat) {
1298+
@heatmap-cold: #2d303b;
1299+
@heatmap-hot: #87ab63;
1300+
background-color: mix(@heatmap-hot, @heatmap-cold, @heat);
1301+
}
1302+
12971303
.heatmap-color-0 {
1298-
background-color: #2d303b;
1304+
.heatmap(0%);
12991305
}
13001306

13011307
.heatmap-color-1 {
1302-
background-color: #025900;
1308+
.heatmap(20%);
13031309
}
13041310

13051311
.heatmap-color-2 {
1306-
background-color: #609926;
1312+
.heatmap(40%);
13071313
}
13081314

13091315
.heatmap-color-3 {
1310-
background-color: #66c74b;
1316+
.heatmap(60%);
13111317
}
13121318

13131319
.heatmap-color-4 {
1314-
background-color: #9fdb81;
1320+
.heatmap(80%);
13151321
}
13161322

13171323
.heatmap-color-5 {
1318-
background-color: #d8efbf;
1324+
.heatmap(100%);
13191325
}
13201326

13211327
/* code mirror dark theme */

0 commit comments

Comments
 (0)