File tree 2 files changed +12
-18
lines changed
2 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const Day = ({date}) => {
17
17
setIntensity (
18
18
` intensity-${ Math . min (
19
19
window . dev_events [ date . getFullYear ( ) ] [ date . getMonth ( ) ] [ date . getDate ( ) ] . length ,
20
- 10
20
+ 7
21
21
) } `
22
22
) ;
23
23
}
Original file line number Diff line number Diff line change 30
30
.date {
31
31
padding : 10px ;
32
32
text-align : center;
33
- background : # eee ;
34
33
border-radius : 3px ;
35
34
cursor : pointer;
36
35
}
40
39
}
41
40
42
41
.date .intensity-1 {
43
- filter : brightness ( 0.95 );
42
+ background-color : rgb ( 241 245 249 );
44
43
}
45
44
.date .intensity-2 {
46
- filter : brightness ( 0.9 );
45
+ background-color : rgb ( 226 232 240 );
47
46
}
48
47
.date .intensity-3 {
49
- filter : brightness ( 0.85 );
48
+ background-color : rgb ( 226 232 240 );
50
49
}
51
50
.date .intensity-4 {
52
- filter : brightness (0.8 );
51
+ background-color : rgb (148 163 184 );
52
+ color : # fafafa ;
53
53
}
54
54
.date .intensity-5 {
55
- filter : brightness (0.75 );
55
+ background-color : rgb (100 116 139 );
56
+ color : # fafafa ;
56
57
}
57
58
.date .intensity-6 {
58
- filter : brightness (0.7 );
59
+ background-color : rgb (71 85 105 );
60
+ color : # fafafa ;
59
61
}
60
62
.date .intensity-7 {
61
- filter : brightness (0.65 );
62
- }
63
- .date .intensity-8 {
64
- filter : brightness (0.6 );
65
- }
66
- .date .intensity-9 {
67
- filter : brightness (0.55 );
68
- }
69
- .date .intensity-10 {
70
- filter : brightness (0.5 );
63
+ background-color : rgb (51 65 85 );
64
+ color : # fafafa ;
71
65
}
You can’t perform that action at this time.
0 commit comments