Sha256: 19318c88b16086d9fdf63fbbf0501408a6b86dbb0de7cfed55afe55da805bb6c

Contents?: true

Size: 1.24 KB

Versions: 85

Compression:

Stored size: 1.24 KB

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
      # Matches the color list in app/assets/stylesheets/light/tailwind/colors.css
      mattr_accessor :colors, default: %w[
        blue
        slate
        gray
        zinc
        neutral
        stone
        red
        orange
        amber
        yellow
        lime
        green
        emerald
        teal
        cyan
        sky
        indigo
        violet
        purple
        fuchsia
        pink
        rose
      ]

      # 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

85 entries across 85 versions & 1 rubygems

Version Path
bullet_train-themes-light-1.4.1 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.4.0 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.25 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.24 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.3.23 lib/bullet_train/themes/light.rb