Closed dylans closed 8 years ago
It is possible to use variables within Stylus @import
statements, so it should be feasible to define a variable at the top of flat.styl
with a default presumed path to dgrid (e.g. ../../../dgrid
if we were to assume that dgrid
is a sibling to themes
), then concatenate the path to dgrid's skin
stylus file (e.g. @import $path + '/css/skins/skin'
).
If we define the variable first thing in flat.styl
, it should be easy enough to direct people to find and change if they need to.
Or define it with a ?=
within flat.styl
so it can be overridden before @import
ing the flat theme:
$flat_path_to_dgrid = '../../dgrid';
@import '../themes/flat/flat.styl';
Closed via 3fb4714.
Initial dgrid flat theme commit. Main challenge at this point is how to make the path to dgrid/css/skins/skin.styl work as expected. @kfranqueiro any suggestions or thoughts on this?