This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generate our shades | |
.createShades (@index, @color, @base-color) when (@index > 0) { | |
@i: @index; | |
.createShade (@index, @i, @color, @base-color); | |
.createShades (@index - 1, @color, @base-color); | |
} | |
.createShades (0, "red", @base-color) {} | |
.createShade (@index, @i, @color, @base-color) when (@i > 0) { | |
@num: percentage((lightness(@base-color)/100) * (1 - (@i / @index))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Handling all dom and instantiation of all other js | |
* | |
*/ | |
// Setup namespace | |
goog.provide('ee.ui'); | |
// include dom | |
goog.require('goog.dom'); |