theming.md: bring `:root` up to par with Scss. (#29323)

Also, add a warning in _root.scss so that we don't miss it again.
This commit is contained in:
XhmikosR 2019-08-29 11:10:06 +03:00 committed by GitHub
parent 1d69e6ccfd
commit 84cba07246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
// Do not forget to update getting-started/theming.md!
:root {
// Custom variable values only support SassScript inside `#{}`.
@each $color, $value in $colors {

View File

@ -391,7 +391,7 @@ Here are the variables we include (note that the `:root` is required). They're l
--danger: #dc3545;
--light: #f8f9fa;
--dark: #343a40;
--font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
{{< /highlight >}}