How to apply custom theme in ERPNext?

Hello Guys,

How to apply custom theme in ERPNext ?
How can i manage all pages and content separate doc in erpnext? it’s similar to dotnet and php language.

Please guide us above two question.

Thanks.

Thanks so much for positive replay.