         strippedTheme = stripTheme(themeString)
         lightTheme = strippedThemeToString(strippedTheme)
         themeDict = strippedThemeToTheme(strippedTheme)
-        if let bkgColorHex = strippedTheme[".hljs"]?["background"]
-        {
-
+        var bkgColorHex = strippedTheme[".hljs"]?["background"]
+        if(bkgColorHex == nil)
+        {
+            bkgColorHex = strippedTheme[".hljs"]?["background-color"]
+        }
+        if let bkgColorHex = bkgColorHex
+        {
             if(bkgColorHex == "white")
             {
                 themeBackgroundColor = RPColor(white: 1, alpha: 1)

            resultString += key+"{"
            for (cssProp, val) in props
            {
                resultString += "\(cssProp):\(val);"
            }
            resultString+="}"
        }

                case "font-weight":
                    keyProps[attributeForCSSKey(key)] = fontForCSSStyle(prop)
                    break
                case "background-color":
                    keyProps[attributeForCSSKey(key)] = colorWithHexString(prop)
                    break
                default:
                    break
                }
            }
            if keyProps.count > 0
            {
                let key = className.stringByReplacingOccurrencesOfString(".", withString: "")
                returnTheme[key] = keyProps
            }
        }
        return returnTheme
