olivero.schema.yml

Same filename in other branches
  1. 9 core/themes/olivero/config/schema/olivero.schema.yml
  2. 10 core/themes/olivero/config/schema/olivero.schema.yml
core/themes/olivero/config/schema/olivero.schema.yml

File

core/themes/olivero/config/schema/olivero.schema.yml

View source
  1. # Schema for the configuration files of the Olivero theme.
  2. olivero.settings:
  3. type: theme_settings
  4. label: 'olivero settings'
  5. mapping:
  6. third_party_settings:
  7. type: mapping
  8. label: 'Third party settings'
  9. mapping:
  10. shortcut:
  11. type: mapping
  12. label: 'Shortcut'
  13. mapping:
  14. module_link:
  15. type: boolean
  16. label: 'Module Link'
  17. mobile_menu_all_widths:
  18. type: integer
  19. label: 'Mobile menu all widths'
  20. constraints:
  21. Choice:
  22. # @see olivero_preprocess_html()
  23. # Set to 1 to enable the mobile menu toggle at all widths.
  24. choices:
  25. - 0
  26. - 1
  27. site_branding_bg_color:
  28. type: string
  29. label: 'Site branding background color'
  30. constraints:
  31. Choice:
  32. # @see olivero_form_system_theme_settings_alter()
  33. choices:
  34. - "default"
  35. - "gray"
  36. - "white"
  37. base_primary_color:
  38. type: color_hex
  39. label: 'Base Primary Color'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.