docs: use correct naming Sass (#9375)

This commit is contained in:
Roy
2018-01-18 19:39:30 +01:00
committed by Joey Perrott
parent ae4e465bb6
commit 75eccb53f7
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ descendant native elements.
```
### Customization
Typography customization is an extension of Angular Material's SASS-based theming. Similar to
Typography customization is an extension of Angular Material's Sass-based theming. Similar to
creating a custom theme, you can create a custom **typography configuration**.
```scss
@@ -73,7 +73,7 @@ has to be in quotes.
Once the custom typography definition is created, it can be consumed to generate styles via
different SASS mixins.
different Sass mixins.
```scss
// Override typography CSS classes (e.g., mat-h1, mat-display-1, mat-typography, etc.).
@@ -55,7 +55,7 @@
@else {
// Otherwise use the shorthand `font` to represent a typography level, because it's the the
// least amount of bytes. Note that we need to use interpolation for `font-size/line-height`
// in order to prevent SASS from dividing the two values.
// in order to prevent Sass from dividing the two values.
font: $font-weight #{$font-size}/#{$line-height} $font-family;
}
}
+1 -1
View File
@@ -53,7 +53,7 @@
);
// Loop through the levels and set the `font-family` of the ones that don't have one to the base.
// Note that SASS can't modify maps in place, which means that we need to merge and re-assign.
// Note that Sass can't modify maps in place, which means that we need to merge and re-assign.
@each $key, $level in $config {
@if map-get($level, font-family) == null {
$new-level: map-merge($level, (font-family: $font-family));
+1 -1
View File
@@ -77,7 +77,7 @@ export function createPackageBuildTasks(buildPackage: BuildPackage) {
task(`${taskName}:build:bundles`, () => buildPackage.createBundles());
/**
* Asset tasks. Building SASS files and inlining CSS, HTML files into the ESM output.
* Asset tasks. Building Sass files and inlining CSS, HTML files into the ESM output.
*/
task(`${taskName}:assets`, [
`${taskName}:assets:scss`,
+1 -1
View File
@@ -7,7 +7,7 @@ const messages = stylelint.utils.ruleMessages(ruleName, {
/**
* Stylelint plugin that prevents nesting SASS mixins.
* Stylelint plugin that prevents nesting Sass mixins.
*/
const plugin = stylelint.createPlugin(ruleName, isEnabled => {
return (root, result) => {
+1 -1
View File
@@ -62,7 +62,7 @@ const plugin = stylelint.createPlugin(ruleName, browsers => {
// Walk the rules and check if the selector needs prefixes.
root.walkRules(rule => {
// Silence warnings for SASS selectors. Stylelint does this in their own rules as well:
// Silence warnings for Sass selectors. Stylelint does this in their own rules as well:
// https://github.com/stylelint/stylelint/blob/master/lib/utils/isStandardSyntaxSelector.js
parseSelector(rule.selector, { warn: () => {} }, rule, selectorTree => {
selectorTree.walkPseudos(pseudoNode => {