Improved Plugins SCSS management (PR #2292)

Smaller improvements and fixes to allow for easier theming through plugins. See

In Details this does:

  • Moves the import of plugins for both mobile and desktop from common after discourse loading, allowing plugins to overwrite
  • Make desktop-option behave like the mobile-option: SCSS/CSS marked with that option will only be loaded for desktop from now on and ignored in mobile
  • Add variables-keyword, allowing plugins to ship and overwrite variables before they get imported by discourse (great for theming)


You’ve signed the CLA, ligthyear. Thank you! This pull request is ready for review.