Sha256: 879fac60ea071b716c3ed8683da38608e7784c2a71612879230df9556bdfc336

Contents?: true

Size: 1.18 KB

Versions: 3

Compression:

Stored size: 1.18 KB

Contents

# Extracted from initializer to allow auto loading changes in
# development
class ScrolledThemesPlugin
  def configure(config) # rubocop:disable Metrics/MethodLength
    config.themes.register(:default,
                           stylesheet_packs: ['fonts/sourceSansPro'],
                           font_family: {
                             entry: '"Source Sans Pro", sans-serif',
                             navigation: '"Source Sans Pro", sans-serif'
                           },
                           colors: {
                             accent: '#e10028',
                             navigation: {
                               surface: '#fff',
                               on_surface: '#000',
                               primary_on_surface: '#00375a',
                               secondary_on_surface: '#c2c2c2',
                               background: 'rgba(255, 255, 255, 0.95)',
                               on_background: '#000',
                               primary_on_background: '#00375a'
                             }
                           },
                           logo_alt_text: 'Pageflow',
                           theme_color: '#ffffff')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pageflow-15.6.1 entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/themes_plugin.rb.tt
pageflow-15.6.0 entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/themes_plugin.rb.tt
pageflow-15.5.0 entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/themes_plugin.rb.tt