From: Mark Otto Date: Sun, 1 Oct 2017 19:54:24 +0000 (-0700) Subject: add new thing to a map X-Git-Tag: v4.0.0-beta.2~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9db52f9a47453db8998d3619afd14995f00fb7d2;p=thirdparty%2Fbootstrap.git add new thing to a map --- diff --git a/docs/4.0/getting-started/theming.md b/docs/4.0/getting-started/theming.md index f40ae51f47..cc5bdfe7d3 100644 --- a/docs/4.0/getting-started/theming.md +++ b/docs/4.0/getting-started/theming.md @@ -91,9 +91,13 @@ $theme-colors: ( ); {% endhighlight %} -**TODO:** -- Adding an option -- Removing an option (replacing the map wholesale) +To add a new color to `$theme-colors`, add the new key and value: + +{% highlight scss %} +$theme-colors: ( + "custom-color": #900 +); +{% endhighlight %} ### Functions