Skip to content

Commit

Permalink
feat(ArrowSteps): better colors
Browse files Browse the repository at this point in the history
  • Loading branch information
ecarreras committed Jan 16, 2025
1 parent 3c2e5a7 commit cd6aff6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/widgets/custom/ArrowSteps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export const ArrowSteps = (props: ArrowStepsProps) => {
const stepStyle = (isActive: boolean): React.CSSProperties => ({
position: "relative",
padding: "10px 30px 10px 40px",
backgroundColor: isActive ? colorPrimaryBg : colorFillSecondary,
color: isActive ? colorPrimaryText : colorText,
backgroundColor: isActive ? colorPrimaryText : colorFillSecondary,
color: isActive ? colorPrimaryBg : colorText,
borderTop: `1px solid ${colorBgContainer}`,
borderBottom: `1px solid ${colorBgContainer}`,
width: "32%",
Expand All @@ -65,7 +65,9 @@ export const ArrowSteps = (props: ArrowStepsProps) => {
top: 0,
left: "100%",
zIndex: 20,
borderLeft: `16px solid ${isActive ? colorPrimaryBg : colorFillSecondary}`,
borderLeft: `16px solid ${
isActive ? colorPrimaryText : colorFillSecondary
}`,
borderTop: "16px solid transparent",
borderBottom: "16px solid transparent",
});
Expand Down

0 comments on commit cd6aff6

Please sign in to comment.