summaryrefslogtreecommitdiff
path: root/modules/color
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-05-06 05:47:52 +0000
committerDries Buytaert <dries@buytaert.net>2007-05-06 05:47:52 +0000
commite66371cac17e35d2cb0c9bf48f792193b79f3a7c (patch)
tree7a80591383246fb439f9c74960c927071a45b9f8 /modules/color
parent644657c56b6e04fb41e9b424668c61e0d1d6c1d4 (diff)
downloadbrdo-e66371cac17e35d2cb0c9bf48f792193b79f3a7c.tar.gz
brdo-e66371cac17e35d2cb0c9bf48f792193b79f3a7c.tar.bz2
- Patch #137211 by merlinofchaos: move theme information to .info files and improved theme inheritance.
Diffstat (limited to 'modules/color')
-rw-r--r--modules/color/color.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/color/color.module b/modules/color/color.module
index 9aabcea4b..04bbb8ff6 100644
--- a/modules/color/color.module
+++ b/modules/color/color.module
@@ -279,7 +279,8 @@ function color_scheme_form_submit($form_id, $values) {
*/
function _color_rewrite_stylesheet($theme, &$info, &$paths, $palette) {
// Load stylesheet
- $style = file_get_contents($paths['source'] .'style.css');
+ $themes = list_themes();
+ $style = file_get_contents($themes[$theme]->stylesheet);
// Prepare color conversion table
$conversion = $palette;