diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-14 17:00:14 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-14 17:00:14 +0000 |
commit | 41d7e347b3722eb17d2c3167994dcfe13985fb47 (patch) | |
tree | 81757db1dda3dc59dd30f045e18815fa991e84cc /themes | |
parent | 7b52f8d52ed983be0d33b1560950c498c5ca62f6 (diff) | |
download | brdo-41d7e347b3722eb17d2c3167994dcfe13985fb47.tar.gz brdo-41d7e347b3722eb17d2c3167994dcfe13985fb47.tar.bz2 |
#193604 by hass and dvessel: fix color module to be able to use arbitrary styles, not just style.css, fixing Minnelli coloring and RTL CSS file coloring
Diffstat (limited to 'themes')
-rw-r--r-- | themes/garland/color/color.inc | 17 | ||||
-rw-r--r-- | themes/garland/minnelli/color/color.inc | 17 |
2 files changed, 22 insertions, 12 deletions
diff --git a/themes/garland/color/color.inc b/themes/garland/color/color.inc index d5a3d4d47..10d76dedd 100644 --- a/themes/garland/color/color.inc +++ b/themes/garland/color/color.inc @@ -3,7 +3,7 @@ $info = array( - // Pre-defined color schemes + // Pre-defined color schemes. 'schemes' => array( '#0072b9,#027ac6,#2385c2,#5ab5ee,#494949' => t('Blue Lagoon (Default)'), '#464849,#2f416f,#2a2b2d,#5d6779,#494949' => t('Ash'), @@ -22,7 +22,7 @@ $info = array( '#18583d,#1b5f42,#34775a,#52bf90,#2d2d2d' => t('Teal Top'), ), - // Images to copy over + // Images to copy over. 'copy' => array( 'images/menu-collapsed.gif', 'images/menu-collapsed-rtl.gif', @@ -30,10 +30,15 @@ $info = array( 'images/menu-leaf.gif', ), - // Coordinates of gradient (x, y, width, height) + // CSS files (excluding @import) to rewrite with new color scheme. + 'css' => array( + 'style.css', + ), + + // Coordinates of gradient (x, y, width, height). 'gradient' => array(0, 37, 760, 121), - // Color areas to fill (x, y, width, height) + // Color areas to fill (x, y, width, height). 'fill' => array( 'base' => array(0, 0, 760, 568), 'link' => array(107, 533, 41, 23), @@ -61,10 +66,10 @@ $info = array( // Reference color used for blending. Matches the base.png's colors. 'blend_target' => '#ffffff', - // Preview files + // Preview files. 'preview_image' => 'color/preview.png', 'preview_css' => 'color/preview.css', - // Base file for image generation + // Base file for image generation. 'base_image' => 'color/base.png', ); diff --git a/themes/garland/minnelli/color/color.inc b/themes/garland/minnelli/color/color.inc index c00fe92e6..eab1235be 100644 --- a/themes/garland/minnelli/color/color.inc +++ b/themes/garland/minnelli/color/color.inc @@ -3,7 +3,7 @@ $info = array( - // Pre-defined color schemes + // Pre-defined color schemes. 'schemes' => array( '#0072b9,#027ac6,#2385c2,#5ab5ee,#494949' => t('Blue Lagoon (Default)'), '#464849,#2f416f,#2a2b2d,#5d6779,#494949' => t('Ash'), @@ -22,7 +22,7 @@ $info = array( '#18583d,#1b5f42,#34775a,#52bf90,#2d2d2d' => t('Teal Top'), ), - // Images to copy over + // Images to copy over. 'copy' => array( '../images/menu-collapsed.gif', '../images/menu-collapsed-rtl.gif', @@ -30,10 +30,15 @@ $info = array( '../images/menu-leaf.gif', ), - // Coordinates of gradient (x, y, width, height) + // CSS files (excluding @import) to rewrite with new color scheme. + 'css' => array( + '../style.css', + ), + + // Coordinates of gradient (x, y, width, height). 'gradient' => array(0, 37, 760, 121), - // Color areas to fill (x, y, width, height) + // Color areas to fill (x, y, width, height). 'fill' => array( 'base' => array(0, 0, 760, 568), 'link' => array(107, 533, 41, 23), @@ -61,10 +66,10 @@ $info = array( // Reference color used for blending. Matches the base.png's colors. 'blend_target' => '#ffffff', - // Preview files + // Preview files. 'preview_image' => 'color/preview.png', 'preview_css' => '../color/preview.css', - // Base file for image generation + // Base file for image generation. 'base_image' => 'color/base.png', ); |