<button class="my-2 btn btn-primary">Button</button>
{% if type == "link" %}
<a href="#" class="my-2 btn btn-{{ style }}">{{ title }}</a>
{% elseif type == "input" %}
<input type="submit" class="my-2 btn btn-{{ style }}" id="{{ id }}" name="{{ id }}" value="{{ title }}"{% if not enabled %} disabled{% endif %}>
{% else %}
<button class="my-2 btn btn-{{ style }}">{{ title }}</button>
{% endif %}
{
"id": "button",
"type": "button",
"style": "primary",
"title": "Button",
"enabled": true
}
.btn {
&-apply {
@include button-variant(
$secondary,
$secondary,
$primary,
$white,
$secondary,
$secondary,
$white,
$secondary,
$secondary
)
}
}
No notes defined.