I created a sub-theme of Dartik. When I try to use custom colors, I get several lines of errors that look like this...

Notice: Undefined index: base in _color_rewrite_stylesheet() (line 452 of /home/....../public_html/modules/color/color.module).

In my new subtheme folder, I have the following structure:
------------------------------------------------
COLOR (exact copy of folder)
CSS (color.css file (exact copy), & mysubtheme.css (empty). Only these 2 files)
mysubtheme.info
logo.png
screenshot.png
-------------------------------------------------

Mysubtheme.info file is exact except just declaring these stylesheets:

stylesheets[all][] = css/mysubtheme.css
stylesheets[all][] = css/colors.css
stylesheets[print][] = css/print.css

Any ideas what I am doing wrong?...or is there a code error somewhere?

Comments

tsi’s picture

Status: Active » Postponed (maintainer needs more info)

try to change the base theme in your .info file to bartik and see if the error persist, if it doesn't, please post the steps/files to reproduce and I will see what I can do.

ssace’s picture

When I set bartik as base theme, I was getting some white backgrounds and different font colors apparently inherited from Bartik.

tsi’s picture

right, and the error ?

ssace’s picture

There is a list of about 7 of these lines and they are all identical:

Notice: Undefined index: base in _color_rewrite_stylesheet() (line 452 of /home/....../public_html/modules/color/color.module).

tsi’s picture

If you get these errors when your base theme is set to Bartik (or any other theme) then this is not related to Dartik.

tsi’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)