Skip to content

Commit a237113

Browse files
wardbellfilipesilva
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 dd13e77 commit a237113

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/documentation/stories/css-preprocessors.md

+2
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)