Here is the ESRI documentation to help you get started.
Create a theme—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
To change a theme you mostly dive into json and css files. It all really depends on what you are after.
Retrieving data ...