Closed (won't fix)
Project:
Drupal core
Version:
6.x-dev
Component:
color.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2007 at 18:27 UTC
Updated:
31 Aug 2011 at 23:55 UTC
Color module seems to have been broken after http://drupal.org/node/137211. Currently it cannot correctly create a stylesheet for a new Garland color scheme. To reproduce:
1. Go to admin/build/themes/settings/garland and create a new scheme
2. Submit.
3. Check your new files/color/garland- directory. All the files are generated correctly but the style.css is a blank file.
The attached patch keeps the ability to name the stylesheet whatever you want (not just style.css), and instead takes the *first* stylesheet from the theme as the source for color modifications, since now we can have multiple stylesheets defined per theme.
| Comment | File | Size | Author |
|---|---|---|---|
| color_stylesheet.patch | 705 bytes | quicksketch |
Comments
Comment #1
dries commentedHow do we know that the first stylesheet is the proper one?
Comment #2
quicksketchI'm not familiar with the inner workings of color module. I'm not sure if it would be safe to operate on all the css files in a theme or not. Should there be another value in the info file (or a hook) for which css file should be used?
Comment #3
hass commentedPlease look into http://drupal.org/node/113607 and http://drupal.org/node/175121. This patches should fix this issue, too.
I'd would mark this issue as won't fix and concentrate on the other two, while they solve tons of other outstanding bugs together.
Comment #4
hass commentedgo to http://drupal.org/node/113607
Comment #5
francewhoaWe had the same issue. Here are the steps we did to fix this:
1. Go to
/admin/build/themes/settings/garland2. Click on “Save” button. This will overwrite the database settings for the color module. Drupal will output the following message:
3. The next page will automatically reload. And Garland is back to normal.