refactor: css variables (#19146)
This commit is contained in:
@@ -39,16 +39,16 @@
|
||||
};
|
||||
|
||||
const colorClasses: Record<UserAvatarColor, string> = {
|
||||
primary: 'bg-immich-primary dark:bg-immich-dark-primary text-immich-dark-fg dark:text-immich-fg',
|
||||
pink: 'bg-pink-400 text-immich-bg',
|
||||
red: 'bg-red-500 text-immich-bg',
|
||||
yellow: 'bg-yellow-500 text-immich-bg',
|
||||
blue: 'bg-blue-500 text-immich-bg',
|
||||
green: 'bg-green-600 text-immich-bg',
|
||||
purple: 'bg-purple-600 text-immich-bg',
|
||||
orange: 'bg-orange-600 text-immich-bg',
|
||||
gray: 'bg-gray-600 text-immich-bg',
|
||||
amber: 'bg-amber-600 text-immich-bg',
|
||||
primary: 'bg-primary text-light dark:text-light',
|
||||
pink: 'bg-pink-400 text-light dark:text-dark',
|
||||
red: 'bg-red-500 text-light dark:text-dark',
|
||||
yellow: 'bg-yellow-500 text-light dark:text-dark',
|
||||
blue: 'bg-blue-500 text-light dark:text-dark',
|
||||
green: 'bg-green-600 text-light dark:text-dark',
|
||||
purple: 'bg-purple-600 text-light dark:text-dark',
|
||||
orange: 'bg-orange-600 text-light dark:text-dark',
|
||||
gray: 'bg-gray-600 text-light dark:text-dark',
|
||||
amber: 'bg-amber-600 text-light dark:text-dark',
|
||||
};
|
||||
|
||||
const sizeClasses: Record<Size, string> = {
|
||||
|
||||
Reference in New Issue
Block a user