+ Bulma also provides a $shades
Sass map, that only contains shades of grey between black and white.
+
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c5f8b71..6c2d779e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### New features -* 🎉 #1747 New `$custom-colors` variable for adding your own colors to Bulma's `$colors` map +* 🎉 #1747 New `$custom-colors` and `$custom-shades` variable for adding your own colors and shades to Bulma's `$colors` and `$shades` maps respectively ### Improvements diff --git a/docs/bulma-docs.sass b/docs/bulma-docs.sass index a4ee2fbd..136f154a 100644 --- a/docs/bulma-docs.sass +++ b/docs/bulma-docs.sass @@ -10,6 +10,8 @@ $amazon: #ffd863 $bleeding-green: #ABF47C $bleeding-red: #CA1F26 +// $custom-colors: ("test": $bootstrap, "alt": ($bleeding-red, "jfoeij"), "debug": (pink, black)) + @import "../bulma" @import "./_sass/highlight" @import "./_sass/override" @@ -31,3 +33,5 @@ $bleeding-red: #CA1F26 @import "./_sass/sponsors" @import "./_sass/book" @import "./_sass/native" + +@debug $colors diff --git a/docs/documentation/overview/colors.html b/docs/documentation/overview/colors.html index a0bda48f..7c9f4114 100644 --- a/docs/documentation/overview/colors.html +++ b/docs/documentation/overview/colors.html @@ -14,6 +14,15 @@ colors: - success - warning - danger +shades: +- black-bis +- black-ter +- grey-darker +- grey-dark +- grey-light +- grey-lighter +- white-ter +- white-bis --- {% include subnav/subnav-overview.html %} @@ -82,5 +91,37 @@ colors: {% endfor %} + +
+ Bulma also provides a $shades
Sass map, that only contains shades of grey between black and white.
+
Color | +Variable | +Value | +
---|---|---|
+ {{ initial_shade.name | capitalize }} + | +
+ ${{ initial_shade.id }}
+ |
+ + {% include elements/color-square.html value=initial_shade.value %} + | +