tombenner/nui

.nss variables usage

Emailrus opened this issue · 1 comments

Is it possible to use previously declared variables to assign them to other variable with or without some simple re-evaluation? For example:

@color-primary: #ff0000;
@padding-base: 2;

@text-color-primary: @color-primary;
@padding-view: @padding-base;
@padding-cell: @padding-base * 2;

It would be awesome to have at least option for assignment, without computations.

Thanks

I have never tried this. I assume you have and it doesn't work? Indeed this does sound handy! If you happen to get a chance to submit a pull request we'd happily review it! :)