From 37c32f235a5941a355566014c06d0b54fa8827c6 Mon Sep 17 00:00:00 2001 From: mgusmano Date: Thu, 14 Mar 2019 08:27:51 -0400 Subject: [PATCH] readme --- packages/ext-angular-boilerplate/README.md | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/packages/ext-angular-boilerplate/README.md b/packages/ext-angular-boilerplate/README.md index a0253571..c8ba182e 100644 --- a/packages/ext-angular-boilerplate/README.md +++ b/packages/ext-angular-boilerplate/README.md @@ -1,2 +1,33 @@ ExtAngular + +## Steps to create a new theme + +In root of new app - Generate new theme +```npx ext-react generate theme --name my-theme +``` + +in webpack.config.js +```javascript +new ExtReactWebpackPlugin({ + theme: 'mt-theme' +}) +``` + +```npm start +``` + +Go to newly created theme folder +```cd ext-angular/packages/my-theme +``` + +Create a theme file and add a variable +```cd /sass/src +mkdir Ext +cd Ext +touch Component.scss +``` +in Component.scss +``` +$base-color: blue; +``` \ No newline at end of file