Skip to content

Commit

Permalink
chore: Added auto and max tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ape-fede committed Jan 30, 2023
1 parent e5b6d8c commit 8bfc9c3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Tag/ListTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ListTag: React.FC<ListTagProps> = ({ variant }) => {
return (
<Flex variant={variant} sx={styles.listTagCont({ variant })}>
<Flex sx={styles.tagText}>
{variant} {variant === "new" || variant === "hot" ? null : "LP"}
{variant} {(variant === "ape" || variant === "uni" || variant === "ark") && "LP"}
</Flex>
</Flex>
);
Expand Down
2 changes: 2 additions & 0 deletions src/components/Tag/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export const listTagVariants = {
ARK: "ark",
NEW: "new",
HOT: "hot",
AUTO: "auto",
MAX: "max",
} as const;

export type ListTagVariants = typeof listTagVariants[keyof typeof listTagVariants];
Expand Down
2 changes: 2 additions & 0 deletions src/theme/Apeswap/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ const Colors = {
ark: "rgba(208, 126, 90, 0.8)",
hot: "#DF4141",
new: "#38A611",
auto: "#DF4141",
max: "#38A611",
},
modes: {
dark: {
Expand Down
2 changes: 2 additions & 0 deletions src/theme/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ export const baseColors = {
ark: "rgba(208, 126, 90, 0.8)",
hot: "#DF4141",
new: "#38A611",
auto: "#DF4141",
max: "#38A611",
},
};

Expand Down

0 comments on commit 8bfc9c3

Please sign in to comment.