]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
quote those to match source code
authorMark Otto <markdotto@gmail.com>
Sun, 1 Oct 2017 19:26:02 +0000 (12:26 -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 aac906f71ba9f085b4b2bd1b06d66b62c20fc339..f40ae51f47c659d83e7e9e98b335056fe49e5f94 100644 (file)
@@ -86,8 +86,8 @@ For example, to modify an existing color in our `$theme-colors` map, add the fol
 
 {% highlight scss %}
 $theme-colors: (
-  primary: $red,
-  danger: $orange
+  "primary": $red,
+  "danger": $orange
 );
 {% endhighlight %}
 
@@ -186,17 +186,17 @@ Within `_variables.scss`, you'll find our color variables and Sass map. Here's a
 
 {% highlight scss %}
 $colors: (
-  red: $red,
-  orange: $orange,
-  yellow: $yellow,
-  green: $green,
-  teal: $teal,
-  blue: $blue,
-  pink: $pink,
-  purple: $purple,
-  white: $white,
-  gray: $gray-600,
-  gray-dark: $gray-900
+  "red": $red,
+  "orange": $orange,
+  "yellow": $yellow,
+  "green": $green,
+  "teal": $teal,
+  "blue": $blue,
+  "pink": $pink,
+  "purple": $purple,
+  "white": $white,
+  "gray": $gray-600,
+  "gray-dark": $gray-900
 ) !default;
 {% endhighlight %}