From 002d959fe58698e3234a36ae201ce8171f85a0c9 Mon Sep 17 00:00:00 2001 From: Amadou Sall Date: Mon, 2 Aug 2021 00:57:15 +0200 Subject: [PATCH] docs: remove the mention of Stylus (#43013) Stylus is not supported anymore by Angular, so it should be removed from the Angular docs PR Close #43013 --- aio/content/guide/component-styles.md | 2 +- aio/content/guide/schematics-authoring.md | 6 ++---- aio/content/guide/workspace-config.md | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/aio/content/guide/component-styles.md b/aio/content/guide/component-styles.md index 8c2c6aa674..9a1a200a7a 100644 --- a/aio/content/guide/component-styles.md +++ b/aio/content/guide/component-styles.md @@ -249,7 +249,7 @@ See the [Styles configuration guide](guide/workspace-config#styles-and-scripts-c ### Non-CSS style files If you're building with the CLI, -you can write style files in [sass](https://sass-lang.com/), [less](http://lesscss.org/), or [stylus](https://stylus-lang.com/) and specify those files in the `@Component.styleUrls` metadata with the appropriate extensions (`.scss`, `.less`, `.styl`) as in the following example: +you can write style files in [sass](https://sass-lang.com/), or [less](http://lesscss.org/), and specify those files in the `@Component.styleUrls` metadata with the appropriate extensions (`.scss`, `.less`) as in the following example: @Component({ diff --git a/aio/content/guide/schematics-authoring.md b/aio/content/guide/schematics-authoring.md index 39a4fa1f98..807a3b219d 100644 --- a/aio/content/guide/schematics-authoring.md +++ b/aio/content/guide/schematics-authoring.md @@ -197,8 +197,7 @@ By using the long form, the schematic can provide more explicit formatting of th "css", "scss", "sass", - "less", - "styl" + "less" ], "x-prompt": { "message": "Which stylesheet format would you like to use?", @@ -207,8 +206,7 @@ By using the long form, the schematic can provide more explicit formatting of th { "value": "css", "label": "CSS" }, { "value": "scss", "label": "SCSS [ https://sass-lang.com/documentation/syntax#scss ]" }, { "value": "sass", "label": "Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]" }, - { "value": "less", "label": "Less [ http://lesscss.org/ ]" }, - { "value": "styl", "label": "Stylus [ https://stylus-lang.com/ ]" } + { "value": "less", "label": "Less [ http://lesscss.org/ ]" } ] }, }, diff --git a/aio/content/guide/workspace-config.md b/aio/content/guide/workspace-config.md index 0dc48f83bc..2b3daa4865 100644 --- a/aio/content/guide/workspace-config.md +++ b/aio/content/guide/workspace-config.md @@ -191,7 +191,7 @@ Some additional options can only be set through the configuration file, either b | OPTIONS PROPERTIES | DESCRIPTION | | :------------------------- | :---------------------------- | | `assets` | An object containing paths to static assets to add to the global context of the project. The default paths point to the project's icon file and its `assets` folder. See more in [Assets configuration](#asset-config) below. | -| `styles` | An array of style files to add to the global context of the project. Angular CLI supports CSS imports and all major CSS preprocessors: [sass/scss](https://sass-lang.com/), [less](http://lesscss.org/), and [stylus](https://stylus-lang.com/). See more in [Styles and scripts configuration](#style-script-config) below. | +| `styles` | An array of style files to add to the global context of the project. Angular CLI supports CSS imports and all major CSS preprocessors: [sass/scss](https://sass-lang.com/) and [less](http://lesscss.org/). See more in [Styles and scripts configuration](#style-script-config) below. | | `stylePreprocessorOptions` | An object containing option-value pairs to pass to style preprocessors. See more in [Styles and scripts configuration](#style-script-config) below. | | `scripts` | An object containing JavaScript script files to add to the global context of the project. The scripts are loaded exactly as if you had added them in a `