diff --git a/app/javascript/dashboard/components-next/button/Button.vue b/app/javascript/dashboard/components-next/button/Button.vue index b9e5d7a1d..755421d7c 100644 --- a/app/javascript/dashboard/components-next/button/Button.vue +++ b/app/javascript/dashboard/components-next/button/Button.vue @@ -154,13 +154,6 @@ const STYLE_CONFIG = { 'text-n-teal-9 hover:enabled:bg-n-alpha-2 focus-visible:bg-n-alpha-2 outline-transparent', }, }, - iconColor: { - blue: 'text-n-blue-11', - ruby: 'text-n-ruby-11', - amber: 'text-n-amber-11', - slate: 'text-n-slate-11', - teal: 'text-n-teal-11', - }, sizes: { regular: { xs: 'h-6 px-2 rounded-lg', @@ -241,6 +234,12 @@ const animationClasses = computed(() => { ? '' : STYLE_CONFIG.clickAnimation[computedSize.value]; }); + +const iconClasses = computed(() => { + return computedColor.value === 'slate' && !isIconOnly.value + ? 'text-n-slate-11' + : ''; +});