Skip to content

Commit b346cc4

Browse files
authored
Merge pull request #281 from mgusmano/ext-angular-6.7.x
readme
2 parents 1426659 + 37c32f2 commit b346cc4

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,33 @@
11

22
ExtAngular
3+
4+
## Steps to create a new theme
5+
6+
In root of new app - Generate new theme
7+
```npx ext-react generate theme --name my-theme
8+
```
9+
10+
in webpack.config.js
11+
```javascript
12+
new ExtReactWebpackPlugin({
13+
theme: 'mt-theme'
14+
})
15+
```
16+
17+
```npm start
18+
```
19+
20+
Go to newly created theme folder
21+
```cd ext-angular/packages/my-theme
22+
```
23+
24+
Create a theme file and add a variable
25+
```cd /sass/src
26+
mkdir Ext
27+
cd Ext
28+
touch Component.scss
29+
```
30+
in Component.scss
31+
```
32+
$base-color: blue;
33+
```

0 commit comments

Comments
 (0)