docs: include source code styling section in docs style guide (#42227)

Include a source code styling section in the style guide for docs,
indicating to follow the Angular style guide where possible and
defining hexidecimal style guidance.

Closes #23691

PR Close #42227
This commit is contained in:
Joey Perrott 2021-05-21 12:33:01 -07:00 committed by Zach Arend
parent bf505ad707
commit 32b8832d61
1 changed files with 7 additions and 0 deletions

View File

@ -727,6 +727,13 @@ Remember to exclude these files from StackBlitz by listing them in the `stackbli
<code-example path="docs-style-guide/stackblitz.json" header="stackblitz.json"></code-example>
### Source code styling
Source code should follow [Angular's style guide](guide/styleguide) where possible.
#### Hexadecimals
Hexadecimal should use the shorthand where possible, and use only lowercase letters.
{@a live-examples}