Currently, my tech stack consists of nodejs, express, jade, and less.
I have set up routing to different subdomains (for example: college1.domain.com, college2.domain.com). Each college has its own unique stylesheet. I am looking for a way to selectively load the appropriate stylesheet based on the subdomain.
Instead of passing around variables and deciding which stylesheet to load during page rendering, I am exploring the option of organizing the stylesheets into separate subdirectories. This approach would involve instructing the less-middleware to target a specific directory depending on the subdomain. Do you think this solution is feasible?