bullet_train-themes 1.0.10 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47e773277d423022a2eefa037691144a144cb12a2de66b4c044dd21b31782a26
4
- data.tar.gz: a7c976430dce24ebdc11485b7bccd2db7422da01217e1a1b4c8e80f0595721d1
3
+ metadata.gz: cc879c19916c893eaf301d96d22752c768f5de77e9b3f9900edf825639083ea5
4
+ data.tar.gz: 20a29f7de7ec6365ce57571bde29bdcc8ef43a848a37a5f0f7f53cebc9971e5e
5
5
  SHA512:
6
- metadata.gz: e1c5c5b3d609cf36dc114bef66c3678052f20db6a7a06db1738e12dbc313c011e838ae8aa2eb4cb7e82de98cbd2b1bf0ea9f954a5eda807703b21c282db6bf23
7
- data.tar.gz: 466d40287fc3efb43c67407b6659c107dff965217a7822b957c9bdf3e5ae978ae28baccb11d7a27af79db07e765ab94b1510494a885af5c100cc19be5446e01b
6
+ metadata.gz: 06b89bc4e91cef52a4dbf44d47476d6949567dfd95279a08ea9e9c05c387bd8513b3e3dbc1ca0edafaf047b04d8aecafbf9a80f536cf51b1e0f92ec6900e335d
7
+ data.tar.gz: 7e448dd68f7dbfbde0362fc9be18520605ba48686b200d8d58aab8ba6009f3961a1b7a62e9563d10b65b48dba5fe64befdc91b6cccb368e8223592f6549b083d
data/.bt-link ADDED
File without changes
@@ -8,12 +8,6 @@ module ThemeHelper
8
8
  /^shared\//,
9
9
  ]
10
10
 
11
- def current_theme
12
- # Temporarily hardcoded. We actually don't want this to be just an `mattr_accessor` because the same application
13
- # can use multiple themes. Need to think about this a bit.
14
- :light
15
- end
16
-
17
11
  def current_theme_object
18
12
  @current_theme_object ||= "BulletTrain::Themes::#{current_theme.to_s.classify}::Theme".constantize.new
19
13
  end
@@ -16,6 +16,7 @@ other_options ||= {}
16
16
  <div data-controller="<%= stimulus_controller %>">
17
17
  <%= render 'shared/fields/field', form: form, method: method, helper: :password_field, options: options, other_options: other_options %>
18
18
  <% if options[:show_strength_indicator] %>
19
- <div data-<%= stimulus_controller %>-target="strengthIndicator" class="hidden"></div>
19
+ <% # TODO This is the wrong place to define this kind of style, but I couldn't make this work in the `:help` content buffer. %>
20
+ <div data-<%= stimulus_controller %>-target="strengthIndicator" class="hidden mt-1.5 text-xs text-red"></div>
20
21
  <% end %>
21
22
  </div>
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Themes
3
- VERSION = "1.0.10"
3
+ VERSION = "1.0.13"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-themes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-16 00:00:00.000000000 Z
11
+ date: 2022-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -31,6 +31,7 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
+ - ".bt-link"
34
35
  - MIT-LICENSE
35
36
  - README.md
36
37
  - Rakefile
@@ -86,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
87
  - !ruby/object:Gem::Version
87
88
  version: '0'
88
89
  requirements: []
89
- rubygems_version: 3.2.22
90
+ rubygems_version: 3.3.7
90
91
  signing_key:
91
92
  specification_version: 4
92
93
  summary: Bullet Train Themes