Don Udugala

PHP Programmer

Full Stack Developer/Magento Developer

Web Solution Architect

Photographer

Love Python, Node, React

0

No products in the cart.

Don Udugala

PHP Programmer

Full Stack Developer/Magento Developer

Web Solution Architect

Photographer

Love Python, Node, React

Blog Post

Basic Magento 2 theme styling changes

September 23, 2023 E-Commerce, Magento
Basic Magento 2 theme styling changes

When it comes to Magento 2 theme development, it’s handy to keep some basic theme changes list, so you can come back.

This article is few of my favorite theme development changes

Change default Body colors

In your theme/web/css/source/_typography.less add changes to body tag using library function

,lib-typography(
@@_font-size,
@@_font-color,
@@_font-family,
@@_font-weight,
@@_line-height,
@@_font-style
)

you can change just font-size and color. so it become

body{

,lib-typography(

16px, #000000

)

}