color redesign, white = less important, yellow = more important
This commit is contained in:
parent
a7e869477b
commit
d12fbeef23
4 changed files with 67 additions and 69 deletions
|
|
@ -125,11 +125,11 @@ export default function ContributionHeatmap() {
|
|||
<div className="contribution-heatmap">
|
||||
<div className="contribution-command-row">
|
||||
<div className="contribution-command">
|
||||
<span style={{ color: "var(--green)" }}>martin@git.dvorakmortonxd.dev</span>:<span style={{ color: "var(--gray)" }}>~</span>$ echo "<span style={{ color: "var(--aqua)" }}>{totalContribs}</span> contributions in the last year"
|
||||
<span style={{ color: "var(--green)" }}>martin@git.dvorakmortonxd.dev</span>:<span style={{ color: "var(--gray)" }}>~</span>$ echo "<span style={{ color: "var(--accent)" }}>{totalContribs}</span> contributions in the last year"
|
||||
</div>
|
||||
</div>
|
||||
<div className="contribution-total-title">
|
||||
<span style={{ color: "var(--aqua)" }}>{totalContribs}</span> contributions in the last year
|
||||
<span style={{ color: "var(--accent)" }}>{totalContribs}</span> contributions in the last year
|
||||
</div>
|
||||
<div className="heatmap-container">
|
||||
{weeks.map((week, wIdx) => (
|
||||
|
|
@ -151,7 +151,7 @@ export default function ContributionHeatmap() {
|
|||
<div className="heatmap-status-row">
|
||||
<div className="heatmap-status-text">
|
||||
{hoveredCell ? (
|
||||
<span><strong style={{ color: "var(--aqua)" }}>{hoveredCell.contribs}</strong> contributions on {hoveredCell.date}</span>
|
||||
<span><strong style={{ color: "var(--accent)" }}>{hoveredCell.contribs}</strong> contributions on {hoveredCell.date}</span>
|
||||
) : (
|
||||
<span>Hover over a day to see contributions</span>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue