Skip to content

Commit

Permalink
fix border colors
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Nov 19, 2024
1 parent 23fadfb commit a709c86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]],
Expand Down
6 changes: 3 additions & 3 deletions src/components/table/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import type { FillLevel } from '../contexts/FillLevelContext'
export type TableFillLevel = Exclude<FillLevel, 3>

export const tableFillLevelToBorder = {
0: 'default',
1: 'fill-one',
2: 'fill-two',
0: 'fill-two',
1: 'fill-three',
2: 'fill-three',
} as const satisfies Record<TableFillLevel, string>

export const tableFillLevelToBorderColor = {
Expand Down

0 comments on commit a709c86

Please sign in to comment.