olivero.schema.yml

Same filename and directory in other branches
  1. 10 core/themes/olivero/config/schema/olivero.schema.yml
  2. 11.x core/themes/olivero/config/schema/olivero.schema.yml
  3. 9 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. mobile_menu_all_widths:
  7. type: integer
  8. label: 'Mobile menu all widths'
  9. constraints:
  10. Choice:
  11. # @see olivero_preprocess_html()
  12. # Set to 1 to enable the mobile menu toggle at all widths.
  13. choices:
  14. - 0
  15. - 1
  16. site_branding_bg_color:
  17. type: string
  18. label: 'Site branding background color'
  19. constraints:
  20. Choice:
  21. # @see olivero_form_system_theme_settings_alter()
  22. choices:
  23. - "default"
  24. - "gray"
  25. - "white"
  26. base_primary_color:
  27. type: color_hex
  28. label: 'Base Primary Color'

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