mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
14 lines
500 B
TypeScript
14 lines
500 B
TypeScript
// Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
|
|
|
|
import type { UserAvatarClassMap } from '#shared/components/CommonUserAvatar/types.ts'
|
|
|
|
// Provide your own map with the following keys, the values given here are just examples.
|
|
let userAvatarClasses: UserAvatarClassMap = {
|
|
backgroundColors: [],
|
|
}
|
|
|
|
export const initializeUserAvatarClasses = (classes: UserAvatarClassMap) => {
|
|
userAvatarClasses = classes
|
|
}
|
|
|
|
export const getUserAvatarClasses = () => userAvatarClasses
|