-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix/WELLMS-292 #299
fix/WELLMS-292 #299
Conversation
& > div { | ||
transition: 0.3s; | ||
} | ||
&:hover { | ||
& > div { | ||
transform: scale(1.02); | ||
} | ||
} |
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.
jak się da to warto tego diva zrobić z klasą albo jako osobny SC
& > span { | ||
font-weight: ${({ $isActive }) => ($isActive ? "bold" : "normal")}; | ||
${basicColorStyle} | ||
& > svg { | ||
fill: ${({ theme, $isActive }) => | ||
$isActive | ||
? theme.white | ||
: getStylesBasedOnTheme( | ||
theme.mode, | ||
theme.dm__outlineButtonColor, | ||
theme.outlineButtonColor, | ||
theme.primaryColor | ||
)}; | ||
} | ||
} | ||
`; |
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.
tutaj też, jak się da klasę to po klasie albo osobny SC. W komponentach chyba klas używali częściej niż robienia osobnego SC. Chyba że to span z jakiejś libki i nie ma klasy to nie było tematu
Fix in bookmarks and notes component