I am using angular version of smartadmin in which by default 5 skins comes with it. Dark Elegance, Ultra White, Google Pixel etc. I want to set the skin manually from the code because I don't need that settings button on the right of my web application. When I looked at the documentation, they mentioned that we need to hardcode the skin name as a class in body tag.
<body class="smart-style-2">
...
</body>
I tried the same but it's not working for me. I want to set the skin programatically, not from any side settings.
You can set the skin from smartadmin config file present inside shared folder.
There's a property in this named as
smartSkin. By default its set tosmart-style-0.You can hardcode your skin style for your application here.
smartadmin.config.ts
For the complete list of skins , refer this.
Smartadmin Skins