Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mgusmano committed Mar 14, 2019
1 parent 8dac5b4 commit 37c32f2
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 37c32f2

Please sign in to comment.