source:
trip-planner-front/node_modules/colord/plugins/harmonies.js@
6a3a178
Last change on this file since 6a3a178 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 358 bytes |
Line | |
---|---|
1 | module.exports=function(t){var e={analogous:[-30,0,30],complementary:[0,180],"double-split-complementary":[-30,0,30,150,210],rectangle:[0,60,180,240],tetradic:[0,90,180,270],triadic:[0,120,240],"split-complementary":[0,150,210]};t.prototype.harmonies=function(t){var o=this;return void 0===t&&(t="complementary"),e[t].map(function(t){return o.rotate(t)})}}; |
Note:
See TracBrowser
for help on using the repository browser.