2 Commits

2 changed files with 8 additions and 7 deletions

View File

@@ -4,13 +4,13 @@
/* Base units */
/* --vw is set by ThemeProvider */
--background: #1a237e;;
--card: #283593;;
--foreground: #ffffff;;
--primary-cta: #0d47a1;;
--secondary-cta: #ffffff;;
--accent: #00acc1;;
--background-accent: #0097a7;;
--background: #331f75;;
--card: #482f85;;
--foreground: #f7f0eb;;
--primary-cta: #a2469c;;
--secondary-cta: #f7f0eb;;
--accent: #f7f0eb;;
--background-accent: #a2469c;;
/* Base spacing units */
--vw-0_25: calc(var(--vw) * 0.25);
--vw-0_5: calc(var(--vw) * 0.5);

View File

@@ -156,6 +156,7 @@ const MetricCardTwo = ({
buttonTextClassName={textBoxButtonTextClassName}
ariaLabel={ariaLabel}
>
<span className="inline-block px-3 py-1 text-sm font-medium rounded-full bg-primary-cta/10 text-primary-cta">New</span>
{metrics.map((metric, index) => (
<MetricCardItem
key={`${metric.id}-${index}`}