bullet_train-themes-light 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: 41d736402e6f38b02c5a08f133eca0f16ce4d1760fb2a8027a0a5254fcafbbdb
4
- data.tar.gz: 5773196742bd8871951bc176b2b11f61d983ab89ddf19f9ec9379fc1868e9287
3
+ metadata.gz: b25323cfe3d83d7ab14bd30cfa6b5af8636f0ee4a9eb521f86204eab3db80bf6
4
+ data.tar.gz: f268d3e1d4b8926860cb82f1c6bea86ff96c86399d3be2a78a9863835e678616
5
5
  SHA512:
6
- metadata.gz: 2bf2788ddb448c704c2d59b0f1e26b4b1013540890c8e029fefd09cc51209b6aa94bc6a5d9fc311193ede7776d8431c9bb394e8731c9f505fb0fd86188be8cc2
7
- data.tar.gz: 6fa8e7ec0e8b642cf438b2c1d08f1fa125f23d04dedad5259fcf2228930f9c471d8ce9beeed760f78bbce303baaaaa4743bcaeb21adbcb7f80a65b8854cf11c4
6
+ metadata.gz: 6f966baf2793fb464120e4fb1219343e8e23e9b8ff7800270ba292d483fa1605b0631df7997b26ccf25d37a6909e1a57bd20a6e6840e441ce2a3c6c431f95ff8
7
+ data.tar.gz: f30f0153412ec7c0fd1fd9a52703e09a8b1647becdd2231ccbe8a0cea88f6658aa9cd88c87b0493fe8c0ef537bcfe81384473f8865bbf7c4c719ba8e1d5cfd33
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2022 Andrew Culver
1
+ Copyright 2022 Bullet Train, Inc.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1,3 +1,10 @@
1
+ .select2-container--default {
2
+ .select2-selection--single,
3
+ .select2-selection--multiple {
4
+ @apply border-gray-300;
5
+ }
6
+ }
7
+
1
8
  .select2-selection.select2-selection--single {
2
9
  min-height: 37px;
3
10
  .select2-selection__rendered {
@@ -40,6 +40,8 @@ a[href^="bullettrain://users"], a[href^="bullettrain://teams"], span.tribute-use
40
40
  display: none;
41
41
  }
42
42
  li {
43
+ @apply flex items-center;
44
+
43
45
  span {
44
46
  font-weight: normal;
45
47
  }
@@ -7,13 +7,11 @@
7
7
  background-color: rgba(0, 0, 0, 0.15);
8
8
  }
9
9
 
10
- @variants dark {
11
- .bg-dark-blue-gradient {
12
- &:before {
13
- background: linear-gradient(to bottom right, #633d7d, #2867ab 100%);
14
- }
10
+ .bg-dark-blue-gradient {
11
+ &:before {
15
12
  background: linear-gradient(to bottom right, #633d7d, #2867ab 100%);
16
13
  }
14
+ background: linear-gradient(to bottom right, #633d7d, #2867ab 100%);
17
15
  }
18
16
 
19
17
  /**
@@ -147,8 +145,8 @@
147
145
  }
148
146
 
149
147
  .select2-selection--multiple, .select2-selection--single {
150
- @apply bg-sealBlue-300 focus:ring-blue !important;
151
- @apply text-sealBlue-900 border-sealBlue-100;
148
+ @apply bg-sealBlue-300 focus:ring-blue border-sealBlue-100 !important;
149
+ @apply text-sealBlue-900;
152
150
  }
153
151
 
154
152
  /* For the selected options in the multiple select2 component */
@@ -185,6 +183,22 @@
185
183
  }
186
184
  }
187
185
 
186
+ .tribute-container {
187
+ ul {
188
+ @apply bg-sealBlue-300 border-sealBlue-100 !important;
189
+ }
190
+ }
191
+
192
+ .trix-dialogs {
193
+ @apply bg-sealBlue-300 border-sealBlue-100 !important;
194
+ }
195
+
196
+ .trix-content {
197
+ a[href^="bullettrain://"] {
198
+ @apply bg-sealBlue-600 text-white;
199
+ }
200
+ }
201
+
188
202
  /* CKEditor */
189
203
  .ck {
190
204
  --ck-color-base-background: theme('colors.sealBlue.300');
@@ -3,6 +3,7 @@
3
3
  <% divider ||= nil %>
4
4
  <% no_background ||= false %>
5
5
  <% title_size ||= "text-xl" %>
6
+ <% body = p.content_for(:body) || p.content_for(:raw_body) %>
6
7
 
7
8
  <div class="<%= "bg-white rounded-md shadow dark:bg-sealBlue-400" unless no_background %> overflow-hidden">
8
9
  <div class="py-6 px-8 space-y-2 <%= 'border-b shadow-sm dark:border-sealBlue-500' if divider %>">
@@ -26,19 +27,19 @@
26
27
  </div>
27
28
  <% end %>
28
29
 
29
- <% if p.content_for?(:body) || p.content_for?(:actions) %>
30
- <div class="<%= p.content_for?(:body) ? 'py-7' : 'pb-7' %> px-8 space-y-7">
31
- <% if p.content_for? :body %>
32
- <div class="space-y-4 <%= '-mt-4' unless divider %>">
33
- <%= p.content_for :body %>
34
- </div>
35
- <% end %>
36
-
37
- <% if p.content_for? :actions %>
38
- <div class="space-x">
39
- <%= p.content_for :actions %>
40
- </div>
41
- <% end %>
30
+ <% if body %>
31
+ <div class="<%= "pt-7 px-8 space-y-7 #{p.content_for?(:actions) ? 'pb-3' : 'pb-7'}" unless p.content_for?(:raw_body) %>">
32
+ <div class="space-y-4 <%= '-mt-4' unless divider %>">
33
+ <%= body %>
34
+ </div>
35
+ </div>
36
+ <% end %>
37
+
38
+ <% if p.content_for? :actions %>
39
+ <div class="pb-7 px-8 space-y-7">
40
+ <div class="space-x">
41
+ <%= p.content_for :actions %>
42
+ </div>
42
43
  </div>
43
44
  <% end %>
44
45
  </div>
@@ -15,7 +15,7 @@
15
15
 
16
16
  <% menu = capture do %>
17
17
  <div class="flex items-center flex-shrink-0 p-4 bg-blue-darker md:rounded-tl-lg electron-draggable electron-title-bar dark:bg-black dark:bg-opacity-10">
18
- <%= image_tag image_path('light/logo/logo.png'), class: 'h-5 w-auto mx-auto' %>
18
+ <%= image_tag image_path("logo/logo.png"), class: 'h-5 w-auto mx-auto' %>
19
19
 
20
20
  <div class="lg:hidden absolute right-0">
21
21
  <button class="ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white dark:ring-transparent"
@@ -1,6 +1,6 @@
1
1
  <%= stylesheet_link_tag 'https://rsms.me/inter/inter.css', media: 'all', 'data-turbo-track': 'reload' %>
2
- <link href="<%= image_path('light/logo/favicon.png') %>" rel="shortcut icon" />
3
- <link href="<%= image_path('light/logo/logo-square-bg.png') %>" rel="apple-touch-icon" />
2
+ <link href="<%= image_path('logo/favicon.png') %>" rel="shortcut icon" />
3
+ <link href="<%= image_path('logo/icon.png') %>" rel="apple-touch-icon" />
4
4
  <%= javascript_include_tag 'application', 'data-turbo-track': 'reload' %>
5
5
  <%= stylesheet_link_tag 'application', media: 'all', 'data-turbo-track': 'reload' %>
6
6
  <%= javascript_include_tag 'application.light', 'data-turbo-track': 'reload' %>
@@ -7,14 +7,14 @@
7
7
  <div class="bg-white py-8 px-10 shadow rounded-lg dark:bg-sealBlue-400">
8
8
  <div class="sm:mx-auto sm:w-full sm:max-w-md py-5">
9
9
  <a href="<%= main_app.root_path %>" class="block py-3">
10
- <img alt="" src="<%= image_path("light/logo/logo.png") %>" width="<%= image_width_for_height('light/logo/logo.png', 54) %>" height="54" class="mx-auto h-12 w-auto" />
10
+ <img alt="" src="<%= image_path("logo/logo.png") %>" width="<%= image_width_for_height("logo/logo.png", BulletTrain::Themes.logo_height) %>" height="<%= BulletTrain::Themes.logo_height %>" class="mx-auto h-12 w-auto" />
11
11
  </a>
12
12
 
13
13
  <h1 class="mt-6 text-center text-3xl font-semibold tracking-tight dark:text-white">
14
14
  <%= p.yield :title %>
15
15
  </h1>
16
16
 
17
- <%= render "themes/light/line" %>
17
+ <%= render "shared/line" %>
18
18
  </div>
19
19
 
20
20
  <div class="electron-undraggable pt-5 space-y-5">
@@ -24,8 +24,7 @@
24
24
  </div>
25
25
  </div>
26
26
 
27
- <% # we have to list out the evaluations we want possible above so purgecss includes them in production. %>
27
+ <% # We have to list out every option we want to be available at runtime so they're included in our Tailwind output. %>
28
28
  <% if false %>
29
- <div class="max-w-md"></div>
30
- <div class="max-w-lg"></div>
29
+ <div class="max-w-md max-w-lg"></div>
31
30
  <% end %>
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module Light
4
- VERSION = "1.0.10"
4
+ VERSION = "1.0.13"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-themes-light
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-03-09 00:00:00.000000000 Z
11
+ date: 2022-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
- rubygems_version: 3.2.22
124
+ rubygems_version: 3.3.7
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: 'Bullet Train Themes: Light'