PWA Theme Setup

A new theme has been added on top of the Venia theme to change colors and fonts and to add custom styling to different sections.

To configure the theme

  1. Open packages/venia-concept/tailwind.config.js, and add the below code:

    const burgerTheme = require('@lsretail/ls-theme/src/burger-theme');

Add burgerTheme const in presets:

presets: [venia,burgerTheme]

  1. Open the .env file that is located in packages/venia-concept, and add the below environment variable:

    BURGER_THEME=true

  2. Then build the code using sudo yarn build.