From 08325958583fc3d5fe4aef7439f9e9df6c9b4e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Mon, 21 Oct 2024 15:22:39 +0400 Subject: [PATCH] Fix light mode error --- components/teks/teks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/teks/teks.js b/components/teks/teks.js index 188a9f2..f170055 100644 --- a/components/teks/teks.js +++ b/components/teks/teks.js @@ -58,9 +58,9 @@ const Root = styled('div')(( [`& .${classes.separation}`]: { color: 'black', - [theme.getColorSchemeSelector('dark')]: { + ...theme.applyStyles('dark', { color: 'white' - } + }) }, '@media (max-width: 600px)': {