From a709c86b6a7e7b5fc35b26ced858aa55f3bcccc0 Mon Sep 17 00:00:00 2001 From: Marcin Maciaszczyk Date: Tue, 19 Nov 2024 15:20:31 +0100 Subject: [PATCH] fix border colors --- src/components/table/Table.tsx | 2 +- src/components/table/colors.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/table/Table.tsx b/src/components/table/Table.tsx index d3311f92..e996c012 100644 --- a/src/components/table/Table.tsx +++ b/src/components/table/Table.tsx @@ -242,7 +242,7 @@ const Th = styled.th<{ right: 0, bottom: 0, width: 10000, - backgroundColor: theme.colors['fill-two'], + backgroundColor: theme.colors['fill-two'], // TODO borderBottom: hideHeader ? 'none' : theme.borders[tableFillLevelToBorder[fillLevel]], diff --git a/src/components/table/colors.ts b/src/components/table/colors.ts index 96db85f5..e00beff1 100644 --- a/src/components/table/colors.ts +++ b/src/components/table/colors.ts @@ -3,9 +3,9 @@ import type { FillLevel } from '../contexts/FillLevelContext' export type TableFillLevel = Exclude export const tableFillLevelToBorder = { - 0: 'default', - 1: 'fill-one', - 2: 'fill-two', + 0: 'fill-two', + 1: 'fill-three', + 2: 'fill-three', } as const satisfies Record export const tableFillLevelToBorderColor = {