Module: AllTheFavicons

Defined in:
lib/all_the_favicons.rb,
lib/all_the_favicons/base.rb,
lib/all_the_favicons/apple.rb,
lib/all_the_favicons/tiles.rb,
lib/all_the_favicons/engine.rb,
lib/all_the_favicons/android.rb,
lib/all_the_favicons/version.rb,
lib/all_the_favicons/favicons.rb

Defined Under Namespace

Classes: Android, Apple, Base, Engine, Favicons, Tiles

Constant Summary collapse

VERSION =
"0.6.1"

Class Attribute Summary collapse

Class Attribute Details

.background_colorObject



18
19
20
# File 'lib/all_the_favicons.rb', line 18

def background_color
  @background_color || "#ffffff"
end

.ms_tile_colorObject



22
23
24
# File 'lib/all_the_favicons.rb', line 22

def ms_tile_color
  @ms_tile_color || "#2d89ef"
end

.nameObject



26
27
28
# File 'lib/all_the_favicons.rb', line 26

def name
  @name || Rails.application.class.module_parent_name
end

.pinned_tab_colorObject



34
35
36
# File 'lib/all_the_favicons.rb', line 34

def pinned_tab_color
  @pinned_tab_color || "#000000"
end

.short_nameObject



30
31
32
# File 'lib/all_the_favicons.rb', line 30

def short_name
  @short_name || name
end

.theme_colorObject



38
39
40
# File 'lib/all_the_favicons.rb', line 38

def theme_color
  @theme_color || "#ffffff"
end