Initial Drupal 11 with DDEV setup
This commit is contained in:
40
web/core/themes/olivero/config/schema/olivero.schema.yml
Normal file
40
web/core/themes/olivero/config/schema/olivero.schema.yml
Normal file
@ -0,0 +1,40 @@
|
||||
# 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'
|
||||
Reference in New Issue
Block a user