Using LESS Variables in a consuming project


#1

Hello!

Problem

I’m wondering how I could easily use all LESS variables from a compiled theme in a consuming project. The build process compiles the site and theme styles into a single CSS file (minified and not). But there’s no associated simplified LESS output.

Goal

  • Have a standard style
  • Use style as-is in React apps and static sites
  • Use parts of style in React apps and static sites

The problem arises from trying to do that last goal with Semantic.