-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #281 from mgusmano/ext-angular-6.7.x
readme
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
``` |