In the instructions for HelloWorld WebPart "Connect to SharePoint" under the heading "Retrieve List Data" is the following code :-
<div class="${styles.column}">
<span class="${styles.title}">
Welcome to SharePoint!
</span>
<p class="${styles.subtitle}">
Customize SharePoint experiences using Web Parts.
</p>
<p class="${styles.description}">
${escape(this.properties.description)}
</p>
<p class="${styles.description}">
${escape(this.properties.test2)}
</p>
Unfortunately, styles.title, styles.subtitle, styles.description are not defined in HelloWorld.module.sccs So will not compile.
How do I fix this. If I try and use the RC0 version, then it fails to compile :-
.title {
@include ms-font-xl;
@include ms-fontColor-white;
}
fails to compile -
Error: no mixin named ms-font-l
Backtrace:
src/webparts/helloWorld/HelloWorld.module.scss:20
on line 20 of src/webparts/helloWorld/HelloWorld.module.scss
>> @include ms-font-l;
How do I fix this ?