0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

update rendering of colors in options.md

This commit is contained in:
Mark Otto 2017-06-25 18:12:50 -07:00
parent 370e299c6b
commit a0fb496635

View File

@ -73,13 +73,7 @@ We use a subset of all colors to create a smaller color palette for generating c
<div class="row">
{% for color in site.data.theme-colors %}
<div class="col-md-4">
{% if color.name == "background" %}
<div class="p-3 mb-3 swatch-{{ color.name }}" style="box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);">
{{ color.name | capitalize }}
</div>
{% else %}
<div class="p-3 mb-3 swatch-{{ color.name }}">{{ color.name | capitalize }}</div>
{% endif %}
<div class="p-3 mb-3 swatch-{{ color.name }}">{{ color.name | capitalize }}</div>
</div>
{% endfor %}
</div>