From 96dbfda75164af5be1cdf8138c4de421f74e626a Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:11:11 +0000 Subject: [PATCH] feat(nc-gui): workspace icon selector setup --- packages/nc-gui/components/general/WorkspaceIcon.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/components/general/WorkspaceIcon.vue b/packages/nc-gui/components/general/WorkspaceIcon.vue index 963078eb3f..59ca01998c 100644 --- a/packages/nc-gui/components/general/WorkspaceIcon.vue +++ b/packages/nc-gui/components/general/WorkspaceIcon.vue @@ -5,7 +5,7 @@ import { isColorDark, stringToColor } from '~/utils/colorsUtils' const props = defineProps<{ workspace: WorkspaceType | undefined hideLabel?: boolean - size?: 'small' | 'medium' | 'large' + size?: 'small' | 'medium' | 'large' | 'xlarge' isRounded?: boolean }>() @@ -25,6 +25,7 @@ const size = computed(() => props.size || 'medium') 'min-w-4 w-4 h-4 rounded': size === 'small', 'min-w-6 w-6 h-6 rounded-md': size === 'medium', 'min-w-10 w-10 h-10 rounded-lg !text-base': size === 'large', + 'min-w-16 w-16 h-16 rounded-lg !text-2xl': size === 'xlarge', '!rounded-[50%]': props.isRounded, }" :style="{ backgroundColor: workspaceColor }"