Module: Frameit::Color

Defined in:
frameit/lib/frameit/device_types.rb

Constant Summary collapse

MATTE_BLACK =
"Matte Black"
SPACE_GRAY =
"Space Gray"
ROSE_GOLD =
"Rose Gold"
CLEARLY_WHITE =
"Clearly White"
JUST_BLACK =
"Just Black"
NOT_PINK =
"Not Pink"
SILVER_TITANIUM =
"Silver Titanium"
ARCTIC_SILVER =
"Arctic Silver"
CORAL_BLUE =
"Coral Blue"
MAPLE_GOLD =
"Maple Gold"
MIDNIGHT_BLACK =
"Midnight Black"
MIDNIGHT_GREEN =
"Midnight Green"
ORCHID_GRAY =
"Orchid Gray"
BURGUNDY_RED =
"Burgundy Red"
LILAC_PURPLE =
"Lilac Purple"
SUNRISE_GOLD =
"Sunrise Gold"
TITANIUM_GRAY =
"Titanium Gray"
FLAMINGO_PINK =
"Flamingo Pink"
PRISM_BLACK =
"Prism Black"
PRISM_BLUE =
"Prism Blue"
PRISM_GREEN =
"Prism Green"
PRISM_WHITE =
"Prism White"
CERAMIC_WHITE =
"Ceramic White"
OH_SO_ORANGE =
"Oh So Orange"
AURA_BLACK =
"Aura Black"
AURA_GLOW =
"Aura Glow"
AURA_PINK =
"Aura Pink"
AURA_RED =
"Aura Red"
AURA_WHITE =
"Aura White"
AURA_BLUE =
"Aura Blue"
CORAL =
"Coral"
BLACK =
"Black"
WHITE =
"White"
GOLD =
"Gold"
SILVER =
"Silver"
BLUE =
"Blue"
RED =
"Red"
YELLOW =
"Yellow"
GREEN =
"Green"
PINK =
"Pink"
PURPLE =
"Purple"

Class Method Summary collapse

Class Method Details

.all_colorsObject



49
50
51
# File 'frameit/lib/frameit/device_types.rb', line 49

def self.all_colors
  Color.constants.map { |c| Color.const_get(c).upcase.gsub(' ', '_') }
end