From 78133cbc05eb0837731452c24365d8ee936e36c7 Mon Sep 17 00:00:00 2001 From: clkim Date: Thu, 12 Feb 2026 10:30:55 +0900 Subject: [PATCH] =?UTF-8?q?fix.=20Circle=20=EC=BB=B4=ED=8F=AC=EB=84=8C?= =?UTF-8?q?=ED=8A=B8=20bgColor=20props=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layers/components/atoms/Button/Circle.vue | 17 ++++++++++++++++- layers/components/blocks/Button/Home.vue | 3 ++- layers/components/blocks/Button/Launcher.vue | 2 +- layers/components/blocks/Button/ScrollTop.vue | 6 +++--- layers/components/blocks/Button/SlideArrows.vue | 12 +++++++----- layers/components/blocks/Sns.vue | 2 +- layers/components/layouts/EventNavigation.vue | 3 ++- tailwind.config.ts | 6 +++++- 8 files changed, 37 insertions(+), 14 deletions(-) diff --git a/layers/components/atoms/Button/Circle.vue b/layers/components/atoms/Button/Circle.vue index 6b143a6..e4d7157 100644 --- a/layers/components/atoms/Button/Circle.vue +++ b/layers/components/atoms/Button/Circle.vue @@ -3,6 +3,7 @@ interface props { type?: 'button' | 'link' to?: string target?: '_self' | '_blank' + bgColor?: string srOnly?: string } @@ -10,6 +11,7 @@ const props = withDefaults(defineProps(), { type: 'button', to: '', target: '_self', + bgColor: '', srOnly: '', }) @@ -29,10 +31,23 @@ const componentProps = computed(() => { return {} } }) + +const buttonStyle = computed(() => { + const style: Record = {} + if (props.bgColor) { + style.backgroundColor = props.bgColor + } + return style +})