diff --git a/.changeset/spotty-spies-film.md b/.changeset/spotty-spies-film.md new file mode 100644 index 00000000000..ea4fd1e51ff --- /dev/null +++ b/.changeset/spotty-spies-film.md @@ -0,0 +1,5 @@ +--- +"saleor-dashboard": patch +--- + +Improve error color on datagrid diff --git a/src/components/Datagrid/Datagrid.tsx b/src/components/Datagrid/Datagrid.tsx index 7d0fd596494..a254f341c15 100644 --- a/src/components/Datagrid/Datagrid.tsx +++ b/src/components/Datagrid/Datagrid.tsx @@ -239,7 +239,7 @@ export const Datagrid: React.FC = ({ ...(getCellError(item, opts) ? { themeOverride: { - bgCell: themeValues.colors.background.critical2, + bgCell: themeValues.colors.background.critical1, }, } : {}), @@ -254,7 +254,7 @@ export const Datagrid: React.FC = ({ getCellContent, areCellsDirty, themeValues.colors.background.accent1, - themeValues.colors.background.critical2, + themeValues.colors.background.critical1, getCellError, ], );