What is the cleanest easiest way to declare a variable in CSS with meteor? Between the two CSS compilers SASS and LESS, which one can allow me to declare variables so I do not need to define exact values, instead, have control from a variable. For example...
variableNameOne: value;
variableNameTwo: value;
.sidebar-nav li a {
color: variableNameOne;
}
I do not wish to do anything more advanced than this in css. I am using boootstrap in meteor.
CSS3 apparently supports variables by declaring them at the top of the styling sheet inside :root {varName: value;} but it is not supported in all browsers as far as I have read.
Is this the best practice to install nemo64's bootstrap and less? sourced from http://www.manuel-schoebel.com/blog/meteorjs-and-twitter-bootstrap---the-right-way
// 1. Add the less compiler so meteor compiles everything for you
meteor add less
// 2. Add the bootstrap
meteor add nemo64:bootstrap
// 3. Clone this stylesheet boiler
// Also delete the .git folder and .gitignore if you don't like those
cd yourapp/client/
git clone https://github.com/DerMambo/stylesheets.git
// 4. Add everything you need into the file
// yourapp/client/vendor/custom.bootstrap.json