From 0a5100c4a3cb4d0fe402a807da62b1d64dd3fa48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chy=C5=82a?= Date: Tue, 28 Mar 2023 08:20:14 +0200 Subject: [PATCH] Fix colors for change and error cells in datagrid (#3422) * Fix colors for change and error cells in datagrid * Fix borader overlapping in bottom of datagrid --- src/components/Datagrid/Datagrid.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/Datagrid/Datagrid.tsx b/src/components/Datagrid/Datagrid.tsx index 9e08f86e8..cccf29e80 100644 --- a/src/components/Datagrid/Datagrid.tsx +++ b/src/components/Datagrid/Datagrid.tsx @@ -171,15 +171,14 @@ export const Datagrid: React.FC = ({ ...(changed ? { themeOverride: { - bgCell: themeValues.colors.background.surfaceBrandHighlight, + bgCell: themeValues.colors.background.surfaceBrandSubdued, }, } : {}), ...(getCellError(item, opts) ? { themeOverride: { - bgCell: - themeValues.colors.background.interactiveCriticalHovering, + bgCell: themeValues.colors.background.surfaceCriticalDepressed, }, } : {}), @@ -447,7 +446,6 @@ export const Datagrid: React.FC = ({ />