The devs removed the categories attribute in bug 1694820. It isn't possible to style the category colors with just css anymore.
Code: Select all
this.setAttribute("categories", cssClassesArray.join(" "));
http://phabricator.services.mozilla.com/D114731