From: Carl Worth Date: Mon, 29 Jun 2020 15:55:29 +0000 (-0700) Subject: Rename "label" to "achievement" X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=8da6d6a157c70f00f5e765c921c527b268f34a72 Rename "label" to "achievement" The word "label" was far too generic to capture the stlying needs for this class. Thanks to Andrew for pointing out that this feature is really what games today call an "achievement". --- diff --git a/empathy/empathy.css b/empathy/empathy.css index 3ab2fc6..adc8f6a 100644 --- a/empathy/empathy.css +++ b/empathy/empathy.css @@ -104,7 +104,7 @@ transition-delay: 1s; } -.label { +.achievement { border-radius: 4px; background-color: var(--accent-color-bright); color: var(--text-fg-on-accent-bright); diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index 53d7763..30aa0ca 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -1216,7 +1216,7 @@ class Game extends React.PureComponent { {state.scores.scores.map(score => { let perfect = null; if (score.score == perfect_score) { - perfect = Perfect!; + perfect = Perfect!; } return (