-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New colours variations and random colour generator
- Loading branch information
skjnldsv
committed
May 11, 2016
1 parent
eea2721
commit 63ccc7b
Showing
5 changed files
with
181 additions
and
46 deletions.
There are no files selected for viewing
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
<ul class="colorpicker-list"> | ||
<li | ||
ng-repeat="color in colors" | ||
ng-class="{ selected: (color===selected) }" | ||
ng-click="pick(color)" | ||
ng-style="{ 'background-color':color}; "></li> | ||
<li ng-repeat="color in colors" | ||
ng-class="{ selected: (color===selected) }" | ||
ng-click="pick(color)" | ||
ng-style="{ 'background-color':color}; "></li> | ||
<li class="randomcolour" | ||
ng-click="randomizeColour()" | ||
ng-style="{ 'background-color':random}; "></li> | ||
</ul> |