Closed MarPostovik closed 9 months ago
I have created the button UI component. Buttons can be used on catalog and form pages.
Each button must use the base class button and the _view key modifier. Available options for _view key modifier:
button
_view
button_view_primary
button_view_secondary
button_view_tertiary
By default, the button has a width of 100%. It can be changed by using the _place key modifiers:
_place
button_place_form
button_place_photo-editor
or by restricting the width with the parent element (for instance, leveraging CSS Flexbox or CSS Grid capabilities, adjusting parent paddings, etc.).
Before submitting this pull request, please ensure the following:
Description
I have created the button UI component. Buttons can be used on catalog and form pages.
Each button must use the base class
button
and the_view
key modifier. Available options for_view
key modifier:button_view_primary
for the pink buttonbutton_view_secondary
for the grey buttonbutton_view_tertiary
for the green buttonBy default, the button has a width of 100%. It can be changed by using the
_place
key modifiers:button_place_form
button_place_photo-editor
or by restricting the width with the parent element (for instance, leveraging CSS Flexbox or CSS Grid capabilities, adjusting parent paddings, etc.).
Checklist
Before submitting this pull request, please ensure the following: