Skip to content

Commit

Permalink
Merge pull request #281 from mgusmano/ext-angular-6.7.x
Browse files Browse the repository at this point in the history
readme
  • Loading branch information
mgusmano authored Mar 14, 2019
2 parents 1426659 + 37c32f2 commit b346cc4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions packages/ext-angular-boilerplate/README.md
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;
```

0 comments on commit b346cc4

Please sign in to comment.