def initialize(theme_hash)
@name = theme_hash['name']
@title = theme_hash['title']
if theme_hash.keys.include?('colours')
@colours = theme_hash['colours']
elsif theme_hash.keys.include?('colors')
@colours = theme_hash['colors']
end
if theme_hash.keys.include?('font_colour')
@font_colour = theme_hash['font_colour']
elsif theme_hash.keys.include?('font_color')
@font_colour = theme_hash['font_color']
end
if theme_hash.keys.include?('background_colour')
@background_colour = theme_hash['background_colour']
elsif theme_hash.keys.include?('background_color')
@background_colour = theme_hash['background_color']
end
if theme_hash.keys.include?('marker_colour')
@marker_colour = theme_hash['marker_colour']
elsif theme_hash.keys.include?('marker_color')
@marker_colour = theme_hash['marker_color']
end
@stroke_grid_markers = theme_hash['stroke_grid_markers'].to_i
end