PART 1.1.3 – Blank and Luma

Magento’s default installation contains blank and Luma themes

•  The blank theme is a basis for custom theme creation

•  Luma is a demonstration theme which inherits from the blank theme

A parent and a child theme can belong to different vendors. You can override static assets, templates, or layouts, or extend layouts.

 

The blank and Luma themes provide hooks to all of Magento’s core functionality.

The blank theme is the parent theme to Luma

• ONLY files being changed should be incorporated into custom themes

• No need to replicate and maintain all of the files

When creating a custom theme, it’s necessary to explicitly ensure that a parent theme is named

 

A parent and a child theme can belong to different vendors. For example, your custom theme can inherit from the Magento blank theme.

Should I use blank or Luma?

Some UX base the design on Luma, in that case Luma might be a good starting point. In previous versions of the Magento devdcos They stated that Luma was not supposed to be used as a parent theme.

Blank is more blank than luma but not really blank, provides a fairly good starting point.

Build your own theme without fallback is the third option until a proper Vaimo boilerplate theme exist.

 

 

blank

Luma

clean/custom

pros

fairly blank starting point

all views have styling that works (well mostly…)

tends to be used by UX more

is more polished than blank

full freedom

cons

you’ll fight the less structure

you’ll fight the existing mixins and variables

another level of fallback

you’ll fight the less structure

you’ll fight the existing mixins and variables

you need to add styling for everything on all pages

can be hard to estimate the amount of work needed

most modules are tested using blank or Luma

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s