aboutsummaryrefslogtreecommitdiff
path: root/src/History.js
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2020-11-14 14:38:35 -0500
committerGalen Guyer <galen@galenguyer.com>2020-11-14 14:38:35 -0500
commitbe01fd2faaad2feebdb31f7a813a636d93356db8 (patch)
tree6d757bdf203876c9657a190a218e5be600ba2a79 /src/History.js
parent223baecd2196a92e86daf475e499c02a66a754b9 (diff)
Add alert level and clean up colors
Diffstat (limited to 'src/History.js')
-rw-r--r--src/History.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/History.js b/src/History.js
index c559d83..6b42460 100644
--- a/src/History.js
+++ b/src/History.js
@@ -32,7 +32,7 @@ const History = (props) => {
margin={{ top: 15, right: 30, left: 20, bottom: 5 }}
data={data}
>
- <Line type="monotone" dataKey="value" stroke="#8884d8" dot={false} />
+ <Line type="monotone" dataKey="value" stroke="#fbd38d" dot={false} />
<CartesianGrid strokeDasharray="3 3" />
<XAxis
dataKey="date"
@@ -66,7 +66,7 @@ class CustomizedAxisTick extends PureComponent {
const CustomTooltip = ({ active, payload, label }) => {
if (active) {
return (
- <div className="custom-tooltip bg-white border-blue-300 border-2 rounded-lg p-1">
+ <div className="custom-tooltip bg-white border-orange-300 border-2 rounded-lg p-1">
<p className="label">{DateTime.fromSeconds(label).toLocaleString()}</p>
<p className="desc">{payload[0].value}</p>
</div>