SpreadJS Documentation
Theme class
GC.Spread.Sheets Namespace : Theme class
Represents a color scheme.
Syntax
var instance = new GC.Spread.Sheets.Theme(name, colorScheme, headerFont, bodyFont);
function Theme;
Example
//This example creates a new SpreadTheme object.
sheet.getCell(0, 0).backColor("accent 1");
sheet.getCell(1, 0).backColor("accent 6");
$("#btn").click(function () {
    var custom = new GC.Spread.Sheets.Theme("Custom");
    custom.colors().accent1("red");
    custom.colors().accent6("green");
    sheet.currentTheme(custom);
})
Inheritance Hierarchy

Object
   GC.Spread.Sheets.Theme

Constructors
 NameDescription
public ConstructorRepresents a color scheme.  
Top
Methods
 NameDescription
public MethodGets or sets the body font of the theme.  
public MethodGets or sets the base colors of the theme.  
public MethodGets or sets the heading font of the theme.  
public MethodGets or sets the name of the theme.  
Top
See Also

Reference

GC.Spread.Sheets Namespace