]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add new thing to a map
authorMark Otto <markdotto@gmail.com>
Sun, 1 Oct 2017 19:54:24 +0000 (12:54 -0700)
committerMark Otto <markd.otto@gmail.com>
Tue, 3 Oct 2017 03:44:23 +0000 (20:44 -0700)
docs/4.0/getting-started/theming.md

index f40ae51f47c659d83e7e9e98b335056fe49e5f94..cc5bdfe7d389487241ba0c53f9e0ee2b4c1269db 100644 (file)
@@ -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