Config files define settings in the Theme settings area of the theme editor, as well as store their values.
The theme settings are an excellent place to host general settings such as typography and color options. The theme settings can be accessed through the settings object.
Config files are located in the
config directory of the theme:
└── theme ... ├── config | ├── settings_data.json | └── settings_schema.json └── locales
There are two config files, each with its own schema and content:
When working with config files, you should familiarize yourself with the following:
There are two categories of settings:
Updated 5 months ago