From e8a1624292f1ca6ff34fe8b3ecff5a746f1d9cea Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Thu, 9 May 2024 22:31:01 +0300 Subject: [PATCH] Updated dark mode for badge in aura --- components/lib/themes/aura/badge/index.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/components/lib/themes/aura/badge/index.js b/components/lib/themes/aura/badge/index.js index 3a28ff521..cb09834bc 100644 --- a/components/lib/themes/aura/badge/index.js +++ b/components/lib/themes/aura/badge/index.js @@ -53,28 +53,28 @@ export default { }, dark: { primary: { - background: '{primary.color}', - color: '{primary.inverse.color}' + background: 'color-mix(in srgb, {primary.500}, transparent 84%)', + color: '{primary.300}' }, secondary: { background: '{surface.800}', color: '{surface.300}' }, success: { - background: '{green.400}', - color: '{green.950}' + background: 'color-mix(in srgb, {green.500}, transparent 84%)', + color: '{green.300}' }, info: { - background: '{sky.400}', - color: '{sky.950}' + background: 'color-mix(in srgb, {sky.500}, transparent 84%)', + color: '{sky.300}' }, warn: { - background: '{orange.400}', - color: '{orange.950}' + background: 'color-mix(in srgb, {orange.500}, transparent 84%)', + color: '{orange.300}' }, danger: { - background: '{red.400}', - color: '{red.950}' + background: 'color-mix(in srgb, {red.500}, transparent 84%)', + color: '{red.300}' }, contrast: { background: '{surface.0}',