Class: UtilityPalettes::Defaults

Inherits:
Object
  • Object
show all
Defined in:
lib/utility_palettes/defaults.rb

Class Method Summary collapse

Class Method Details

.absolutesObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/utility_palettes/defaults.rb', line 5

def self.absolutes
  {
    'red' => 'hsl(2, 78%, 64%)',
    'rust' => 'hsl(16, 82%, 62%)',
    'orange' => 'hsl(31, 90%, 65%)',
    'gold' => 'hsl(46, 93%, 54%)',
    'yellow' => 'hsl(58, 87%, 55%)',
    'pear' => 'hsl(80, 74%, 57%)',
    'green' => 'hsl(110, 69%, 58%)',
    'seaside' => 'hsl(156, 78%, 57%)',
    'cyan' => 'hsl(180, 69%, 37%)',
    'capri' => 'hsl(197, 90%, 46%)',
    'blue' => 'hsl(214, 78%, 36%)',
    'iris' => 'hsl(265, 87%, 57%)',
    'purple' => 'hsl(279, 85%, 56%)',
    'magenta' => 'hsl(300, 64%, 66%)',
    'pink' => 'hsl(320, 74%, 66%)',
    'satin' => 'hsl(348, 74%, 57%)',
    'cement' => 'hsl(42, 6%, 87%)',
    'grey' => 'hsl(0, 3%, 46%)',
    'base' => 'hsl(0, 3%, 46%)'
  }
end

.relativesObject



29
30
31
32
33
34
35
36
# File 'lib/utility_palettes/defaults.rb', line 29

def self.relatives
  {
    'success' => 'hsl(110, 69%, 58%)',
    'danger' => 'hsl(2, 78%, 64%)',
    'information' => 'hsl(214, 78%, 36%)',
    'warning' => 'hsl(46, 93%, 54%)'
  }
end

.singlesObject



38
39
40
41
42
43
44
# File 'lib/utility_palettes/defaults.rb', line 38

def self.singles
  {
    'white' => '#fff',
    'black' => '#000',
    'translucent' => 'rgba(0, 0, 0, 0.45)'
  }
end