From 672f5fb494dde886e032aab72575c5fd38b3a16a Mon Sep 17 00:00:00 2001 From: feitzi Date: Tue, 20 Sep 2016 19:55:30 +0200 Subject: [PATCH] removed randomColor (windows casesensitive problem) --- randomcolor/randomColor-tests.ts | 40 -------------------------------- randomcolor/randomColor.d.ts | 15 ------------ 2 files changed, 55 deletions(-) delete mode 100644 randomcolor/randomColor-tests.ts delete mode 100644 randomcolor/randomColor.d.ts diff --git a/randomcolor/randomColor-tests.ts b/randomcolor/randomColor-tests.ts deleted file mode 100644 index 4dfd6bed26..0000000000 --- a/randomcolor/randomColor-tests.ts +++ /dev/null @@ -1,40 +0,0 @@ -/// - -// Returns a hex code for an attractive color -randomColor(); - -// Returns an array of ten green colors -randomColor({ - count: 10, - hue: 'green' -}); - -// Returns a hex code for a light blue -randomColor({ - luminosity: 'light', - hue: 'blue' -}); - -// Returns a hex code for a 'truly random' color -randomColor({ - luminosity: 'random', - hue: 'random' -}); - -// Returns a bright color in RGB -randomColor({ - luminosity: 'bright', - format: 'rgb' // e.g. 'rgb(225,200,20)' -}); - -// Returns a dark RGB color with random alpha -randomColor({ - luminosity: 'dark', - format: 'rgba' // e.g. 'rgba(9, 1, 107, 0.6482447960879654)' -}); - -// Returns a light HSL color with random alpha -randomColor({ - luminosity: 'light', - format: 'hsla' // e.g. 'hsla(27, 88.99%, 81.83%, 0.6450211517512798)' -}); \ No newline at end of file diff --git a/randomcolor/randomColor.d.ts b/randomcolor/randomColor.d.ts deleted file mode 100644 index 4c85f12da5..0000000000 --- a/randomcolor/randomColor.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Type definitions for randomColor 0.4.1 -// Project: https://github.com/davidmerfield/randomColor -// Definitions by: Mathias Feitzinger -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -declare function randomColor(options?: RandomColorOptions): string; - -interface RandomColorOptions { - hue? : number | "red" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "monochrome" | "random"; - luminosity? : "bright" | "light" | "dark" | "random"; - count? : number; - seed?: number | string; - format?: "hsvArray" | "hslArray" | "hsl" | "hsla" | "rgbArray"| "rgb"| "rgba"| "hex"; - } \ No newline at end of file