Add color categories correct shade to card

This commit is contained in:
Franc Camps-Febrer
2018-12-03 14:43:13 +00:00
parent 576aceba35
commit 0a6ba78389
7 changed files with 22 additions and 22 deletions

View File

@@ -4,7 +4,7 @@ const CardCategory = ({ categoryTitle, categoryLabel, colorType }) => (
<div className="event-card-section category">
<h4>{categoryTitle}</h4>
<p>
<span className={`color-category ${colorType}`}/>
<span className='color-category' style={{ background: colorType }}/>
{categoryLabel}
</p>
</div>