2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

Drop the old $gray- variables for the new color range

This commit is contained in:
Mark Otto
2017-06-29 23:15:16 -07:00
parent a21a9f341b
commit 964e06800a
6 changed files with 56 additions and 67 deletions
+4 -4
View File
@@ -13,8 +13,8 @@ Every Sass variable in Bootstrap 4 includes the `!default` flag, meaning you can
For example, to change out the `background-color` and `color` for the `<body>`, you'd do the following:
{% highlight scss %}
$body-bg: $gray-dark;
$body-color: $gray-light;
$body-bg: $gray-900;
$body-color: $gray-600;
{% endhighlight %}
Do the same for any variable you need to override, including the global options listed below.
@@ -103,8 +103,8 @@ $colors: (
pink: $pink,
purple: $purple,
white: $white,
gray: $gray-light,
gray-dark: $gray-dark
gray: $gray-600,
gray-dark: $gray-900
) !default;
{% endhighlight %}