OpenLayers is the client side of things. The provider of the custom layer(s) is -in the case of OSM mostly- Mapnik.