How do you dynamically set Sass variables in Foundation? According to their docs, you can customize a table with the help of a few Sass variables in _settings.scss
, let's take the background color for example. Now what if I want to use two different kinds of tables, with different background colors? I am new to both Foundation and Sass, and these variables seem a lot like globals to me.
I guess I could make my own variables, such as $dark-table-bg
, but how would I make a table use that variable in my html?
To clarify: the only thing I'm trying to achieve is having two tables next to each other, with different colors.