-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add props and css variables to Slideshow
#1758
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
4b50c4f
to
e715906
Compare
e715906
to
2fe6010
Compare
2fe6010
to
cf077d2
Compare
<html lang={locale}> | ||
<body className={`${inter.variable} ${dm_serif_text.variable} ${roboto_mono.variable}`}> | ||
<html | ||
className={clsx(inter.variable, dm_serif_text.variable, roboto_mono.variable)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: do we really need clsx
here? 🙄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idk we just never string interpolate classes like that anywhere so I changed it to be consistent
cf077d2
to
a0305c8
Compare
⚡️🏠 Lighthouse reportLighthouse ran against https://catalyst-latest-nh4e13u1h-bigcommerce-platform.vercel.app 🖥️ DesktopWe ran Lighthouse against the changes on a desktop and produced this report. Here's the summary:
📱 MobileWe ran Lighthouse against the changes on a mobile and produced this report. Here's the summary:
|
What/Why?
Added props to
Slideshow
:playOnInit
showDescription
showCta
variant
,size
, andshape
tocta
Added css variables to
Slideshow
for future theming.Testing
Verified on homepage.