{% macro component(config, localized) %}
    {% import "system/macro/form-component/button.html.twig" as button %}
    {% set config = {
        backgroundColor: 'bc-bg-white',
        backgroundColorHover: 'enabled:hover:bc-bg-gray-50',
        border: 'bc-border bc-border-gray-300',
        button: formButtonTitle,
        focusColor: 'focus:bc-ring-gray-950',
        fontWeight: 'bc-font-medium',
        textColor: 'bc-text-gray-700',
    } | merge(config)
    %}
    {{ button.component(config, localized) }}
{% endmacro %}
