Closed (won't fix)
Project:
CSS Injector
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2008 at 16:47 UTC
Updated:
30 Jul 2008 at 18:38 UTC
i was looking over this module in particular: http://drupal.org/project/node_color - coloring nodes.
he's adding features that could in fact be automated by your module, which is excellent in its own right.
it also seems that MANY modules have readme's the specify dropping in tiny css elements and tidbits - could css injector become the default api for handling such includes and elements? that would be **awesome** - the modules could simply say 'depends on css injector' and users no longer have to do the random cut and paste stuff (which tends to scare off some people from otherwise great modules)
Comments
Comment #1
eaton commentedProbably not -- if other modules need to include small snippets of CSS, they should be using the drupal_add_css() function, the same way that CSS injector does. This module just provides a user-configurable way to add arbitrary snippets that way. Ideally, any real tweaks on a live site would be done in the theme itself. CSS Injector is less efficient than just building the CSS into the theme.
Comment #2
add1sun commentedIsn't anything to do here really so closing.