mirror of https://github.com/twbs/bootstrap.git
Placeholders: use our gray colors (#27701)
Previously we were using the old holder.js colors.
This commit is contained in:
parent
58943c0257
commit
31d6d03c47
|
@ -5,16 +5,16 @@
|
||||||
title: Used in the SVG `title` tag
|
title: Used in the SVG `title` tag
|
||||||
text: The text to show in the image - default: 'width x height'
|
text: The text to show in the image - default: 'width x height'
|
||||||
class: default: 'bd-placeholder-img'
|
class: default: 'bd-placeholder-img'
|
||||||
color: The text color (foreground) - default: '#ddd'
|
color: The text color (foreground) - default: '#dee2e6'
|
||||||
background: The background color - default: '#777'
|
background: The background color - default: '#868e96'
|
||||||
width: default: 100%
|
width: default: 100%
|
||||||
height: default: 180px
|
height: default: 180px
|
||||||
{%- endcomment -%}
|
{%- endcomment -%}
|
||||||
|
|
||||||
{%- assign title = include.title | default: 'Generic Placeholder Image' -%}
|
{%- assign title = include.title | default: 'Generic Placeholder Image' -%}
|
||||||
{%- assign class = include.class | default: '' -%}
|
{%- assign class = include.class | default: '' -%}
|
||||||
{%- assign color = include.color | default: '#ddd' -%}
|
{%- assign color = include.color | default: site.data.grays[2].hex -%}
|
||||||
{%- assign background = include.background | default: '#777' -%}
|
{%- assign background = include.background | default: site.data.grays[5].hex -%}
|
||||||
{%- assign width = include.width | default: '100%' -%}
|
{%- assign width = include.width | default: '100%' -%}
|
||||||
{%- assign height = include.height | default: '180' -%}
|
{%- assign height = include.height | default: '180' -%}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue