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.11.0 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.10.0 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.9.0 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.8.5 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.8.4 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.8.3 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.8.2 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.8.1 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.8.0 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.7.23 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.7.22 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.7.21 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.7.20 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.7.19 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.7.18 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.7.17 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.7.16 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.7.15 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.7.14 lib/bullet_train/themes/light.rb
bullet_train-themes-light-1.7.13 lib/bullet_train/themes/light.rb