Skip to content

Commit

Permalink
feat(AvatarGroup): redesign config
Browse files Browse the repository at this point in the history
  • Loading branch information
driss-chelouati committed Dec 5, 2023
1 parent c64df8b commit d255d13
Showing 1 changed file with 110 additions and 0 deletions.
110 changes: 110 additions & 0 deletions src/plugins/components/avatar-group/avatar-group.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,115 @@
export const key = 'avatarGroup' as const

export const config = {
avatar: {
rounded: 'full',
outer: {
background: {
light: 'white',
dark: 'muted-800',
},
},
inner: {
background: {
light: 'primary-500/20',
dark: 'primary-500/20',
},
font: {
color: {
light: 'primary-500',
dark: 'primary-500',
},
},
},
transition: {
property: 'all',
duration: '100',
},
},
count: {
outer: {
rounded: 'full',
background: {
light: 'white',
dark: 'muted-800',
},
},
inner: {
rounded: 'full',
size: 'full',
background: {
light: 'muted-200',
dark: 'muted-700',
},
border: {
light: 'white',
dark: 'muted-800',
},
},
transition: {
property: 'all',
duration: '100',
},
},
size: {
xxs: {
outer: {
size: '6',
},
count: {
size: '6',
font: {
size: 'xs',
},
},
},
xs: {
outer: {
size: '8',
},
count: {
size: '8',
font: {
size: 'sm',
},
},
},
sm: {
outer: {
size: '10',
},
count: {
size: '10',
font: {
size: 'sm',
},
},
},
md: {
outer: {
size: '12',
},
count: {
size: '12',
font: {
size: 'lg',
},
},
},
lg: {
outer: {
size: '16',
},
count: {
size: '16',
font: {
size: 'xl',
},
},
},
},
}

export const defaultConfig = {
avatarOuter: {
bg: 'white',
Expand Down

0 comments on commit d255d13

Please sign in to comment.