Hello Gurumoorthy,
You can refer this blog on implementing dark mode: https://www.mendix.com/blog/how-to-implement-dark-mode-in-your-apps/
Hope my answer helps.
Perhaps he installed the darkmode-module: https://marketplace.mendix.com/link/component/116773/CLEVR/Dark-Theme---Dark-Reader.