Settings Schema
will guide you to build customizable components to your theme
to allow the user to customize or edit different part of your theme, you can generate different types of inputs to the user.
in the file you want to allow the user to customize you must add to the end of the file the schema tags