2020-07-03 22:50:37 +01:00
|
|
|
import styled from 'styled-components/macro';
|
|
|
|
import tw from 'twin.macro';
|
|
|
|
|
2020-07-05 01:15:49 +01:00
|
|
|
export default styled.div<{ $hoverable?: boolean }>`
|
2020-10-04 00:25:39 +01: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`};
|
2022-06-26 20:13:52 +01:00
|
|
|
|
|
|
|
${(props) => props.$hoverable !== false && tw`hover:border-neutral-500`};
|
2020-07-03 22:50:37 +01:00
|
|
|
|
2020-10-04 00:25:39 +01:00
|
|
|
& .icon {
|
2022-07-03 19:44:00 +01:00
|
|
|
${tw`rounded-full w-16 flex items-center justify-center bg-neutral-500 p-3`};
|
2020-07-03 22:50:37 +01:00
|
|
|
}
|
|
|
|
`;
|