Skip to content
KavyaSukumar edited this page Mar 17, 2016 · 5 revisions

Default version of Autotune comes with a Generic group that has a generic theme. More info on groups are here.

Creating default list of themes and groups

An initial list of groups and themes can be specified at config\theme_map.yml

---
- name: Generic
  theme: generic
- name: My News org
  theme: newsorg

Additional themes can be created in the UI.

Defining themes

Generic theme at config\initializers\autotune.rb. This is used as the template for all themes.

conf.generic_theme = {
  'general' => {
    'homepage_redirect' => 'voxmedia.com'
  },
  'colors' => {
    'primary-color' => '#292929',
    'secondary-color' => '#e6e6e6'
  },
  'fonts' => {
    'body-font-family' => 'Verdana, Helvetica, Roboto, Arial, sans-serif',
    'header-font-family' => "Georgia, Cambria, 'Times New Roman', Times, serif"
  },
  'social' => {
    'twitter-handle' => '@voxmediainc'
  }
}