Would be nice if administrators could whitelist certain bootswatch skins to be available to users. So you could focus on optimizing for example for two themes (ie one light, one dark), additionally maybe even add a option for custom CSS based on the user selected skin.
@phit you can add custom CSS based on user selected skin now. NodeBB adds a specific class to the body tag based on user selected skin. If the user selects slate skin, body tag will have skin-slate class. You can add your custom CSS based on this class so it only applies for that particular skin.
can this be reopened? this still doesn't allow me to only give people access to a specific skins only
If you really really want to hide individual skins, you can do so via CSS by hiding individual options in the select dropdown
I wouldn't mind accepting a PR for this though,
I ended up editing src/controllers/accounts/settings.js and removing all the themes I don't want my users to use, since hiding dropdown options isn't supported in all browsers (or buggy in Edge for example)
Most helpful comment
@phit you can add custom CSS based on user selected skin now. NodeBB adds a specific class to the body tag based on user selected skin. If the user selects
slateskin, body tag will haveskin-slateclass. You can add your custom CSS based on this class so it only applies for that particular skin.