Skip to content

Commit

Permalink
Aligned button style for TidCarouselV2Animated and Static.
Browse files Browse the repository at this point in the history
  • Loading branch information
patcon committed Oct 16, 2024
1 parent 16e8826 commit d62c266
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ export const TidCarouselButton = ({ label, isShown, isSelected, handleClick, con
button: {
...style,
padding: 0,
border: 0,
cursor: "pointer",
overflow: "hidden",
borderRadius: 4,
fontWeight: isSelected ? 700 : 300,
backgroundColor: isSelected ? "#03a9f4" : "rgb(235,235,235)",
color: isSelected ? "white" : "rgb(0,0,0)",
fontSize: 14,
letterSpacing: 0.75,
variant: isSelected ? "buttons.primary" : "buttons.secondary",
textShadow: isSelected ? "0 0 .65px white" : null,
},
span: {
// 1s is rought estimate, but react-spring uses forces, not duration.
Expand Down

0 comments on commit d62c266

Please sign in to comment.