Sha256: e41960e6d4682bfa92bf6d249736e106211ca4a48fc956284d433c83a6a758cb

Contents?: true

Size: 337 Bytes

Versions: 8

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

module Archangel
  ##
  # Theme directories constant
  #
  THEME_DIRECTORIES = [Archangel::Engine.root, Rails.root].freeze

  ##
  # Theme names constant
  #
  THEMES = Dir["app/themes/*/"].map { |dir| File.basename(dir) }.freeze

  ##
  # Default theme constant
  #
  THEME_DEFAULT = "default".freeze
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 lib/archangel/constants/theme.rb
archangel-0.0.8 lib/archangel/constants/theme.rb
archangel-0.0.7 lib/archangel/constants/theme.rb
archangel-0.0.6 lib/archangel/constants/theme.rb
archangel-0.0.5 lib/archangel/constants/theme.rb
archangel-0.0.4 lib/archangel/constants/theme.rb
archangel-0.0.3 lib/archangel/constants/theme.rb
archangel-0.0.2 lib/archangel/constants/theme.rb