feat(AvatarGroup): preset support (#69)

This commit is contained in:
Sylvain Marroufin
2022-07-11 16:21:56 +02:00
committed by GitHub
parent 0e1b9087af
commit 00b9a0839b
3 changed files with 26 additions and 2 deletions

View File

@@ -373,6 +373,11 @@ export default (variantColors: string[]) => {
}
}
const avatarGroup = {
ring: 'ring-2 u-ring-white',
margin: '-ml-1.5 first:ml-0'
}
const slideover = {
overlay: 'bg-gray-500/75 dark:bg-gray-600/75',
base: 'relative flex-1 flex flex-col w-full focus:outline-none',
@@ -404,6 +409,7 @@ export default (variantColors: string[]) => {
tabs,
pills,
avatar,
avatarGroup,
slideover
}
}