Brian Grinstead

Results 199 comments of Brian Grinstead

Hi @NZSmartie, thanks for the PR. What's the process for keeping these up to date? Would it be possible to auto generate this file if we had JSDoc annotations in...

@jladbury any idea how alpha values could be taken into account with WCAG?

@cpshanley interesting, how are you calculating the effective FG?

With 1.5.2 I've added https://github.com/bgrins/TinyColor/blob/master/npm/dist/tinycolor-min.js and https://github.com/bgrins/TinyColor/blob/master/npm/dist/tinycolor-min.js into the npm directory. Double checking https://cdn.jsdelivr.net/npm/tinycolor2/ and https://cdnjs.com/libraries/tinycolor: - jsdelivr.net seems to be working https://cdn.jsdelivr.net/npm/[email protected]/tinycolor.js & https://cdn.jsdelivr.net/npm/[email protected]/dist/tinycolor-min.js - cdnjs hasn't detected the...

This could be handled by using: `tinycolor("#9a9082").monochromatic().sort(function(a,b) { return a.toHsv().v > b.toHsv().v ? 1 : -1})`. I agree it looks nicer when presented in a palette to have it ordered...

Yeah, I've gone back and forth. I'm also leaning lowercase for now since that'll make migration from v1 to v2 seamless for most cases. I actually wish it was camel...

OK, so if we go this route I guess this means using lowercase name from UMD export (already done) and updating docs to show lowercase code. In theory we could...

We could go through and lowercase the actual class, although ts wouldn't like that.

To be clear: I'm not suggesting that `tinycolor("red")` should actually work in the snippet above - it's just an example of an error message I remember seeing where the casing...

Sorry for not responding - I've had really limited availability lately so haven't had time to keep up. I'd be happy to have help maintaining the project if anyone is...