Skip to content

Commit f244083

Browse files
wardbellclydin
authored andcommitted
docs: css-preprocessors wiki - inline styles must be in CSS.
Cannot write them in less, sass, or stylus See issue #8472
1 parent a16d3c7 commit f244083

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/documentation/stories/css-preprocessors.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ Or set the default style on an existing project:
3030
```bash
3131
ng set defaults.styleExt scss
3232
```
33+
34+
Style strings added to the `@Component.styles` array _must be written in CSS_ because the CLI cannot apply a pre-processor to inline styles.

0 commit comments

Comments
 (0)