import './component';
import './config';


Shopware.Service('cmsService').registerCmsElement({
    name: 'bc-discount-banner',
    label: 'sw-cms.config.bc-discount-banner.label',
    component: 'sw-cms-el-bc-discount-banner',
    configComponent: 'sw-cms-el-config-bc-discount-banner',
    defaultConfig: {
        title: {
            source: 'static',
            value: null,
            required: true
        },
        media: {
            source: 'static',
            value: null,
            required:true
        },
        discountText: {
            source: 'static',
            value: null
        },
        "buttonText": {
            required: true,
            source: 'static',
            value: null
        },
        link: {
            required: true,
            source: 'static',
            value: true
        },
        titleColor: {
            required: true,
            source: 'static',
            value: '#000'
        },
        topTextColor: {
            required: true,
            source: 'static',
            value: '#000'
        },
        btnTxtColor: {
            required: true,
            source: 'static',
            value: '#fff'
        },
        btnBgColor: {
            required: true,
            source: 'static',
            value: '#000'
        }
    }
});
