2021-07-22 17:15:27 +00:00
|
|
|
import tw, { styled } from 'twin.macro';
|
2020-07-03 21:50:37 +00:00
|
|
|
|
2020-07-05 00:15:49 +00:00
|
|
|
export default styled.div<{ $hoverable?: boolean }>`
|
2020-10-03 23:25:39 +00:00
|
|
|
${tw`flex rounded no-underline text-neutral-200 items-center bg-neutral-700 p-4 border border-transparent transition-colors duration-150 overflow-hidden`};
|
2021-07-22 17:15:27 +00:00
|
|
|
|
2020-07-05 00:15:49 +00:00
|
|
|
${props => props.$hoverable !== false && tw`hover:border-neutral-500`};
|
2020-07-03 21:50:37 +00:00
|
|
|
|
2020-10-03 23:25:39 +00:00
|
|
|
& .icon {
|
2020-07-03 21:50:37 +00:00
|
|
|
${tw`rounded-full bg-neutral-500 p-3`};
|
|
|
|
}
|
|
|
|
`;
|