From 16dbb4742264edac82fa6bb8e461259d097f4437 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 14 Jan 2022 19:42:36 +0100
Subject: refactor(buttons): add a tertiary kind (previously links styles)

---
 src/components/Buttons/ButtonLink/ButtonLink.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/components/Buttons/ButtonLink/ButtonLink.tsx')

diff --git a/src/components/Buttons/ButtonLink/ButtonLink.tsx b/src/components/Buttons/ButtonLink/ButtonLink.tsx
index 4c94b34..179c686 100644
--- a/src/components/Buttons/ButtonLink/ButtonLink.tsx
+++ b/src/components/Buttons/ButtonLink/ButtonLink.tsx
@@ -14,8 +14,7 @@ const ButtonLink = ({
   position?: ButtonPosition;
   isExternal?: boolean;
 }) => {
-  const positionModifier = `link--${position}`;
-  const classes = `${styles.btn} ${styles.link} ${styles[positionModifier]}`;
+  const classes = `${styles.btn} ${styles[position]} ${styles.tertiary}`;
 
   return isExternal ? (
     <a className={classes} href={target}>
-- 
cgit v1.2.3

