feat: update links default color to match design documents
This commit is contained in:
@@ -8,17 +8,12 @@ export const linkVariants = cva(styles.link, {
|
||||
true: styles.active,
|
||||
},
|
||||
color: {
|
||||
baseButtonTextOnFillNormal: styles.baseButtonTextOnFillNormal,
|
||||
baseTextMediumContrast: styles.baseTextMediumContrast,
|
||||
black: styles.black,
|
||||
burgundy: styles.burgundy,
|
||||
none: "",
|
||||
pale: styles.pale,
|
||||
peach50: styles.peach50,
|
||||
peach80: styles.peach80,
|
||||
white: styles.white,
|
||||
red: styles.red,
|
||||
uiTextPlaceholder: styles.uiTextPlaceholder,
|
||||
"Text/Interactive/Default": styles["Text-Interactive-Default"],
|
||||
"Text/Interactive/Secondary": styles["Text-Interactive-Secondary"],
|
||||
},
|
||||
size: {
|
||||
small: styles.small,
|
||||
@@ -26,7 +21,6 @@ export const linkVariants = cva(styles.link, {
|
||||
tiny: styles.tiny,
|
||||
},
|
||||
textDecoration: {
|
||||
none: styles.noDecoration,
|
||||
underline: styles.underline,
|
||||
},
|
||||
weight: {
|
||||
@@ -34,32 +28,25 @@ export const linkVariants = cva(styles.link, {
|
||||
},
|
||||
variant: {
|
||||
breadcrumb: styles.breadcrumb,
|
||||
default: styles.default,
|
||||
icon: styles.icon,
|
||||
underscored: styles.underscored,
|
||||
myPageMobileDropdown: styles.myPageMobileDropdown,
|
||||
navigation: styles.navigation,
|
||||
menu: styles.menu,
|
||||
shortcut: styles.shortcut,
|
||||
sidebar: styles.sidebar,
|
||||
tab: styles.tab,
|
||||
languageSwitcher: styles.languageSwitcher,
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
color: "black",
|
||||
variant: "default",
|
||||
textDecoration: "none",
|
||||
color: "Text/Interactive/Default",
|
||||
size: "regular",
|
||||
},
|
||||
compoundVariants: [
|
||||
{
|
||||
class: `${styles.activeSidebar} ${styles.activeRegular}`,
|
||||
active: true,
|
||||
size: "regular",
|
||||
variant: "sidebar",
|
||||
},
|
||||
{
|
||||
class: `${styles.activeSidebar} ${styles.activeSmall}`,
|
||||
active: true,
|
||||
size: "small",
|
||||
variant: "sidebar",
|
||||
|
||||
Reference in New Issue
Block a user