-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[docs] Migrate to emotion landing (part1) #26498
Conversation
@oliviertassinari Should there be the spotify logo in the Users section? as is currently in v4 |
It's true! I did not remember. I'll close the PR. |
@vicasas But feel free to migrate the other parts of the projects. This instance seems to be an exception |
I have updated #16947 with the last usage of makeStyles/withStyles I could identify as making sense to replace. |
@oliviertassinari That's great! I will try to focus on those during these days. Thanks. |
key={user.caption} | ||
src={`/static/images/users/${user.logo}`} | ||
alt={user.caption} | ||
className={clsx(classes.img, classes[user.class])} | ||
sx={{ my: 1.5, mx: 3, ...styles[user.class] }} |
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.
in this case can we add this library @emotion/css and
Sample code
import { cx, css } from '@emotion/css'
const cls1 = css`
font-size: 20px;
background: green;
`
const cls2 = css`
font-size: 20px;
background: blue;
`
<div className={cx(cls1, cls2)} />
@oliviertassinari
emotion provide number library which can useful for styling or in latest material ui provide will those option?
Migrate to emotion the sections Pro, QuickWord, Quotes and Users
Related #16947