QuestionQ20

Adobe Experience Manager Sites

An Adobe Commerce developer is tailoring buttons in a custom theme that inherits the Magento/blank theme and must override the default values.

Where are the default button values located?

  • A lib/web/css/source/lib/_buttons.less
  • B lib/web/less/source/lib/_buttons.less
  • C lib/web/css/source/lib/_button.less
Explanation

The Adobe Commerce UI library stores its Less source files in lib/web/css/source/lib, with a component file generally named for its UI element. The button component’s defaults are defined in _buttons.less, which a custom theme can override through its corresponding theme-level Less file. Adobe Commerce UI library documentation

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!