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 +})