         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)

        if (cString.hasPrefix("#"))
        {
            cString = (cString as NSString).substringFromIndex(1)
        }
        
        if (cString.characters.count != 6 && cString.characters.count != 3 )

            resultString += key+"{"
            for (cssProp, val) in props
            {
                if(key != ".hljs" || (cssProp.lowercaseString != "background-color" && cssProp.lowercaseString != "background"))
                {
                    resultString += "\(cssProp):\(val);"
                }
            }
            resultString+="}"
        }
