olivero.schema.yml
Same filename in other branches
File
-
core/
themes/ olivero/ config/ schema/ olivero.schema.yml
View source
- # Schema for the configuration files of the Olivero theme.
-
- olivero.settings:
- type: theme_settings
- label: 'olivero settings'
- mapping:
- third_party_settings:
- type: mapping
- label: 'Third party settings'
- mapping:
- shortcut:
- type: mapping
- label: 'Shortcut'
- mapping:
- module_link:
- type: boolean
- label: 'Module Link'
- mobile_menu_all_widths:
- type: integer
- label: 'Mobile menu all widths'
- constraints:
- Choice:
- # @see olivero_preprocess_html()
- # Set to 1 to enable the mobile menu toggle at all widths.
- choices:
- - 0
- - 1
- site_branding_bg_color:
- type: string
- label: 'Site branding background color'
- constraints:
- Choice:
- # @see olivero_form_system_theme_settings_alter()
- choices:
- - "default"
- - "gray"
- - "white"
- base_primary_color:
- type: color_hex
- label: 'Base Primary Color'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.