diff --git a/layers/components/atoms/Button/index.vue b/layers/components/atoms/Button/index.vue index 2fcc8aa..465b635 100644 --- a/layers/components/atoms/Button/index.vue +++ b/layers/components/atoms/Button/index.vue @@ -8,14 +8,13 @@ interface props { href?: string rel?: string backgroundColor?: string - backgroundImage?: string textColor?: string disabled?: boolean } const props = withDefaults(defineProps(), { type: 'action', - buttonSize: 'size-extra-small md:size-medium', + buttonSize: 'size-extra-small md:size-large', backgroundColor: 'var(--primary)', textColor: 'var(--alternative-02)', disabled: false, @@ -53,29 +52,17 @@ const componentProps = computed(() => { return baseProps }) -const buttonStyles = computed(() => { - const styles: Record = { - backgroundColor: props.backgroundColor, - color: props.textColor, - } - - if (props.backgroundImage) { - styles.backgroundImage = `url(${props.backgroundImage})` - styles.backgroundSize = 'contain' - styles.backgroundPosition = 'center' - styles.backgroundRepeat = 'no-repeat' - } - - return styles -})