]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Placeholders: use our gray colors (#27701)
authorm5o <m5o@gmx.com>
Wed, 21 Nov 2018 18:59:21 +0000 (19:59 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 21 Nov 2018 18:59:21 +0000 (20:59 +0200)
Previously we were using the old holder.js colors.

site/_includes/icons/placeholder.svg

index 03f06c0482d15d388d75558b35ade16256f16c88..159c2a335c222f4632889b772d4e55cb5dce0aae 100644 (file)
@@ -5,16 +5,16 @@
     title: Used in the SVG `title` tag
     text: The text to show in the image - default: 'width x height'
     class: default: 'bd-placeholder-img'
-    color: The text color (foreground) - default: '#ddd'
-    background: The background color - default: '#777'
+    color: The text color (foreground) - default: '#dee2e6'
+    background: The background color - default: '#868e96'
     width: default: 100%
     height: default: 180px
 {%- endcomment -%}
 
 {%- assign title = include.title | default: 'Generic Placeholder Image' -%}
 {%- assign class = include.class | default: '' -%}
-{%- assign color = include.color | default: '#ddd' -%}
-{%- assign background = include.background | default: '#777' -%}
+{%- assign color = include.color | default: site.data.grays[2].hex -%}
+{%- assign background = include.background | default: site.data.grays[5].hex -%}
 {%- assign width = include.width | default: '100%' -%}
 {%- assign height = include.height | default: '180' -%}