Class: Jquard::Configuration
- Inherits:
-
Object
- Object
- Jquard::Configuration
- Defined in:
- lib/jquard/configuration.rb
Constant Summary collapse
- RUBY_RED =
{ 50 => "#fdf4f3", 100 => "#fce7e5", 200 => "#f9d2cf", 300 => "#f4b0ab", 400 => "#ec817a", 500 => "#df574e", 600 => "#cc342d", 700 => "#ab2822", 800 => "#8e2420", 900 => "#762421", 950 => "#400f0d" }.freeze
- PALETTES =
{ ruby: RUBY_RED }.freeze
- REQUIRED_SHADES =
[ 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950 ].freeze
Instance Attribute Summary collapse
-
#brand_name ⇒ Object
Returns the value of attribute brand_name.
-
#primary_color ⇒ Object
Returns the value of attribute primary_color.
-
#primary_color_palette ⇒ Object
readonly
Returns the value of attribute primary_color_palette.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
24 25 26 27 |
# File 'lib/jquard/configuration.rb', line 24 def initialize @brand_name = "Jquard" self.primary_color = :ruby end |
Instance Attribute Details
#brand_name ⇒ Object
Returns the value of attribute brand_name.
21 22 23 |
# File 'lib/jquard/configuration.rb', line 21 def brand_name @brand_name end |
#primary_color ⇒ Object
Returns the value of attribute primary_color.
22 23 24 |
# File 'lib/jquard/configuration.rb', line 22 def primary_color @primary_color end |
#primary_color_palette ⇒ Object (readonly)
Returns the value of attribute primary_color_palette.
22 23 24 |
# File 'lib/jquard/configuration.rb', line 22 def primary_color_palette @primary_color_palette end |