Sha256: 8b15ea66c772729f4a15311b299e94d59790aff0c1738cc9d5e0f351e8037221

Contents?: true

Size: 831 Bytes

Versions: 23

Compression:

Stored size: 831 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 :background, default: nil
      mattr_accessor :logo_color_shift, default: false
      mattr_accessor :show_logo_in_account, default: false
      mattr_accessor :navigation, default: :top

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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
bullet_train-themes-light-1.3.22 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.21 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.20 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.19 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.18 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.17 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.16 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.15 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.14 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.13 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.12 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.11 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.10 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.9 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.8 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.7 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.6 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.5 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.4 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.3 lib/bullet_train/themes/light.rb