@@ -32,8 +32,9 @@ export const ctaButtonStyles = {
32
32
33
33
// Maps to linkTextColor prop in SbCtaLink. Only used for the text link style.
34
34
export const ctaTextColors = {
35
- 'su-text-digital-red su-after-bg-digital-red su-text-hocus-sky-dark su-after-bg-hocus-sky-dark' : 'text-digital-red hocus:text-sky-dark' ,
36
- 'su-text-white su-text-hocus-white su-hocus-underline su-after-bg-white su-after-bg-hocus-white' : 'text-white hocus:text-white' ,
35
+ // The hocus color for this is actually sky-dark, so ignore the mismatch in the key
36
+ 'su-text-digital-red su-after-bg-digital-red su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-digital-red hocus:text-sky-dark hocus:underline' ,
37
+ 'su-text-white su-text-hocus-white su-hocus-underline su-after-bg-white su-after-bg-hocus-white' : 'text-white hocus:text-white hocus:underline' ,
37
38
// Gradient text links for Campaign pages
38
39
'ood-cta__link-gradient su-bg-sky-dark-to-bay-dark su-after-bg-sky-dark-to-bay-dark' : `${ gradientTextLinkBase } from-sky-dark to-bay-dark *:[&_svg]:text-bay-dark *:[&_svg]:hocus:text-bay-dark` ,
39
40
'ood-cta__link-gradient su-bg-cardinal-dark-to-spirited-dark su-after-bg-cardinal-dark-to-spirited-dark' : `${ gradientTextLinkBase } from-cardinal-red-dark to-spirited-dark *:[&_svg]:text-spirited-dark *:[&_svg]:hocus:text-spirited-dark` ,
@@ -47,22 +48,25 @@ export const ctaTextColors = {
47
48
* Campaign page only solid text colors - seems on live site the intent was to use plum-dark as the hocus color, but it was overridden by the base link hocus color
48
49
* Here we honor the original intent by using plum-dark as the hocus color
49
50
*/
50
- 'su-text-lagunita-dark su-after-bg-lagunita-dark su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-lagunita-dark hocus:text-plum-dark' ,
51
- 'su-text-palo-verde su-after-bg-palo-verde su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-palo-verde hocus:text-plum-dark' ,
52
- 'su-text-plum su-after-bg-plum su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-plum hocus:text-plum-dark' ,
53
- 'su-text-brick su-after-bg-brick su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-brick hocus:text-plum-dark' ,
54
- 'su-text-cardinal-red su-after-bg-cardinal-red su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-cardinal-red hocus:text-plum-dark' ,
55
- 'su-text-palo-alto su-after-bg-palo-alto su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-palo-alto hocus:text-plum-dark' ,
56
- 'su-text-bay-dark su-after-bg-bay-dark su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-bay-dark hocus:text-plum-dark' ,
57
- 'su-text-sky-dark su-after-bg-sky-dark su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-sky-dark hocus:text-plum-dark' ,
58
- 'su-text-lagunita su-after-bg-lagunita su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-lagunita hocus:text-plum-dark' ,
51
+ 'su-text-lagunita-dark su-after-bg-lagunita-dark su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-lagunita-dark hocus:text-plum-dark hocus:underline ' ,
52
+ 'su-text-palo-verde su-after-bg-palo-verde su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-palo-verde hocus:text-plum-dark hocus:underline ' ,
53
+ 'su-text-plum su-after-bg-plum su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-plum hocus:text-plum-dark hocus:underline ' ,
54
+ 'su-text-brick su-after-bg-brick su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-brick hocus:text-plum-dark hocus:underline ' ,
55
+ 'su-text-cardinal-red su-after-bg-cardinal-red su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-cardinal-red hocus:text-plum-dark hocus:underline ' ,
56
+ 'su-text-palo-alto su-after-bg-palo-alto su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-palo-alto hocus:text-plum-dark hocus:underline ' ,
57
+ 'su-text-bay-dark su-after-bg-bay-dark su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-bay-dark hocus:text-plum-dark hocus:underline ' ,
58
+ 'su-text-sky-dark su-after-bg-sky-dark su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-sky-dark hocus:text-plum-dark hocus:underline ' ,
59
+ 'su-text-lagunita su-after-bg-lagunita su-text-hocus-plum-dark su-after-bg-hocus-plum-dark' : 'text-lagunita hocus:text-plum-dark hocus:underline ' ,
59
60
} ;
60
61
61
62
// Additional CTA variants we use for this site, e.g., as subcomponents for other components. These include styles for sizes, colors, icon styles, and other properties.
62
63
export const ctaVariants = {
63
64
'local-footer' : 'text-digital-red hocus:text-black underline leading-snug font-normal text-16 md:text-18 *:[&_svg]:hocus:text-digital-red' ,
65
+ // Text links in the sub menu
64
66
'sub-menu' : 'text-14 sm:text-16 py-6 md:py-10 text-white leading-[4rem] md:leading-cozy hocus:text-white md:text-cool-grey md:hocus:text-digital-red font-normal no-underline hocus:underline' ,
65
- 'mega-menu' : 'relative flex w-full lg:w-fit text-20 lg:text-21 px-20 sm:px-30 md:px-50 py-16 lg:px-0 font-semibold leading-cozy no-underline hocus:underline lg:hocus:no-underline text-black hocus:text-digital-red before:absolute before:inline-block before:w-6 before:h-full before:left-0 before:bottom-0 before:bg-digital-red before:scale-y-0 before:transition-transform hocus:before:scale-y-100 lg:before:h-10 lg:before:w-full before:left-0 before:bottom-0 lg:before:scale-y-100 lg:before:scale-x-0 lg:hocus:before:scale-x-100 outline-none' ,
67
+ // For top level mega menu links
68
+ 'mega-menu' : 'relative flex w-full lg:w-fit text-20 lg:text-21 px-20 sm:px-30 md:px-50 py-16 lg:px-0 font-semibold leading-cozy no-underline hocus:underline lg:hocus:no-underline text-black hocus:text-digital-red before:absolute before:inline-block before:w-6 md:before:w-10 before:h-full before:left-0 before:bottom-0 before:hocus:bg-digital-red before:scale-y-0 before:transition-all hocus:before:scale-y-100 lg:before:h-10 lg:before:w-full before:left-0 before:bottom-0 lg:before:scale-y-100 lg:before:scale-x-0 lg:hocus:before:scale-x-100 outline-none' ,
69
+ // For mega men links inside dropdown panels/sections
66
70
'mega-menu-link-lvl2' : 'text-black hocus:text-digital-red no-underline hocus:underline leading-display font-normal text-19 *:[&_svg]:text-digital-red' ,
67
71
} ;
68
72
@@ -92,6 +96,7 @@ export const icon = 'inline-block will-change-transform transition-transform str
92
96
export const iconLeftMarginDefault = 'ml-04em' ;
93
97
export const iconLeftMargin : CtaIconLeftMarginType = {
94
98
'su-link--action' : 'ml-03em' ,
99
+ 'su-link--external' : 'ml-03em' ,
95
100
} ;
96
101
97
102
// Maps to linkIcon prop in SbCtaLink. Animation preselected based on the icon type
0 commit comments