From: Mark Otto Date: Thu, 10 Dec 2020 09:01:13 +0000 (-0800) Subject: Add hex values to colors (#32411) X-Git-Tag: v4.6.0~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17bb67dd5b9776ec08cd838dee9fb2203c8b8da1;p=thirdparty%2Fbootstrap.git Add hex values to colors (#32411) --- diff --git a/site/content/docs/4.5/getting-started/theming.md b/site/content/docs/4.5/getting-started/theming.md index 7e94200170..51e852ccac 100644 --- a/site/content/docs/4.5/getting-started/theming.md +++ b/site/content/docs/4.5/getting-started/theming.md @@ -301,7 +301,10 @@ All colors available in Bootstrap 4, are available as Sass variables and a Sass {{- range $.Site.Data.colors }} {{- if (and (not (eq .name "white")) (not (eq .name "gray")) (not (eq .name "gray-dark"))) }}
-
{{ .name | title }}
+
+ ${{ .name }} + {{ .hex }} +
{{ end -}} {{ end -}} @@ -332,7 +335,10 @@ We use a subset of all colors to create a smaller color palette for generating c {{< theme-colors.inline >}} {{- range (index $.Site.Data "theme-colors") }}
-
{{ .name | title }}
+
+ ${{ .name }} + {{ .hex }} +
{{ end -}} {{< /theme-colors.inline >}} @@ -346,7 +352,10 @@ An expansive set of gray variables and a Sass map in `scss/_variables.scss` for
{{< theme-colors.inline >}} {{- range $.Site.Data.grays }} -
{{ .name | title }}
+
+ $gray-{{ .name }} + {{ .hex }} +
{{ end -}} {{< /theme-colors.inline >}}