- Edited
I'm modifying the John S template for use on my site and ran across a bug that others may want to know about.
The "Template background" setting that appears on the "Basic settings" tab of the "Edit style" page doesn't seem to do anything if you choose either "White Background" or "Dark Background" as the setting. These options correspond to the "light_bg" and "dark_bg" values in the templateDetails.xml, which correspond to the ".light_bg" and ".dark_bg" classes in several stylesheets. Unfortunately, the code does not produce these classes correctly.
The code prepends the string "pattern" to create the CSS classes for the various background patterns that the template makes available, e.g. "pattern1", "pattern2", etc. That's not a problem. Unfortunately, though, the string also gets prepended to the values for the light and dark backgrounds, so the stylesheets should refer to ".patternlight_bg" and ".patterndark_bg" or the background color will not be applied as expected. Either that, or the code should be fixed so that the "pattern" string will not be prepended when either "light_bg" or "dark_bg" are selected.