Commit Graph

12 Commits (53317244bcb2bcf487fba4754ff92b2b89827423)

Author SHA1 Message Date
Matt Miller a6a5d9ffbb ResistorColors/ColorCodes: update new selector names.
Changed to be a bit less generic at the behest of @russellholt
2014-09-11 17:37:13 -04:00
Matt Miller eb93246657 ColorCodes.t: test to see if we styled in the correct background.
With the full test below of where the background styling takes place,
this should be sufficient to ensure that we haven't made any wildly
wrong code changes.
2014-09-10 18:33:05 -04:00
Matt Miller 4a24d5165b ColorCodes: move from inline css 2014-09-10 17:33:32 -04:00
Matt Miller 7ace24facb ColorCodes: rough in a different HTML template.
Real templates are coming, but this is a step.
2014-09-09 18:54:38 -04:00
Matt Miller bc7e87be22 ColorCodes: treat "code" as semantic noise.
We want to allow the string "code" to be used in the triggering query,
but we want it to have no effect on how the query is understood
or processed.

Addresses issue #454.
2014-08-28 17:25:19 -04:00
Matt Miller 015107ec37 ColorCodes: eliminate NBS_ISCC sub dictionaries from lookups.
By their own documentation, the NBS submodules contain idiosyncratic
color names which are not well-suited to a general purpose color code
search.

In particular, NBS_ISCC::M contains a color called 'email' which caused
a confusing result for 'HTML email'.

The main NBS colors are included because they seem reasonable enough as
color names.

This fixes #490 and possibly partially addresses #454 and #442, I guess.

Also includes some testing ideas from @mintsoft.
2014-06-28 19:10:37 +08:00
Michael Smith cc47172f0e Update colorcodes to handle inverse/negative colours 2013-11-30 14:15:51 -07:00
Jag Talon e7b798f7e3 Changed the test file of the ColorCodes plugin. 2013-03-20 19:33:06 -04:00
Michael Smith daff0a57d9 fix ColorCodes tests 2012-06-16 13:23:12 -06:00
Michael Smith e84306c7ea handle percents and short hex colors (#000), make output copyable 2012-06-03 11:19:48 -06:00
Michael Smith 09e8ad8dfa handle #000000-style colorcodes and add tests 2012-06-03 08:36:02 -06:00
Michael Smith 0572799079 Add ColorCodes goodie 2012-05-28 18:04:43 -06:00