Sha256: 125497451e3748b2b225bab7cedd753a92c2356ecb3020dc1b023e9457910ffe

Contents?: true

Size: 827 Bytes

Versions: 8

Compression:

Stored size: 827 Bytes

Contents

require "bullet_train/themes/light/version"
require "bullet_train/themes/light/engine"
require "bullet_train/themes/tailwind_css"
require "bullet_train/themes/light/file_replacer"
require "bullet_train/themes/light/custom_theme_file_replacer"

module BulletTrain
  module Themes
    module Light
      # TODO Not sure this is the right place for this in the long-term.
      mattr_accessor :color, default: :blue
      mattr_accessor :secondary_color, default: nil
      mattr_accessor :logo_color_shift, default: false
      mattr_accessor :show_logo_in_account, default: false
      mattr_accessor :navigation, default: :top
      mattr_accessor :original_devise_path

      class Theme < BulletTrain::Themes::TailwindCss::Theme
        def directory_order
          ["light"] + super
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bullet_train-themes-light-1.2.9 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.2.8 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.2.7 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.2.6 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.2.5 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.2.4 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.2.3 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.2.2 lib/bullet_train/themes/light.rb