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.2 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.1 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.0 lib/bullet_train/themes/light.rb