prashant-webkul/custom-style

dev-master 2019-10-18 17:23 UTC

This package is auto-updated.

Last update: 2024-04-19 02:58:19 UTC


README

Hey guys, this repository is now converted to composer extension use command composer require prashant-webkul/custom-style!

Kudos if you have reached till here. This package is generic implementation of providing your own styles in Bagisto's shop and Admin's package.

To install this package, you need to follow steps below:

  1. In your Bagisto's root there is a composer.json and inside it there is a psr-4 object at its end place the line:
 "Webkul\\CustomStyle\\": "packages/Webkul/CustomStyle/src"
  1. In file config/app.php you will find an array called 'providers' at that array's end paste the line below:
Webkul\CustomStyle\Providers\CustomStyleServiceProvider::class
  1. Run command: composer dump-autoload.

Done, now load admin or shop pages you will see styles in this package passed using events will be working and specifically you will see red background for shop and green background for admin pages.