Skip to content

Commit 198ca9a

Browse files
committed
fix(@schematics/angular): improve Sass format clarity for application style option
The labels of the Sass preprocessor stylesheet option values have been updated for the `application` schematic's `style` option. The labels now provide greater clarity regarding the preprocessor tool used for both the SCSS (more common) and indented Sass syntaxes. The new list selection prompt is now as follows: ``` ? Which stylesheet format would you like to use? (Use arrow keys) ❯ CSS [ https://developer.mozilla.org/docs/Web/CSS ] Sass (SCSS) [ https://sass-lang.com/documentation/syntax#scss ] Sass (Indented) [ https://sass-lang.com/documentation/syntax#the-indented-syntax ] Less [ http://lesscss.org ] ``` (cherry picked from commit feef54a)
1 parent 2809971 commit 198ca9a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/schematics/angular/application/schema.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,21 @@
5959
"message": "Which stylesheet format would you like to use?",
6060
"type": "list",
6161
"items": [
62-
{ "value": "css", "label": "CSS" },
62+
{
63+
"value": "css",
64+
"label": "CSS [ https://developer.mozilla.org/docs/Web/CSS ]"
65+
},
6366
{
6467
"value": "scss",
65-
"label": "SCSS [ https://sass-lang.com/documentation/syntax#scss ]"
68+
"label": "Sass (SCSS) [ https://sass-lang.com/documentation/syntax#scss ]"
6669
},
6770
{
6871
"value": "sass",
69-
"label": "Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]"
72+
"label": "Sass (Indented) [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]"
7073
},
7174
{
7275
"value": "less",
73-
"label": "Less [ http://lesscss.org ]"
76+
"label": "Less [ http://lesscss.org ]"
7477
}
7578
]
7679
},

0 commit comments

Comments
 (0)