Commit 42792682 authored by David Richardson's avatar David Richardson Committed by Chris Rebert

Fix use of LESS var syntax in docs when referencing SCSS

Example:
> ... SCSS variables (e.g., `@enable-gradients: true`) ...
Referenced SCSS but used the LESS syntax. Changed to:
> ... SCSS variables (e.g., `$enable-gradients: true`) ...

Closes #17114
parent d16144cf
...@@ -16,10 +16,10 @@ Bootstrap includes simple and easily customized typography for headings, body te ...@@ -16,10 +16,10 @@ Bootstrap includes simple and easily customized typography for headings, body te
Bootstrap sets basic global display, typography, and link styles. Specifically, we: Bootstrap sets basic global display, typography, and link styles. Specifically, we:
- Set `background-color: #fff;` on the `<body>` - Set `background-color: #fff;` on the `<body>`
- Use the `@font-family-base`, `@font-size-base`, and `@line-height-base` attributes as our typographic base - Use the `$font-family-base`, `$font-size-base`, and `$line-height-base` attributes as our typographic base
- Set the global link color via `@link-color` and apply link underlines only on `:hover` - Set the global link color via `$link-color` and apply link underlines only on `:hover`
These styles can be found within `scaffolding.less`. These styles can be found within `_reboot.scss`.
## Headings ## Headings
......
...@@ -26,7 +26,7 @@ Here are the big ticket items you'll want to be aware of when moving from v3 to ...@@ -26,7 +26,7 @@ Here are the big ticket items you'll want to be aware of when moving from v3 to
- Media queries are now in `em`s instead of `px`s. - Media queries are now in `em`s instead of `px`s.
- Global font-size increased from `14px` to `16px`. - Global font-size increased from `14px` to `16px`.
- Added a new grid tier for ~`480px` and below. - Added a new grid tier for ~`480px` and below.
- Replaced the separate optional theme with configurable options via SCSS variables (e.g., `@enable-gradients: true`). - Replaced the separate optional theme with configurable options via SCSS variables (e.g., `$enable-gradients: true`).
### Components ### Components
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment