You are here

background_image.settings.yml in Background Image 2.0.x

config/install/background_image.settings.yml

File

config/install/background_image.settings.yml
View source
  1. defaults:
  2. blur:
  3. type: 2
  4. radius: 50
  5. speed: 1
  6. dark: false
  7. full_viewport: false
  8. preload:
  9. background_color: '#ffffff'
  10. text:
  11. format: full_html
  12. value: ''
  13. entities:
  14. node:
  15. article:
  16. enable: true
  17. embed: true
  18. require: false
  19. group: advanced
  20. page:
  21. enable: true
  22. embed: true
  23. require: false
  24. group: advanced
  25. user:
  26. user:
  27. enable: true
  28. embed: true
  29. require: false
  30. group: advanced
  31. view:
  32. view:
  33. enable: true
  34. embed: true
  35. require: false
  36. group: advanced
  37. # @todo Make configurable in \Drupal\background_image\Form\BackgroundImageSettingsForm.
  38. css:
  39. base_class: 'background-image'
  40. retina_rules:
  41. - 'only screen and (-webkit-min-device-pixel-ratio:2)'
  42. - 'only screen and (min--moz-device-pixel-ratio:2)'
  43. - 'only screen and (-o-min-device-pixel-ratio:2/1)'
  44. - 'only screen and (min-device-pixel-ratio:2)'
  45. - 'only screen and (min-resolution: 192dpi)'
  46. - 'only screen and (min-resolution: 2dppx)'
  47. image_style:
  48. preload: background_image_preload
  49. fallback: background_image_lg
  50. responsive: background_image