mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 07:50:36 +01:00
feat(AvatarGroup): preset support (#69)
This commit is contained in:
committed by
GitHub
parent
0e1b9087af
commit
00b9a0839b
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user