bullet_train-themes-light 1.2.10 → 1.2.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/light/fields/date_field.css +1 -1
  3. data/app/assets/stylesheets/light/fields/index.css +5 -0
  4. data/app/assets/stylesheets/light/fields/super_select.css +5 -5
  5. data/app/assets/stylesheets/light/fields/trix_editor.css +1 -1
  6. data/app/assets/stylesheets/light/tailwind/colors/amber.css +23 -0
  7. data/app/assets/stylesheets/light/tailwind/colors/blue.css +23 -0
  8. data/app/assets/stylesheets/light/tailwind/colors/cyan.css +23 -0
  9. data/app/assets/stylesheets/light/tailwind/colors/emerald.css +23 -0
  10. data/app/assets/stylesheets/light/tailwind/colors/fuchsia.css +23 -0
  11. data/app/assets/stylesheets/light/tailwind/colors/gray.css +23 -0
  12. data/app/assets/stylesheets/light/tailwind/colors/green.css +23 -0
  13. data/app/assets/stylesheets/light/tailwind/colors/indigo.css +23 -0
  14. data/app/assets/stylesheets/light/tailwind/colors/lime.css +23 -0
  15. data/app/assets/stylesheets/light/tailwind/colors/neutral.css +23 -0
  16. data/app/assets/stylesheets/light/tailwind/colors/orange.css +23 -0
  17. data/app/assets/stylesheets/light/tailwind/colors/pink.css +23 -0
  18. data/app/assets/stylesheets/light/tailwind/colors/purple.css +23 -0
  19. data/app/assets/stylesheets/light/tailwind/colors/red.css +23 -0
  20. data/app/assets/stylesheets/light/tailwind/colors/rose.css +23 -0
  21. data/app/assets/stylesheets/light/tailwind/colors/sky.css +23 -0
  22. data/app/assets/stylesheets/light/tailwind/colors/slate.css +23 -0
  23. data/app/assets/stylesheets/light/tailwind/colors/stone.css +23 -0
  24. data/app/assets/stylesheets/light/tailwind/colors/teal.css +23 -0
  25. data/app/assets/stylesheets/light/tailwind/colors/violet.css +23 -0
  26. data/app/assets/stylesheets/light/tailwind/colors/yellow.css +23 -0
  27. data/app/assets/stylesheets/light/tailwind/colors/zinc.css +23 -0
  28. data/app/assets/stylesheets/light/tailwind/colors.css +45 -296
  29. data/app/assets/stylesheets/light/tailwind/components.css +14 -6
  30. data/app/assets/stylesheets/light/tailwind/dark-mode.css +29 -92
  31. data/app/assets/stylesheets/light/tailwind/secondary_colors/amber.css +12 -0
  32. data/app/assets/stylesheets/light/tailwind/secondary_colors/blue.css +12 -0
  33. data/app/assets/stylesheets/light/tailwind/secondary_colors/cyan.css +12 -0
  34. data/app/assets/stylesheets/light/tailwind/secondary_colors/emerald.css +12 -0
  35. data/app/assets/stylesheets/light/tailwind/secondary_colors/fuchsia.css +12 -0
  36. data/app/assets/stylesheets/light/tailwind/secondary_colors/gray.css +12 -0
  37. data/app/assets/stylesheets/light/tailwind/secondary_colors/green.css +12 -0
  38. data/app/assets/stylesheets/light/tailwind/secondary_colors/indigo.css +12 -0
  39. data/app/assets/stylesheets/light/tailwind/secondary_colors/lime.css +12 -0
  40. data/app/assets/stylesheets/light/tailwind/secondary_colors/neutral.css +12 -0
  41. data/app/assets/stylesheets/light/tailwind/secondary_colors/orange.css +12 -0
  42. data/app/assets/stylesheets/light/tailwind/secondary_colors/pink.css +12 -0
  43. data/app/assets/stylesheets/light/tailwind/secondary_colors/purple.css +12 -0
  44. data/app/assets/stylesheets/light/tailwind/secondary_colors/red.css +12 -0
  45. data/app/assets/stylesheets/light/tailwind/secondary_colors/rose.css +12 -0
  46. data/app/assets/stylesheets/light/tailwind/secondary_colors/sky.css +12 -0
  47. data/app/assets/stylesheets/light/tailwind/secondary_colors/slate.css +12 -0
  48. data/app/assets/stylesheets/light/tailwind/secondary_colors/stone.css +12 -0
  49. data/app/assets/stylesheets/light/tailwind/secondary_colors/teal.css +12 -0
  50. data/app/assets/stylesheets/light/tailwind/secondary_colors/violet.css +12 -0
  51. data/app/assets/stylesheets/light/tailwind/secondary_colors/yellow.css +12 -0
  52. data/app/assets/stylesheets/light/tailwind/secondary_colors/zinc.css +12 -0
  53. data/app/assets/stylesheets/light/tailwind/utilities.css +1 -22
  54. data/app/views/themes/light/_alert.html.erb +15 -11
  55. data/app/views/themes/light/_box.html.erb +5 -5
  56. data/app/views/themes/light/_breadcrumb.html.erb +3 -3
  57. data/app/views/themes/light/_cell.html.erb +2 -2
  58. data/app/views/themes/light/_decision_line.html.erb +2 -2
  59. data/app/views/themes/light/_line.html.erb +2 -2
  60. data/app/views/themes/light/_well.html.erb +2 -2
  61. data/app/views/themes/light/actions/_action.html.erb +7 -7
  62. data/app/views/themes/light/actions/_list.html.erb +1 -1
  63. data/app/views/themes/light/attributes/_base.html.erb +1 -1
  64. data/app/views/themes/light/attributes/_progress_bar.html.erb +1 -1
  65. data/app/views/themes/light/billing/_pricing_table.html.erb +5 -5
  66. data/app/views/themes/light/commentary/_box.html.erb +1 -11
  67. data/app/views/themes/light/conversations/_card.html.erb +5 -5
  68. data/app/views/themes/light/conversations/_comment.html.erb +3 -3
  69. data/app/views/themes/light/conversations/_message.html.erb +7 -7
  70. data/app/views/themes/light/conversations/_thread_border.html.erb +1 -1
  71. data/app/views/themes/light/fields/_field.html.erb +4 -4
  72. data/app/views/themes/light/layouts/_account.html.erb +6 -6
  73. data/app/views/themes/light/layouts/_devise.html.erb +1 -2
  74. data/app/views/themes/light/menu/_account.html.erb +7 -3
  75. data/app/views/themes/light/menu/_heading.html.erb +1 -1
  76. data/app/views/themes/light/menu/_item.html.erb +2 -2
  77. data/app/views/themes/light/menu/_mobile.html.erb +6 -6
  78. data/app/views/themes/light/menu/_open.html.erb +1 -1
  79. data/app/views/themes/light/menu/_subsection.html.erb +5 -3
  80. data/app/views/themes/light/menu/_user.html.erb +1 -1
  81. data/app/views/themes/light/workflow/_box.html.erb +1 -1
  82. data/lib/bullet_train/themes/light/version.rb +1 -1
  83. data/lib/bullet_train/themes/light.rb +1 -0
  84. data/tailwind.light.config.js +8 -45
  85. metadata +46 -2
@@ -0,0 +1,12 @@
1
+ .theme-secondary-fuchsia {
2
+ --secondary-50: theme('colors.fuchsia.50');
3
+ --secondary-100: theme('colors.fuchsia.100');
4
+ --secondary-200: theme('colors.fuchsia.200');
5
+ --secondary-300: theme('colors.fuchsia.300');
6
+ --secondary-400: theme('colors.fuchsia.400');
7
+ --secondary-500: theme('colors.fuchsia.500');
8
+ --secondary-600: theme('colors.fuchsia.600');
9
+ --secondary-700: theme('colors.fuchsia.700');
10
+ --secondary-800: theme('colors.fuchsia.800');
11
+ --secondary-900: theme('colors.fuchsia.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-gray {
2
+ --secondary-50: theme('colors.slate.50');
3
+ --secondary-100: theme('colors.slate.100');
4
+ --secondary-200: theme('colors.slate.200');
5
+ --secondary-300: theme('colors.slate.300');
6
+ --secondary-400: theme('colors.slate.400');
7
+ --secondary-500: theme('colors.slate.500');
8
+ --secondary-600: theme('colors.slate.600');
9
+ --secondary-700: theme('colors.slate.700');
10
+ --secondary-800: theme('colors.slate.800');
11
+ --secondary-900: theme('colors.slate.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-green {
2
+ --secondary-50: theme('colors.green.50');
3
+ --secondary-100: theme('colors.green.100');
4
+ --secondary-200: theme('colors.green.200');
5
+ --secondary-300: theme('colors.green.300');
6
+ --secondary-400: theme('colors.green.400');
7
+ --secondary-500: theme('colors.green.500');
8
+ --secondary-600: theme('colors.green.600');
9
+ --secondary-700: theme('colors.green.700');
10
+ --secondary-800: theme('colors.green.800');
11
+ --secondary-900: theme('colors.green.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-indigo {
2
+ --secondary-50: theme('colors.indigo.50');
3
+ --secondary-100: theme('colors.indigo.100');
4
+ --secondary-200: theme('colors.indigo.200');
5
+ --secondary-300: theme('colors.indigo.300');
6
+ --secondary-400: theme('colors.indigo.400');
7
+ --secondary-500: theme('colors.indigo.500');
8
+ --secondary-600: theme('colors.indigo.600');
9
+ --secondary-700: theme('colors.indigo.700');
10
+ --secondary-800: theme('colors.indigo.800');
11
+ --secondary-900: theme('colors.indigo.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-lime {
2
+ --secondary-50: theme('colors.lime.50');
3
+ --secondary-100: theme('colors.lime.100');
4
+ --secondary-200: theme('colors.lime.200');
5
+ --secondary-300: theme('colors.lime.300');
6
+ --secondary-400: theme('colors.lime.400');
7
+ --secondary-500: theme('colors.lime.500');
8
+ --secondary-600: theme('colors.lime.600');
9
+ --secondary-700: theme('colors.lime.700');
10
+ --secondary-800: theme('colors.lime.800');
11
+ --secondary-900: theme('colors.lime.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-neutral {
2
+ --secondary-50: theme('colors.neutral.50');
3
+ --secondary-100: theme('colors.neutral.100');
4
+ --secondary-200: theme('colors.neutral.200');
5
+ --secondary-300: theme('colors.neutral.300');
6
+ --secondary-400: theme('colors.neutral.400');
7
+ --secondary-500: theme('colors.neutral.500');
8
+ --secondary-600: theme('colors.neutral.600');
9
+ --secondary-700: theme('colors.neutral.700');
10
+ --secondary-800: theme('colors.neutral.800');
11
+ --secondary-900: theme('colors.neutral.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-orange {
2
+ --secondary-50: theme('colors.orange.50');
3
+ --secondary-100: theme('colors.orange.100');
4
+ --secondary-200: theme('colors.orange.200');
5
+ --secondary-300: theme('colors.orange.300');
6
+ --secondary-400: theme('colors.orange.400');
7
+ --secondary-500: theme('colors.orange.500');
8
+ --secondary-600: theme('colors.orange.600');
9
+ --secondary-700: theme('colors.orange.700');
10
+ --secondary-800: theme('colors.orange.800');
11
+ --secondary-900: theme('colors.orange.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-pink {
2
+ --secondary-50: theme('colors.pink.50');
3
+ --secondary-100: theme('colors.pink.100');
4
+ --secondary-200: theme('colors.pink.200');
5
+ --secondary-300: theme('colors.pink.300');
6
+ --secondary-400: theme('colors.pink.400');
7
+ --secondary-500: theme('colors.pink.500');
8
+ --secondary-600: theme('colors.pink.600');
9
+ --secondary-700: theme('colors.pink.700');
10
+ --secondary-800: theme('colors.pink.800');
11
+ --secondary-900: theme('colors.pink.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-purple {
2
+ --secondary-50: theme('colors.purple.50');
3
+ --secondary-100: theme('colors.purple.100');
4
+ --secondary-200: theme('colors.purple.200');
5
+ --secondary-300: theme('colors.purple.300');
6
+ --secondary-400: theme('colors.purple.400');
7
+ --secondary-500: theme('colors.purple.500');
8
+ --secondary-600: theme('colors.purple.600');
9
+ --secondary-700: theme('colors.purple.700');
10
+ --secondary-800: theme('colors.purple.800');
11
+ --secondary-900: theme('colors.purple.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-red {
2
+ --secondary-50: theme('colors.red.50');
3
+ --secondary-100: theme('colors.red.100');
4
+ --secondary-200: theme('colors.red.200');
5
+ --secondary-300: theme('colors.red.300');
6
+ --secondary-400: theme('colors.red.400');
7
+ --secondary-500: theme('colors.red.500');
8
+ --secondary-600: theme('colors.red.600');
9
+ --secondary-700: theme('colors.red.700');
10
+ --secondary-800: theme('colors.red.800');
11
+ --secondary-900: theme('colors.red.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-rose {
2
+ --secondary-50: theme('colors.rose.50');
3
+ --secondary-100: theme('colors.rose.100');
4
+ --secondary-200: theme('colors.rose.200');
5
+ --secondary-300: theme('colors.rose.300');
6
+ --secondary-400: theme('colors.rose.400');
7
+ --secondary-500: theme('colors.rose.500');
8
+ --secondary-600: theme('colors.rose.600');
9
+ --secondary-700: theme('colors.rose.700');
10
+ --secondary-800: theme('colors.rose.800');
11
+ --secondary-900: theme('colors.rose.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-sky {
2
+ --secondary-50: theme('colors.sky.50');
3
+ --secondary-100: theme('colors.sky.100');
4
+ --secondary-200: theme('colors.sky.200');
5
+ --secondary-300: theme('colors.sky.300');
6
+ --secondary-400: theme('colors.sky.400');
7
+ --secondary-500: theme('colors.sky.500');
8
+ --secondary-600: theme('colors.sky.600');
9
+ --secondary-700: theme('colors.sky.700');
10
+ --secondary-800: theme('colors.sky.800');
11
+ --secondary-900: theme('colors.sky.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-slate {
2
+ --secondary-50: theme('colors.slate.50');
3
+ --secondary-100: theme('colors.slate.100');
4
+ --secondary-200: theme('colors.slate.200');
5
+ --secondary-300: theme('colors.slate.300');
6
+ --secondary-400: theme('colors.slate.400');
7
+ --secondary-500: theme('colors.slate.500');
8
+ --secondary-600: theme('colors.slate.600');
9
+ --secondary-700: theme('colors.slate.700');
10
+ --secondary-800: theme('colors.slate.800');
11
+ --secondary-900: theme('colors.slate.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-stone {
2
+ --secondary-50: theme('colors.stone.50');
3
+ --secondary-100: theme('colors.stone.100');
4
+ --secondary-200: theme('colors.stone.200');
5
+ --secondary-300: theme('colors.stone.300');
6
+ --secondary-400: theme('colors.stone.400');
7
+ --secondary-500: theme('colors.stone.500');
8
+ --secondary-600: theme('colors.stone.600');
9
+ --secondary-700: theme('colors.stone.700');
10
+ --secondary-800: theme('colors.stone.800');
11
+ --secondary-900: theme('colors.stone.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-teal {
2
+ --secondary-50: theme('colors.teal.50');
3
+ --secondary-100: theme('colors.teal.100');
4
+ --secondary-200: theme('colors.teal.200');
5
+ --secondary-300: theme('colors.teal.300');
6
+ --secondary-400: theme('colors.teal.400');
7
+ --secondary-500: theme('colors.teal.500');
8
+ --secondary-600: theme('colors.teal.600');
9
+ --secondary-700: theme('colors.teal.700');
10
+ --secondary-800: theme('colors.teal.800');
11
+ --secondary-900: theme('colors.teal.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-violet {
2
+ --secondary-50: theme('colors.violet.50');
3
+ --secondary-100: theme('colors.violet.100');
4
+ --secondary-200: theme('colors.violet.200');
5
+ --secondary-300: theme('colors.violet.300');
6
+ --secondary-400: theme('colors.violet.400');
7
+ --secondary-500: theme('colors.violet.500');
8
+ --secondary-600: theme('colors.violet.600');
9
+ --secondary-700: theme('colors.violet.700');
10
+ --secondary-800: theme('colors.violet.800');
11
+ --secondary-900: theme('colors.violet.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-yellow {
2
+ --secondary-50: theme('colors.yellow.50');
3
+ --secondary-100: theme('colors.yellow.100');
4
+ --secondary-200: theme('colors.yellow.200');
5
+ --secondary-300: theme('colors.yellow.300');
6
+ --secondary-400: theme('colors.yellow.400');
7
+ --secondary-500: theme('colors.yellow.500');
8
+ --secondary-600: theme('colors.yellow.600');
9
+ --secondary-700: theme('colors.yellow.700');
10
+ --secondary-800: theme('colors.yellow.800');
11
+ --secondary-900: theme('colors.yellow.900');
12
+ }
@@ -0,0 +1,12 @@
1
+ .theme-secondary-zinc {
2
+ --secondary-50: theme('colors.zinc.50');
3
+ --secondary-100: theme('colors.zinc.100');
4
+ --secondary-200: theme('colors.zinc.200');
5
+ --secondary-300: theme('colors.zinc.300');
6
+ --secondary-400: theme('colors.zinc.400');
7
+ --secondary-500: theme('colors.zinc.500');
8
+ --secondary-600: theme('colors.zinc.600');
9
+ --secondary-700: theme('colors.zinc.700');
10
+ --secondary-800: theme('colors.zinc.800');
11
+ --secondary-900: theme('colors.zinc.900');
12
+ }
@@ -23,28 +23,7 @@
23
23
  .gap-x {
24
24
  @apply gap-x-4;
25
25
  }
26
-
27
- .bg-dark-gradient {
28
- background-image: linear-gradient(to bottom, var(--primary-700) 0%, var(--primary-800) 100%);
29
- }
30
-
31
- .bg-dark-awesome-gradient {
32
- background-image: linear-gradient(to bottom right, darken(#D7BBEA, 45%) 10%, #0e369a 100%);
33
- }
34
-
35
- .bg-light-gradient {
36
- &:before {
37
- content: "";
38
- position: fixed;
39
- z-index: -1;
40
- background: linear-gradient(to bottom right, var(--light-gradient-from), var(--light-gradient-to));
41
- top: 0px;
42
- left: 0px;
43
- bottom: 0px;
44
- right: 0px;
45
- }
46
- }
47
-
26
+
48
27
  [hidden] {
49
28
  display: none !important;
50
29
  }
@@ -1,15 +1,19 @@
1
- <% color ||= 'yellow' %>
1
+ <% color ||= "yellow" %>
2
2
  <% tighter ||= false %>
3
3
 
4
- <div class="rounded-md bg-<%= color %>-400 border border-<%= color %>-500 py-4 px-5 mb-3">
5
- <h3 class="text-sm text-<%= color %>-800 font-light">
4
+ <%
5
+ case color
6
+ when "yellow"
7
+ div_classes = "bg-amber-100 border-amber-200"
8
+ header_classes = "text-amber-800"
9
+ when "red"
10
+ div_classes = "bg-red-300 border-red-400"
11
+ header_classes = "text-red-700"
12
+ end
13
+ %>
14
+
15
+ <div class="rounded-md border <%= div_classes %> py-4 px-5 mb-3">
16
+ <h3 class="text-sm <%= header_classes %> font-light">
6
17
  <%= yield %>
7
18
  </h3>
8
- </div>
9
-
10
- <% # we have to list out the evaluations we want possible above so purgecss includes them in production. %>
11
- <% if false %>
12
- <div class="bg-yellow-400 border-yellow-500 dark:border-yellow-200 text-yellow-800 dark:text-yellow-200"></div>
13
- <div class="bg-red-400 border-red-500 dark:border-red-200 text-red-800 dark:text-red-200"></div>
14
- <div class="bg-blue-400 border-blue-500 dark:border-blue-200 text-blue-800 dark:text-blue-200"></div>
15
- <% end %>
19
+ </div>
@@ -8,8 +8,8 @@
8
8
  <% body = p.content_for(:body) || p.content_for(:raw_body) %>
9
9
  <% pagy ||= nil %>
10
10
 
11
- <div class="<%= "bg-white rounded-md shadow dark:bg-darkPrimary-700" unless no_background %> overflow-hidden <%= border_top ? "border-t dark:border-darkPrimary-500" : "" %>">
12
- <div class="py-6 px-8 <%= title_padding %> space-y-2 <%= 'border-b shadow-sm dark:border-darkPrimary-600' if divider %>">
11
+ <div class="<%= "bg-white rounded-md shadow dark:bg-slate-700 dark:bg-opacity-50" unless no_background %> overflow-hidden <%= border_top ? "border-t dark:border-slate-500" : "" %>">
12
+ <div class="py-6 px-8 <%= title_padding %> space-y-2 <%= 'border-b shadow-sm dark:border-slate-600' if divider %>">
13
13
  <% if p.content_for? :title %>
14
14
  <h2 class="text-xl font-semibold dark:text-white <%= title_size %>">
15
15
  <%= p.content_for :title %>
@@ -17,7 +17,7 @@
17
17
  <% end %>
18
18
 
19
19
  <% if p.content_for? :description %>
20
- <p class="text-gray-400 font-light leading-normal">
20
+ <p class="text-slate-400 font-light leading-normal">
21
21
  <%= p.content_for :description %>
22
22
  </p>
23
23
  <% end %>
@@ -55,13 +55,13 @@
55
55
  </div>
56
56
 
57
57
  <% if p.content_for? :footer %>
58
- <div class="py-4 px-8 bg-gray-50 border-t dark:bg-darkPrimary-900 dark:border-darkPrimary-600">
58
+ <div class="py-4 px-8 bg-slate-50 border-t dark:bg-slate-900 dark:border-slate-600">
59
59
  <%= p.content_for :footer %>
60
60
  </div>
61
61
  <% end %>
62
62
 
63
63
  <% if p.content_for? :raw_footer %>
64
- <div class="bg-gray-50 dark:bg-darkPrimary-900">
64
+ <div class="bg-slate-50 dark:bg-slate-900">
65
65
  <%= p.content_for :raw_footer %>
66
66
  </div>
67
67
  <% end %>
@@ -7,15 +7,15 @@
7
7
  <li>
8
8
  <div class="flex items-center">
9
9
  <!-- Heroicon name: chevron-right -->
10
- <svg class="flex-shrink-0 h-3 w-3 text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
10
+ <svg class="flex-shrink-0 h-3 w-3 text-slate-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
11
11
  <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
12
12
  </svg>
13
13
 
14
- <% item_style = "ml-3 text-gray-500 uppercase text-2xs tracking-widest" %>
14
+ <% item_style = "ml-3 text-slate-500 uppercase text-2xs tracking-widest" %>
15
15
 
16
16
  <% # don't link to the same page we're already on. %>
17
17
  <% if url && url != request.url %>
18
- <%= link_to label, url, class: "#{item_style} hover:text-gray-700 hover:underline dark:text-primary-300" %>
18
+ <%= link_to label, url, class: "#{item_style} hover:text-slate-700 hover:underline dark:text-primary-300" %>
19
19
  <% else %>
20
20
  <span class="<%= item_style %>"><%= label %></span>
21
21
  <% end %>
@@ -26,13 +26,13 @@
26
26
  </div>
27
27
 
28
28
  <% if completion_percent %>
29
- <div class="mt-3 h-4 bg-gray-100 shadow-inner rounded w-full">
29
+ <div class="mt-3 h-4 bg-slate-100 shadow-inner rounded w-full">
30
30
  <div class="h-4 animate-pulse bg-primary-500 rounded" style="width: <%= completion_percent %>%"></div>
31
31
  </div>
32
32
  <% end %>
33
33
 
34
34
  <% if p.content_for? :status %>
35
- <div class="<% "mt-2" if completion_percent %> uppercase text-xs text-gray-400">
35
+ <div class="<% "mt-2" if completion_percent %> uppercase text-xs text-slate-400">
36
36
  <%= p.content_for :status %>
37
37
  </div>
38
38
  <% end %>
@@ -2,10 +2,10 @@
2
2
 
3
3
  <div class="relative">
4
4
  <div class="absolute inset-0 flex items-center">
5
- <div class="w-full border-t border-gray-300 dark:border-gray-500"></div>
5
+ <div class="w-full border-t border-slate-300 dark:border-slate-500"></div>
6
6
  </div>
7
7
  <div class="relative flex justify-center">
8
- <span class="px-2 bg-white text-gray-500 uppercase text-xs dark:text-gray-300 dark:bg-darkPrimary-700">
8
+ <span class="px-2 bg-white text-slate-500 uppercase text-xs dark:text-slate-300 dark:bg-slate-700">
9
9
  <%= label %>
10
10
  </span>
11
11
  </div>
@@ -1,3 +1,3 @@
1
- <div class="border-b border-gray-200 pb-4 dark:border-gray-500" style="position: relative;">
2
- <div style="background-color: var(--primary-500); width: 26px; height: 4px; position: absolute; left: 0; bottom: -2px; border: 1px solid var(--primary-500); border-radius: 1px;"></div>
1
+ <div class="border-b border-slate-200 pb-4 dark:border-slate-600" style="position: relative;">
2
+ <div style="background-color: var(--primary-500); width: 26px; height: 3px; position: absolute; left: 0; bottom: -2px; border: 1px solid var(--primary-500); border-radius: 1px;"></div>
3
3
  </div>
@@ -1,6 +1,6 @@
1
1
  <% yield p = np %>
2
2
 
3
- <div class="border border-gray-300 dark:border-opacity-10 rounded-md bg-gray-50 dark:bg-opacity-10">
3
+ <div class="border border-slate-300 dark:border-opacity-10 rounded-md bg-slate-50 dark:bg-opacity-10">
4
4
  <% if p.content_for?(:title) || p.content_for?(:description) || p.content_for?(:body) %>
5
5
  <div class="py-4 px-5 space-y">
6
6
  <% if p.content_for?(:title) || p.content_for?(:description) %>
@@ -12,7 +12,7 @@
12
12
  <% end %>
13
13
 
14
14
  <% if p.content_for? :description %>
15
- <p class="text-gray-400 font-light leading-normal">
15
+ <p class="text-slate-400 font-light leading-normal">
16
16
  <%= p.content_for :description %>
17
17
  </p>
18
18
  <% end %>
@@ -35,22 +35,22 @@
35
35
 
36
36
  <% if action.completed? %>
37
37
  <% if action.is_a?(Actions::HasProgress) %>
38
- <div class="uppercase text-xs text-gray-400">
38
+ <div class="uppercase text-xs text-slate-400">
39
39
  Processed <%= action.performed_count %> of <%= action.target_count %> <%= display_date_and_time(action.completed_at) %>
40
40
  </div>
41
41
  <% else %>
42
- <div class="uppercase text-xs text-gray-400">
42
+ <div class="uppercase text-xs text-slate-400">
43
43
  Processed <%= display_date_and_time(action.completed_at) %>
44
44
  </div>
45
45
  <% end %>
46
46
 
47
47
  <% elsif action.is_a?(Actions::RequiresApproval) && !action.approved? %>
48
- <div class="uppercase text-xs text-gray-400">
48
+ <div class="uppercase text-xs text-slate-400">
49
49
  Awaiting approval
50
50
  </div>
51
51
 
52
52
  <% elsif action.is_a?(Actions::SupportsScheduling) && action.scheduled_for && !action.started? %>
53
- <div class="uppercase text-xs text-gray-400">
53
+ <div class="uppercase text-xs text-slate-400">
54
54
  Scheduled for <%= display_date_and_time(action.scheduled_for) %>
55
55
  </div>
56
56
 
@@ -59,17 +59,17 @@
59
59
  <%= render "shared/attributes/progress_bar", object: action, attribute: :performed_count, total: :target_count %>
60
60
  </div>
61
61
 
62
- <div class="mt-2 uppercase text-xs text-gray-400">
62
+ <div class="mt-2 uppercase text-xs text-slate-400">
63
63
  Processing <%= action.performed_count %> of <%= action.target_count %>
64
64
  </div>
65
65
 
66
66
  <% elsif action.is_a?(Actions::HasProgress) %>
67
- <div class="uppercase text-xs text-gray-400">
67
+ <div class="uppercase text-xs text-slate-400">
68
68
  Preparing to process <%= action.performed_count %> of <%= action.target_count %>
69
69
  </div>
70
70
 
71
71
  <% else %>
72
- <div class="uppercase text-xs text-gray-400">
72
+ <div class="uppercase text-xs text-slate-400">
73
73
  Preparing to process
74
74
  </div>
75
75
 
@@ -1,3 +1,3 @@
1
- <div class="divide-y divide-gray-900 divide-opacity-5 border-t dark:border-darkPrimary-500">
1
+ <div class="divide-y divide-slate-900 divide-opacity-5 border-t dark:border-slate-500">
2
2
  <%= yield %>
3
3
  </div>
@@ -19,7 +19,7 @@
19
19
  <label class="block text-2xs font-semibold py-2 dark:text-white">
20
20
  <%= p.content_for :heading %>
21
21
  </label>
22
- <div class="dark:text-gray-400">
22
+ <div class="dark:text-slate-400">
23
23
  <%= body %>
24
24
  </div>
25
25
  </div>
@@ -11,7 +11,7 @@
11
11
  <% if completion_percent == 100 %>
12
12
  <i class="fal fa-check ti ti-check text-green-500"></i>
13
13
  <% else %>
14
- <div class="h-4 bg-gray-100 shadow-inner rounded w-full">
14
+ <div class="h-4 bg-slate-100 shadow-inner rounded w-full">
15
15
  <div class="h-4 <%= 'animate-pulse' unless completion_percent == 100 %> bg-primary-500 rounded" style="width: <%= completion_percent %>%"></div>
16
16
  </div>
17
17
  <% end %>
@@ -9,7 +9,7 @@
9
9
  <%= link_to request.path + (i > 0 ? "?duration=#{duration}" : ""), class: "#{duration == current_duration ? "button-alternative" : "button"} rounded-full text-base" do %>
10
10
  <%= t("billing/prices.intervals.#{duration}.description") %>
11
11
  <% if i > 0 %>
12
- <small class="ml-2 uppercase <%= duration == current_duration ? "text-gray-400" : "text-gray-300" %>">
12
+ <small class="ml-2 uppercase <%= duration == current_duration ? "text-slate-400" : "text-slate-300" %>">
13
13
  <%= number_to_percentage(calculate_discount(prices_by_duration[duration].first, prices_by_duration[prices_by_duration.keys.first].first), precision: 0) %> Discount
14
14
  </small>
15
15
  <% end %>
@@ -20,7 +20,7 @@
20
20
 
21
21
  <div class="lg:flex flex-row justify-center">
22
22
  <% prices_by_duration[current_duration].each_with_index do |price, i| %>
23
- <div class="bg-gray-50 flex-1 lg:max-w-md border ml-0 mr-0 mt-0 mb-5 <%= "lg:-ml-px lg:-mr-px lg:-mt-5 lg:mb-0 pricing-table-shadow" if price.highlight? %> <%= price.highlight? ? "z-10" : "z-0" %>">
23
+ <div class="bg-slate-50 flex-1 lg:max-w-md border ml-0 mr-0 mt-0 mb-5 <%= "lg:-ml-px lg:-mr-px lg:-mt-5 lg:mb-0 pricing-table-shadow" if price.highlight? %> <%= price.highlight? ? "z-10" : "z-0" %>">
24
24
  <div class="bg-white <%= "border-t-4 border-primary-500" if price.highlight? %>">
25
25
  <div class="text-center py-10 px-5 border-b">
26
26
  <%= image_tag image_path("products/#{price.product.image}"), width: 100, height: 100, class: "inline mb-7" %>
@@ -31,7 +31,7 @@
31
31
  </div>
32
32
  <div class="bg-white text-center py-10 px-5 border-b">
33
33
  <div class="text-6xl font-semibold text-black <%= "text-primary-500" if price.highlight? %>"><%= smaller_currency_symbol(number_to_currency(price.currency_amount, precision: 0, locale: :en)) %></div>
34
- <div class="mt-3 pt-2 inline-block border-t border-gray-300 uppercase text-lg opacity-40 tracking-wider">
34
+ <div class="mt-3 pt-2 inline-block border-t border-slate-300 uppercase text-lg opacity-40 tracking-wider">
35
35
  <% if price.quantity %>
36
36
  <%= t("billing/prices.intervals.#{price.interval}.description") %>
37
37
  <%= t("billing/prices.models.#{price.quantity}.per") %>
@@ -45,11 +45,11 @@
45
45
  </div>
46
46
  <div class="my-12 mx-12">
47
47
  <h3 class="text-xs uppercase font-semibold tracking-widest">Description</h3>
48
- <p class="text-base mt-3 text-gray-500"><%= price.product.description %></p>
48
+ <p class="text-base mt-3 text-slate-500"><%= price.product.description %></p>
49
49
 
50
50
  <h3 class="mt-8 text-xs uppercase font-semibold tracking-widest">Details</h3>
51
51
  <% if price.product.features %>
52
- <ul class="text-base mt-5 text-gray-500 space-y-3">
52
+ <ul class="text-base mt-5 text-slate-500 space-y-3">
53
53
  <% price.product.features.each do |feature| %>
54
54
  <li class="flex items-start">
55
55
  <div class="flex-shrink-0 text-green-500">
@@ -1,13 +1,3 @@
1
1
  <% yield p = np %>
2
2
 
3
- <div class="-m-0.5">
4
- <div class="border border-dashed rounded-lg border-yellow-500 bg-yellow-400 dark:bg-opacity-10 dark:border-yellow-200 dark:border-opacity-70 -m-3 p-3 xl:py-4 xl:px-4 xl:-mx-4">
5
- <%= p.content_for :content %>
6
-
7
- <div class="py-3 px-3 space-y-2 pt-6">
8
- <p class="text-yellow-600 dark:text-yellow-200 font-light leading-normal">
9
- <%= p.content_for :commentary %>
10
- </p>
11
- </div>
12
- </div>
13
- </div>
3
+ <%= p.content_for :content %>
@@ -2,17 +2,17 @@
2
2
 
3
3
  <div class="<%= 'border-l-primary-500 border-l-4 border-primary-600' if subscription.unread? %>">
4
4
 
5
- <%= link_to [:account, current_user, :conversations, :subscriptions, conversation_id: subscription.conversation.id], class: "#{current_conversation ? 'bg-gray-100 border-l ' : 'bg-white'} h-28 p-1 flex border-b-2 cursor-pointer hover:no-underline hover:bg-gray-50 relative items-center" do %>
5
+ <%= link_to [:account, current_user, :conversations, :subscriptions, conversation_id: subscription.conversation.id], class: "#{current_conversation ? 'bg-slate-100 border-l ' : 'bg-white'} h-28 p-1 flex border-b-2 cursor-pointer hover:no-underline hover:bg-slate-50 relative items-center" do %>
6
6
  <div class="md:w-1/4 w-1/5 lg:inline-block md:hidden flex-shrink-0">
7
7
  <img src="<%= membership_profile_photo_url(conversation.last_message&.membership || current_membership) %>" title="<%= current_membership.name %>" alt="<%= current_membership.name %>" class="md:w-14 md:h-14 w-12 h-12 rounded-full mx-auto border-1 border-white border-2 flex-none">
8
8
  </div>
9
9
  <div class="w-4/5 md:w-full lg:w-4/5 pl-4 pr-1 flex-initial truncate">
10
- <p class="text-xs text-gray-300 text-right hover:no-underline"><%= "#{time_ago_in_words conversation.last_message.created_at} ago" unless conversation.last_message.nil? %></p>
11
- <h2 class="<%= subscription.unread? ? 'font-bold text-gray-800' : 'font-semibold text-gray-600' %> "><%= conversation.subject&.label_string %></h2>
12
- <div class="text-gray-300">
10
+ <p class="text-xs text-slate-300 text-right hover:no-underline"><%= "#{time_ago_in_words conversation.last_message.created_at} ago" unless conversation.last_message.nil? %></p>
11
+ <h2 class="<%= subscription.unread? ? 'font-bold text-slate-800' : 'font-semibold text-slate-600' %> "><%= conversation.subject&.label_string %></h2>
12
+ <div class="text-slate-300">
13
13
  <%= conversation.last_message&.user&.label_string %>
14
14
  </div>
15
- <div class="h-8 text-gray-400 text-sm pt-1 hover:no-underline truncate">
15
+ <div class="h-8 text-slate-400 text-sm pt-1 hover:no-underline truncate">
16
16
  <%= Nokogiri::HTML.fragment(conversation.last_message.body).text unless conversation.last_message.nil? %>
17
17
  </div>
18
18
  </div>
@@ -4,10 +4,10 @@
4
4
  <img src="<%= membership_profile_photo_url(message.membership) %>" title="<%= message.membership.name %>" alt="<%= message.membership.name %>" class="w-10 h-10 rounded-full <%= current_user_message ? 'order-2' : 'order-1' %>">
5
5
  <% end %>
6
6
 
7
- <div class="flex py-3 px-2 text-gray-700 <%= message.reply? ? 'border w-full bg-gray-50 rounded-md' : 'border-b' %> <%= 'opacity-30' if new_message %>">
7
+ <div class="flex py-3 px-2 text-slate-700 <%= message.reply? ? 'border w-full bg-slate-50 rounded-md' : 'border-b' %> <%= 'opacity-30' if new_message %>">
8
8
  <div class="mr-3 min-w-max"><%= avatar %></div>
9
9
  <div class="flex flex-col w-full">
10
- <div class=""><span class="uppercase font-bold text-gray-500"><%= message.user.name %></span><span class="font-extralight text-xs text-gray-400"> &bull; <%= time_ago_in_words message.created_at %> ago</span></div>
10
+ <div class=""><span class="uppercase font-bold text-slate-500"><%= message.user.name %></span><span class="font-extralight text-xs text-slate-400"> &bull; <%= time_ago_in_words message.created_at %> ago</span></div>
11
11
  <div class="py-2"><%= trix_sanitize message.body %></div>
12
12
  <% if message.replies.any? %>
13
13
  <div class="space-y-2 mt-2 mb-2">
@@ -18,7 +18,7 @@
18
18
  <% end %>
19
19
  <% unless message.reply? %>
20
20
  <%= turbo_frame_tag "reply_#{message.id}" do %>
21
- <%= link_to "Reply", [:reply, :account, message], class: "font-light text-sm text-gray-400 hover:text-gray-500 pt-2" %>
21
+ <%= link_to "Reply", [:reply, :account, message], class: "font-light text-sm text-slate-400 hover:text-slate-500 pt-2" %>
22
22
  <% end %>
23
23
  <% end %>
24
24
  </div>