Skip to content

Commit

Permalink
Merge pull request #213 from ZeroGachis/fix/rew-341-changer-divider
Browse files Browse the repository at this point in the history
💄 Divider - change color
  • Loading branch information
AdrienCasta authored Mar 21, 2024
2 parents a478e64 + b98a9e0 commit c74580c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/divider/Divider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ export interface Props {
dashed?: boolean;
}

export const Divider = ({ style, orientation = 'horizontal', dashed = false }: Props) => {
export const Divider = ({
style,
orientation = 'horizontal',
dashed = false,
}: Props) => {
const theme = useTheme();
const [lineLength, setLineLength] = useState(0);

Expand All @@ -18,8 +22,7 @@ export const Divider = ({ style, orientation = 'horizontal', dashed = false }: P
...style,
},
line: {
// TODO: use new tokens
color: theme.sw.color.neutral[500] + '3D',
color: theme.sw.color.neutral[300],
},
});
const isRow = orientation == 'horizontal';
Expand Down

0 comments on commit c74580c

Please sign in to comment.