Commit Graph

17 Commits (master)

Author SHA1 Message Date
Ben Moon 56d6868480 RgbColor: Add support for color titles (#3574)
* Add color titles to output

* Add titles for color in front-end (hover)

Hovering over the circle gives the color 'title', and hovering over a
hex value gives the color 'name' (more suitable for HTML and similar).
2016-09-26 12:38:31 -04:00
Ben Moon 31c3477122 Uppercase input colors 2016-08-06 18:24:08 +01:00
Ben Moon ceed3760a9 Title-case subtitle prefixes 2016-08-06 18:22:31 +01:00
Ben Moon 75b227d6d4 Add ' #:' to subtitle prefixes 2016-08-06 18:15:09 +01:00
Ben Moon de34ee712e Remove unused classes with 'complementary' 2016-08-06 18:09:00 +01:00
Ben Moon 37dbdbfa03 Fix indentation and brace position 2016-08-06 18:05:10 +01:00
Ben Moon ba1c48795f Remove set width, height of column2, desc_column 2016-08-06 18:02:40 +01:00
Ben Moon 1251912976 Add helper for color picker links 2016-07-08 10:40:22 +01:00
Ben Moon 7ef7792978 Add display similar to ColorCodes
Use (mostly) the same CSS and Handlebars with a few adaptations - needs
a bit of work.
2016-07-07 21:13:54 +01:00
Ben Moon 84ee6aef27 Add mixing percentage to display 2016-07-06 12:21:33 +01:00
Ben Moon 98b3d4cdd4 Add links to the ColorPicker in results
Clicking on a result (or input) color will link to the color picker for
the appropriate color.
2016-07-05 13:33:14 +01:00
Ben Moon c12a1ac994 Add support for common names in output
If there is a 'common' name available for the color, display that along
with the hex code.
2016-07-05 12:56:04 +01:00
Ben Moon 8316a69f73 Add support for bounds in random colors
E.g., `random color between blue and green`.
2016-07-05 12:28:40 +01:00
Ben Moon 942c87147b Add support for mixing two colors 2016-07-05 11:45:40 +01:00
Ben Moon c35d489c48 Replace use of 'content' with 'title_content'
We'll only be modifying the subtitle and title, so use the provided
content templates.
2016-07-05 10:58:39 +01:00
Ben Moon d9073eb3a1 Add helper for displaying colors 2016-07-05 10:35:34 +01:00
Ben Moon b132ab9026 Add a colored box to title
1. Add a '#' to the front of hex colors.
2. Display a colored box along with the hex value of the color.
2016-07-05 09:52:14 +01:00