bullet_train-themes-light 1.32.0 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/light/fields/date_field.css +1 -1
- data/app/assets/stylesheets/light/fields/super_select.css +8 -7
- data/app/assets/stylesheets/light/fields/trix_editor.css +3 -3
- data/app/assets/stylesheets/light/tailwind/components.css +12 -12
- data/app/assets/stylesheets/light/tailwind/dark-mode.css +31 -31
- data/app/assets/stylesheets/light/tailwind/utilities/billing.css +1 -1
- data/app/views/themes/light/_box.html.erb +6 -6
- data/app/views/themes/light/_breadcrumb.html.erb +3 -3
- data/app/views/themes/light/_cell.html.erb +2 -2
- data/app/views/themes/light/_decision_line.html.erb +2 -2
- data/app/views/themes/light/_line.html.erb +1 -1
- data/app/views/themes/light/_link_row.html.erb +3 -3
- data/app/views/themes/light/_team.html.erb +4 -4
- data/app/views/themes/light/_well.html.erb +2 -2
- data/app/views/themes/light/actions/_action.html.erb +7 -7
- data/app/views/themes/light/actions/_list.html.erb +1 -1
- data/app/views/themes/light/attributes/_base.html.erb +1 -1
- data/app/views/themes/light/attributes/_progress_bar.html.erb +1 -1
- data/app/views/themes/light/billing/_pricing_table.html.erb +5 -5
- data/app/views/themes/light/conversations/_card.html.erb +6 -6
- data/app/views/themes/light/conversations/_comment.html.erb +3 -3
- data/app/views/themes/light/conversations/_message.html.erb +7 -7
- data/app/views/themes/light/conversations/_thread_border.html.erb +1 -1
- data/app/views/themes/light/fields/_code_editor.html.erb +4 -4
- data/app/views/themes/light/fields/_field.html.erb +5 -5
- data/app/views/themes/light/forms/_errors.html.erb +1 -1
- data/app/views/themes/light/layouts/_account.html.erb +4 -4
- data/app/views/themes/light/layouts/_devise.html.erb +1 -1
- data/app/views/themes/light/menu/_account.html.erb +1 -1
- data/app/views/themes/light/menu/_item.html.erb +1 -1
- data/app/views/themes/light/menu/_mobile.html.erb +1 -1
- data/app/views/themes/light/menu/_open.html.erb +1 -1
- data/app/views/themes/light/menu/_subsection.html.erb +1 -1
- data/app/views/themes/light/menu/_user.html.erb +1 -1
- data/app/views/themes/light/workflow/_box.html.erb +1 -1
- data/lib/bullet_train/themes/light/version.rb +1 -1
- data/tailwind.light.config.js +4 -2
- metadata +1 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 688988e9c75407831edba015db93d05c977bbb553209a8bd6801d4243e94a09f
         | 
| 4 | 
            +
              data.tar.gz: 17932d0e79e2c539c84a72dd833f4b1223e2f4f33caa30974f7132193a8a845f
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 0d9dc87cd6023674c15d3d63052666919e21c351252263766c3b397d55619a82eb7791ddede386b81f04c2274503a2e25877d152b67d0f4b0c2a0d6eb469d20e
         | 
| 7 | 
            +
              data.tar.gz: e13b9e6fc0b29038584e7ab1a2c16412d7e17249a9ee3dc754e8a32f0dcee129100aaf28fa5426b19429f979c622cd70b80659031af8ebd8b078a9e3885f8e38
         | 
| @@ -8,7 +8,7 @@ | |
| 8 8 | 
             
              .daterangepicker {
         | 
| 9 9 | 
             
                .hourselect, .minuteselect, .ampmselect {
         | 
| 10 10 | 
             
                  @apply rounded-md shadow-sm focus:ring-primary-500 font-light;
         | 
| 11 | 
            -
                  @apply border- | 
| 11 | 
            +
                  @apply border-base-300 focus:border-primary-500 bg-white !important;
         | 
| 12 12 | 
             
                  text-align-last: center;
         | 
| 13 13 | 
             
                }
         | 
| 14 14 |  | 
| @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            .select2-container--default {
         | 
| 2 2 | 
             
              .select2-selection--single,
         | 
| 3 3 | 
             
              .select2-selection--multiple {
         | 
| 4 | 
            -
                @apply border- | 
| 4 | 
            +
                @apply border-base-300;
         | 
| 5 5 | 
             
              }
         | 
| 6 6 | 
             
            }
         | 
| 7 7 |  | 
| @@ -61,7 +61,7 @@ | |
| 61 61 | 
             
              }
         | 
| 62 62 |  | 
| 63 63 | 
             
              .select2-selection--single, .select2-selection--multiple {
         | 
| 64 | 
            -
                @apply border- | 
| 64 | 
            +
                @apply border-base-300;
         | 
| 65 65 | 
             
                @apply rounded-md shadow-sm pt-0 focus:ring-primary-500 !important;
         | 
| 66 66 |  | 
| 67 67 | 
             
                &.focus-visible {
         | 
| @@ -77,7 +77,7 @@ | |
| 77 77 | 
             
                }
         | 
| 78 78 |  | 
| 79 79 | 
             
                .select2-selection__rendered {
         | 
| 80 | 
            -
                  @apply text- | 
| 80 | 
            +
                  @apply text-base-500 pl-3 !important;
         | 
| 81 81 | 
             
                  line-height: 35px !important;
         | 
| 82 82 | 
             
                }
         | 
| 83 83 | 
             
              }
         | 
| @@ -95,11 +95,11 @@ | |
| 95 95 |  | 
| 96 96 | 
             
              .select2-container--default.select2-container--disabled .select2-selection--single,
         | 
| 97 97 | 
             
              .select2-container--default.select2-container--disabled .select2-selection--multiple{
         | 
| 98 | 
            -
                @apply bg- | 
| 98 | 
            +
                @apply bg-base-200 dark:bg-base-700 hover:bg-base-200 hover:dark:bg-base-700
         | 
| 99 99 | 
             
              }
         | 
| 100 100 |  | 
| 101 101 | 
             
              .select2-container .select2-dropdown {
         | 
| 102 | 
            -
                @apply border-2 border- | 
| 102 | 
            +
                @apply border-2 border-base-300 shadow-sm overflow-hidden !important;
         | 
| 103 103 | 
             
                @apply border-primary-500 !important;
         | 
| 104 104 | 
             
              }
         | 
| 105 105 |  | 
| @@ -109,10 +109,11 @@ | |
| 109 109 |  | 
| 110 110 | 
             
              .select2-search__field {
         | 
| 111 111 | 
             
                @apply rounded-md;
         | 
| 112 | 
            -
                @apply border- | 
| 112 | 
            +
                @apply border-base-300 !important;
         | 
| 113 113 |  | 
| 114 114 | 
             
                &:focus {
         | 
| 115 | 
            -
                  border- | 
| 115 | 
            +
                  @apply border-primary-500 !important;
         | 
| 116 | 
            +
                  @apply ring-primary-500 !important;
         | 
| 116 117 | 
             
                }
         | 
| 117 118 | 
             
              }
         | 
| 118 119 | 
             
            }
         | 
| @@ -12,7 +12,7 @@ trix-toolbar { | |
| 12 12 | 
             
            /* Override Tailwind's preflight styles */
         | 
| 13 13 | 
             
            /* https://github.com/tailwindlabs/tailwindcss/issues/989#issuecomment-506555308 */
         | 
| 14 14 | 
             
            .trix-button {
         | 
| 15 | 
            -
              @apply dark:bg- | 
| 15 | 
            +
              @apply dark:bg-base-800 !important;
         | 
| 16 16 | 
             
            }
         | 
| 17 17 |  | 
| 18 18 | 
             
            /* Prevent red ring on Trix Editor */
         | 
| @@ -87,13 +87,13 @@ trix-editor [data-trix-cursor-target] { | |
| 87 87 | 
             
            trix-editor {
         | 
| 88 88 | 
             
              padding-right: 0.75rem;
         | 
| 89 89 | 
             
              padding-left: 0.75rem;
         | 
| 90 | 
            -
              @apply shadow-sm border- | 
| 90 | 
            +
              @apply shadow-sm border-base-300 font-light rounded-md;
         | 
| 91 91 | 
             
              &:focus, &:active {
         | 
| 92 92 | 
             
                border-color: var(--primary-500);
         | 
| 93 93 | 
             
                box-shadow: inset 0 0 0 1px var(--primary-500);
         | 
| 94 94 | 
             
              }
         | 
| 95 95 | 
             
              &[disabled]{
         | 
| 96 | 
            -
                @apply bg- | 
| 96 | 
            +
                @apply bg-base-200 dark:bg-base-700 hover:bg-base-200 hover:dark:bg-base-700
         | 
| 97 97 | 
             
              }
         | 
| 98 98 | 
             
            }
         | 
| 99 99 |  | 
| @@ -13,7 +13,7 @@ | |
| 13 13 |  | 
| 14 14 | 
             
              .button {
         | 
| 15 15 | 
             
                @apply shadow-sm text-white hover:text-white bg-primary-500 hover:bg-primary-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-600 hover:no-underline;
         | 
| 16 | 
            -
                @apply dark:ring-offset- | 
| 16 | 
            +
                @apply dark:ring-offset-base-700;
         | 
| 17 17 |  | 
| 18 18 | 
             
                &.button-red {
         | 
| 19 19 | 
             
                  @apply bg-red-500 hover:bg-red-600 focus:ring-red-600;
         | 
| @@ -22,7 +22,7 @@ | |
| 22 22 |  | 
| 23 23 | 
             
              .button-secondary {
         | 
| 24 24 | 
             
                @apply text-secondary-500 hover:text-secondary-600 hover:underline;
         | 
| 25 | 
            -
                /* @apply dark:text- | 
| 25 | 
            +
                /* @apply dark:text-base-200; */
         | 
| 26 26 |  | 
| 27 27 | 
             
                &.button-increase-contrast {
         | 
| 28 28 | 
             
                  @apply text-secondary-700 hover:text-secondary-900;
         | 
| @@ -45,8 +45,8 @@ | |
| 45 45 | 
             
              }
         | 
| 46 46 |  | 
| 47 47 | 
             
              .button-alternative {
         | 
| 48 | 
            -
                @apply border- | 
| 49 | 
            -
                @apply dark:bg- | 
| 48 | 
            +
                @apply border-base-300 rounded-md shadow-sm bg-white text-base-500 hover:bg-base-50 no-underline hover:no-underline;
         | 
| 49 | 
            +
                @apply dark:bg-base-800 dark:border-base-900 dark:text-white dark:hover:bg-base-700;
         | 
| 50 50 | 
             
              }
         | 
| 51 51 |  | 
| 52 52 | 
             
              .button-color {
         | 
| @@ -115,12 +115,12 @@ | |
| 115 115 | 
             
              }
         | 
| 116 116 |  | 
| 117 117 | 
             
              .table {
         | 
| 118 | 
            -
                @apply w-full divide-y divide- | 
| 118 | 
            +
                @apply w-full divide-y divide-base-900/5 dark:divide-base-700/5 text-left;
         | 
| 119 119 |  | 
| 120 120 |  | 
| 121 121 | 
             
                th {
         | 
| 122 122 | 
             
                  @apply px-3 py-3 text-2xs font-semibold font-normal uppercase;
         | 
| 123 | 
            -
                  @apply dark:text- | 
| 123 | 
            +
                  @apply dark:text-base-400;
         | 
| 124 124 |  | 
| 125 125 | 
             
                  &:first-child {
         | 
| 126 126 | 
             
                    @apply pl-5;
         | 
| @@ -132,13 +132,13 @@ | |
| 132 132 | 
             
                }
         | 
| 133 133 |  | 
| 134 134 | 
             
                tbody {
         | 
| 135 | 
            -
                  @apply divide-y divide- | 
| 136 | 
            -
                  @apply dark:divide- | 
| 135 | 
            +
                  @apply divide-y divide-base-900/5;
         | 
| 136 | 
            +
                  @apply dark:divide-base-700/5;
         | 
| 137 137 | 
             
                }
         | 
| 138 138 |  | 
| 139 139 | 
             
                td {
         | 
| 140 140 | 
             
                  @apply px-3 py-3.5;
         | 
| 141 | 
            -
                  @apply dark:text- | 
| 141 | 
            +
                  @apply dark:text-base-400;
         | 
| 142 142 |  | 
| 143 143 | 
             
                  &:first-child {
         | 
| 144 144 | 
             
                    @apply pl-5;
         | 
| @@ -197,14 +197,14 @@ | |
| 197 197 | 
             
              }
         | 
| 198 198 |  | 
| 199 199 | 
             
              .sortable-active-dropzone {
         | 
| 200 | 
            -
                @apply border-dashed bg-gray-50 dark:bg- | 
| 200 | 
            +
                @apply border-dashed bg-gray-50 dark:bg-base-800 border-base-400;
         | 
| 201 201 | 
             
              }
         | 
| 202 202 |  | 
| 203 203 | 
             
              .sortable-active-item {
         | 
| 204 | 
            -
                @apply shadow bg-white *:bg-white dark:bg- | 
| 204 | 
            +
                @apply shadow bg-white *:bg-white dark:bg-base-700 dark:*:bg-base-700 opacity-100 *:opacity-100;
         | 
| 205 205 | 
             
              }
         | 
| 206 206 |  | 
| 207 207 | 
             
              .sortable-drop-target {
         | 
| 208 | 
            -
                @apply shadow-inner shadow-gray-500 dark:shadow-black hover:shadow-inner bg-gray-100 *:bg-gray-100 dark:bg- | 
| 208 | 
            +
                @apply shadow-inner shadow-gray-500 dark:shadow-black hover:shadow-inner bg-gray-100 *:bg-gray-100 dark:bg-base-900 dark:*:bg-base-900 *:opacity-0;
         | 
| 209 209 | 
             
              }
         | 
| 210 210 | 
             
            }
         | 
| @@ -5,10 +5,10 @@ | |
| 5 5 | 
             
                 **/
         | 
| 6 6 | 
             
                /* Color picker */
         | 
| 7 7 | 
             
                .pcr-app {
         | 
| 8 | 
            -
                  @apply bg- | 
| 8 | 
            +
                  @apply bg-base-800 border border-solid border-base-900;
         | 
| 9 9 |  | 
| 10 10 | 
             
                  .pcr-interaction .pcr-result {
         | 
| 11 | 
            -
                    @apply text- | 
| 11 | 
            +
                    @apply text-base-300 border border-solid border-base-900 bg-base-800;
         | 
| 12 12 |  | 
| 13 13 | 
             
                    &:focus {
         | 
| 14 14 | 
             
                      box-shadow: 0 0 0 1px theme('colors.primary.500'), 0 0 0 3px theme('colors.primary.500');
         | 
| @@ -18,18 +18,18 @@ | |
| 18 18 |  | 
| 19 19 | 
             
                /* Date range picker */
         | 
| 20 20 | 
             
                .daterangepicker {
         | 
| 21 | 
            -
                  @apply bg- | 
| 21 | 
            +
                  @apply bg-base-800 border-base-900;
         | 
| 22 22 |  | 
| 23 23 | 
             
                  &::before {
         | 
| 24 | 
            -
                    border-bottom-color: theme('colors. | 
| 24 | 
            +
                    border-bottom-color: theme('colors.base.900');
         | 
| 25 25 | 
             
                  }
         | 
| 26 26 |  | 
| 27 27 | 
             
                  &::after {
         | 
| 28 | 
            -
                    border-bottom-color: theme('colors. | 
| 28 | 
            +
                    border-bottom-color: theme('colors.base.800');
         | 
| 29 29 | 
             
                  }
         | 
| 30 30 |  | 
| 31 31 | 
             
                  .calendar-table {
         | 
| 32 | 
            -
                    @apply bg- | 
| 32 | 
            +
                    @apply bg-base-800 text-base-300;
         | 
| 33 33 |  | 
| 34 34 | 
             
                    /* navigation arrows */
         | 
| 35 35 | 
             
                    .available {
         | 
| @@ -41,53 +41,53 @@ | |
| 41 41 |  | 
| 42 42 | 
             
                  /* Clear and Apply buttons wrapper */
         | 
| 43 43 | 
             
                  .drp-buttons {
         | 
| 44 | 
            -
                    border-top-color: theme('colors. | 
| 45 | 
            -
                    @apply text- | 
| 44 | 
            +
                    border-top-color: theme('colors.base.900');
         | 
| 45 | 
            +
                    @apply text-base-300;
         | 
| 46 46 | 
             
                  }
         | 
| 47 47 |  | 
| 48 48 | 
             
                  th {
         | 
| 49 49 | 
             
                    &.available:hover {
         | 
| 50 | 
            -
                      @apply bg- | 
| 50 | 
            +
                      @apply bg-base-600;
         | 
| 51 51 | 
             
                    }
         | 
| 52 52 | 
             
                  }
         | 
| 53 53 |  | 
| 54 54 | 
             
                  td {
         | 
| 55 55 | 
             
                    &.off {
         | 
| 56 | 
            -
                      @apply bg- | 
| 56 | 
            +
                      @apply bg-base-800 text-white;
         | 
| 57 57 | 
             
                    }
         | 
| 58 58 |  | 
| 59 59 | 
             
                    &.available:hover {
         | 
| 60 | 
            -
                      @apply bg- | 
| 60 | 
            +
                      @apply bg-base-600;
         | 
| 61 61 | 
             
                    }
         | 
| 62 62 | 
             
                  }
         | 
| 63 63 |  | 
| 64 64 | 
             
                  .hourselect, .minuteselect, .ampmselect {
         | 
| 65 | 
            -
                    @apply text- | 
| 65 | 
            +
                    @apply text-base-300 border-base-900 bg-base-800 !important;
         | 
| 66 66 | 
             
                  }
         | 
| 67 67 | 
             
                }
         | 
| 68 68 |  | 
| 69 69 | 
             
                /* Phone field */
         | 
| 70 70 | 
             
                .iti__country-list {
         | 
| 71 | 
            -
                  @apply bg- | 
| 71 | 
            +
                  @apply bg-base-800 border border-solid border-base-900;
         | 
| 72 72 | 
             
                }
         | 
| 73 73 |  | 
| 74 74 | 
             
                /* Select2 */
         | 
| 75 75 | 
             
                .select2-container {
         | 
| 76 76 | 
             
                  .select2-selection__rendered {
         | 
| 77 | 
            -
                    @apply text- | 
| 77 | 
            +
                    @apply text-base-300 !important;
         | 
| 78 78 | 
             
                  }
         | 
| 79 79 |  | 
| 80 80 | 
             
                  .select2-dropdown {
         | 
| 81 | 
            -
                    @apply bg- | 
| 81 | 
            +
                    @apply bg-base-700;
         | 
| 82 82 | 
             
                  }
         | 
| 83 83 |  | 
| 84 84 | 
             
                  .select2-search__field {
         | 
| 85 | 
            -
                    @apply bg- | 
| 85 | 
            +
                    @apply bg-base-800 border-base-900 !important;
         | 
| 86 86 | 
             
                  }
         | 
| 87 87 |  | 
| 88 88 | 
             
                  .select2-selection--multiple, .select2-selection--single {
         | 
| 89 | 
            -
                    @apply bg- | 
| 90 | 
            -
                    @apply text- | 
| 89 | 
            +
                    @apply bg-base-800 focus:ring-primary-500 border-base-900 !important;
         | 
| 90 | 
            +
                    @apply text-base-300;
         | 
| 91 91 | 
             
                  }
         | 
| 92 92 |  | 
| 93 93 | 
             
                  /* For the selected options in the multiple select2 component */
         | 
| @@ -105,13 +105,13 @@ | |
| 105 105 | 
             
                  }
         | 
| 106 106 |  | 
| 107 107 | 
             
                  .select2-results__option {
         | 
| 108 | 
            -
                    @apply text- | 
| 108 | 
            +
                    @apply text-base-300;
         | 
| 109 109 | 
             
                  }
         | 
| 110 110 | 
             
                }
         | 
| 111 111 |  | 
| 112 112 | 
             
                /* Trix Editor */
         | 
| 113 113 | 
             
                trix-editor {
         | 
| 114 | 
            -
                  @apply bg- | 
| 114 | 
            +
                  @apply bg-base-800 border-base-900 !important;
         | 
| 115 115 |  | 
| 116 116 | 
             
                  &:focus, &:active {
         | 
| 117 117 | 
             
                    @apply border-primary-500 !important;
         | 
| @@ -126,7 +126,7 @@ | |
| 126 126 | 
             
                  }
         | 
| 127 127 |  | 
| 128 128 | 
             
                  .trix-button-group, .trix-button {
         | 
| 129 | 
            -
                    @apply border- | 
| 129 | 
            +
                    @apply border-base-400 !important;
         | 
| 130 130 | 
             
                  }
         | 
| 131 131 |  | 
| 132 132 | 
             
                  .trix-button:disabled::before {
         | 
| @@ -134,39 +134,39 @@ | |
| 134 134 | 
             
                  }
         | 
| 135 135 |  | 
| 136 136 | 
             
                  .trix-dialog {
         | 
| 137 | 
            -
                    @apply bg- | 
| 137 | 
            +
                    @apply bg-base-800 border-base-900 shadow-lg shadow-base-900 !important;
         | 
| 138 138 |  | 
| 139 139 | 
             
                    .trix-button--dialog {
         | 
| 140 140 | 
             
                      @apply text-white;
         | 
| 141 141 | 
             
                    }
         | 
| 142 142 |  | 
| 143 143 | 
             
                    .trix-input--dialog {
         | 
| 144 | 
            -
                      @apply bg- | 
| 144 | 
            +
                      @apply bg-base-800 dark:text-base-300 focus:ring-primary-500 focus:border-primary-500;
         | 
| 145 145 | 
             
                    }
         | 
| 146 146 | 
             
                  }
         | 
| 147 147 | 
             
                }
         | 
| 148 148 |  | 
| 149 149 | 
             
                .tribute-container {
         | 
| 150 150 | 
             
                  ul {
         | 
| 151 | 
            -
                    @apply bg- | 
| 151 | 
            +
                    @apply bg-base-800 border-base-900 !important;
         | 
| 152 152 | 
             
                  }
         | 
| 153 153 | 
             
                }
         | 
| 154 154 |  | 
| 155 155 | 
             
                .trix-dialogs {
         | 
| 156 | 
            -
                  @apply bg- | 
| 156 | 
            +
                  @apply bg-base-800 border-base-900 !important;
         | 
| 157 157 | 
             
                }
         | 
| 158 158 |  | 
| 159 159 | 
             
                .trix-content a[href^="bullettrain://"] {
         | 
| 160 | 
            -
                  @apply text-white bg- | 
| 160 | 
            +
                  @apply text-white bg-base-500;
         | 
| 161 161 | 
             
                }
         | 
| 162 162 |  | 
| 163 163 | 
             
                /* CKEditor */
         | 
| 164 164 | 
             
                .ck {
         | 
| 165 | 
            -
                  --ck-color-base-background: theme('colors. | 
| 166 | 
            -
                  --ck-color-base-border: theme('colors. | 
| 167 | 
            -
                  --ck-color-toolbar-background: theme('colors. | 
| 168 | 
            -
                  --ck-color-toolbar-border: theme('colors. | 
| 169 | 
            -
                  --ck-color-text: theme('colors. | 
| 165 | 
            +
                  --ck-color-base-background: theme('colors.base.800');
         | 
| 166 | 
            +
                  --ck-color-base-border: theme('colors.base.900');
         | 
| 167 | 
            +
                  --ck-color-toolbar-background: theme('colors.base.800');
         | 
| 168 | 
            +
                  --ck-color-toolbar-border: theme('colors.base.900');
         | 
| 169 | 
            +
                  --ck-color-text: theme('colors.base.300');
         | 
| 170 170 |  | 
| 171 171 | 
             
                  .ck-editor__editable:not(.ck-editor__nested-editable) {
         | 
| 172 172 | 
             
                    @apply shadow-none;
         | 
| @@ -7,9 +7,9 @@ | |
| 7 7 | 
             
            <% pagy ||= nil %>
         | 
| 8 8 | 
             
            <% overflow_hidden ||= local_assigns.fetch(:overflow_hidden, true) %>
         | 
| 9 9 |  | 
| 10 | 
            -
            <div class="<%= "bg-white rounded-md shadow dark:bg- | 
| 10 | 
            +
            <div class="<%= "bg-white rounded-md shadow dark:bg-base-700 dark:bg-opacity-50" unless no_background %> <%= "overflow-hidden" if overflow_hidden %> <%= border_top ? "border-t dark:border-base-500" : "" %>">
         | 
| 11 11 | 
             
              <% if partial.title? || partial.description? %>
         | 
| 12 | 
            -
                <div class="py-6 px-8 <%= title_padding %> space-y-2 <%= 'border-b shadow-sm dark:border- | 
| 12 | 
            +
                <div class="py-6 px-8 <%= title_padding %> space-y-2 <%= 'border-b shadow-sm dark:border-base-600' if divider %>">
         | 
| 13 13 | 
             
                  <% if partial.title? %>
         | 
| 14 14 | 
             
                    <h2 class="text-xl font-semibold dark:text-white <%= title_size %>">
         | 
| 15 15 | 
             
                      <%= partial.title %>
         | 
| @@ -17,7 +17,7 @@ | |
| 17 17 | 
             
                  <% end %>
         | 
| 18 18 |  | 
| 19 19 | 
             
                  <% if partial.description? %>
         | 
| 20 | 
            -
                    <p class="text- | 
| 20 | 
            +
                    <p class="text-base-400 font-light leading-normal">
         | 
| 21 21 | 
             
                      <%= partial.description %>
         | 
| 22 22 | 
             
                    </p>
         | 
| 23 23 | 
             
                  <% end %>
         | 
| @@ -26,7 +26,7 @@ | |
| 26 26 |  | 
| 27 27 | 
             
              <div class="space-y-4">
         | 
| 28 28 | 
             
                <% if partial.table? %>
         | 
| 29 | 
            -
                  <div class="box-table <%= divider ? 'mt-4' : '-mt-1' %> pb-0.5">
         | 
| 29 | 
            +
                  <div class="box-table <%= divider ? 'mt-4' : '-mt-1' %> pb-0.5 overflow-y-auto">
         | 
| 30 30 | 
             
                    <%= partial.table %>
         | 
| 31 31 | 
             
                  </div>
         | 
| 32 32 | 
             
                <% end %>
         | 
| @@ -56,13 +56,13 @@ | |
| 56 56 | 
             
              </div>
         | 
| 57 57 |  | 
| 58 58 | 
             
              <% if partial.footer? %>
         | 
| 59 | 
            -
                <div class="py-4 px-8 bg- | 
| 59 | 
            +
                <div class="py-4 px-8 bg-base-50 border-t dark:bg-base-900 dark:border-base-600">
         | 
| 60 60 | 
             
                  <%= partial.footer %>
         | 
| 61 61 | 
             
                </div>
         | 
| 62 62 | 
             
              <% end %>
         | 
| 63 63 |  | 
| 64 64 | 
             
              <% if partial.raw_footer? %>
         | 
| 65 | 
            -
                <div class="bg- | 
| 65 | 
            +
                <div class="bg-base-50 dark:bg-base-900">
         | 
| 66 66 | 
             
                  <%= partial.raw_footer %>
         | 
| 67 67 | 
             
                </div>
         | 
| 68 68 | 
             
              <% 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- | 
| 10 | 
            +
                <svg class="flex-shrink-0 h-3 w-3 text-base-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- | 
| 14 | 
            +
                <% item_style = "ml-3 text-base-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- | 
| 18 | 
            +
                  <%= link_to label, url, class: "#{item_style} hover:text-base-700 hover:underline dark:text-primary-300" %>
         | 
| 19 19 | 
             
                <% else %>
         | 
| 20 20 | 
             
                  <span class="<%= item_style %>"><%= label %></span>
         | 
| 21 21 | 
             
                <% end %>
         | 
| @@ -24,13 +24,13 @@ | |
| 24 24 | 
             
                  </div>
         | 
| 25 25 |  | 
| 26 26 | 
             
                  <% if completion_percent %>
         | 
| 27 | 
            -
                    <div class="mt-3 h-4 bg- | 
| 27 | 
            +
                    <div class="mt-3 h-4 bg-base-100 shadow-inner rounded w-full">
         | 
| 28 28 | 
             
                      <div class="h-4 animate-pulse bg-primary-500 rounded" style="width: <%= completion_percent %>%"></div>
         | 
| 29 29 | 
             
                    </div>
         | 
| 30 30 | 
             
                  <% end %>
         | 
| 31 31 |  | 
| 32 32 | 
             
                  <% if partial.status? %>
         | 
| 33 | 
            -
                    <div class="<% "mt-2" if completion_percent %> uppercase text-xs text- | 
| 33 | 
            +
                    <div class="<% "mt-2" if completion_percent %> uppercase text-xs text-base-400">
         | 
| 34 34 | 
             
                      <%= partial.status %>
         | 
| 35 35 | 
             
                    </div>
         | 
| 36 36 | 
             
                  <% 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- | 
| 5 | 
            +
                <div class="w-full border-t border-base-300 dark:border-base-500"></div>
         | 
| 6 6 | 
             
              </div>
         | 
| 7 7 | 
             
              <div class="relative flex justify-center">
         | 
| 8 | 
            -
                <span class="px-2 bg-white text- | 
| 8 | 
            +
                <span class="px-2 bg-white text-base-500 uppercase text-xs dark:text-base-300 dark:bg-base-700">
         | 
| 9 9 | 
             
                  <%= label %>
         | 
| 10 10 | 
             
                </span>
         | 
| 11 11 | 
             
              </div>
         | 
| @@ -1,3 +1,3 @@ | |
| 1 | 
            -
            <div class="border-b border- | 
| 1 | 
            +
            <div class="border-b border-base-200 pb-4 dark:border-base-600" style="position: relative;">
         | 
| 2 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,14 +1,14 @@ | |
| 1 1 | 
             
            <%= link_to path, class: "block group hover:no-underline" do %>
         | 
| 2 | 
            -
              <div class="bg-white hover:bg- | 
| 2 | 
            +
              <div class="bg-white hover:bg-base-50 rounded-md shadow dark:bg-base-700 dark:group-hover:bg-base-700 dark:bg-opacity-50 dark:group-hover:bg-opacity-25 overflow-hidden">
         | 
| 3 3 | 
             
                <div class="py-4 px-8 pr-5">
         | 
| 4 4 | 
             
                  <div class="flex items-center">
         | 
| 5 5 | 
             
                    <% if partial.body? %>
         | 
| 6 | 
            -
                      <div class="flex-1 text-xl font-semibold text- | 
| 6 | 
            +
                      <div class="flex-1 text-xl font-semibold text-base-700 dark:text-white dark:group-hover:text-base-100">
         | 
| 7 7 | 
             
                        <%= partial.body %>
         | 
| 8 8 | 
             
                      </div>
         | 
| 9 9 | 
             
                    <% end %>
         | 
| 10 10 | 
             
                    <div class="ml-5 flex-shrink-0">
         | 
| 11 | 
            -
                      <svg class="h-5 w-5 text- | 
| 11 | 
            +
                      <svg class="h-5 w-5 text-base-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
         | 
| 12 12 | 
             
                        <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"></path>
         | 
| 13 13 | 
             
                      </svg>
         | 
| 14 14 | 
             
                    </div>
         | 
| @@ -1,8 +1,8 @@ | |
| 1 1 | 
             
            <% link_url ||= "#" %>
         | 
| 2 2 | 
             
            <% memberships ||= [] %>
         | 
| 3 3 |  | 
| 4 | 
            -
            <li class="bg-white shadow overflow-hidden sm:rounded-md dark:bg- | 
| 5 | 
            -
              <%= link_to link_url, class: "group block hover:bg- | 
| 4 | 
            +
            <li class="bg-white shadow overflow-hidden sm:rounded-md dark:bg-base-700">
         | 
| 5 | 
            +
              <%= link_to link_url, class: "group block hover:bg-base-50 dark:hover:bg-base-400 dark:text-base-800", data: { turbo_prefetch: false } do %>
         | 
| 6 6 | 
             
                <div class="px-4 py-4 flex items-center sm:pl-8 sm:pr-6">
         | 
| 7 7 | 
             
                  <div class="min-w-0 flex-1 sm:flex sm:items-center sm:justify-between">
         | 
| 8 8 | 
             
                    <div>
         | 
| @@ -19,10 +19,10 @@ | |
| 19 19 | 
             
                    </div>
         | 
| 20 20 | 
             
                  </div>
         | 
| 21 21 | 
             
                  <div class="ml-5 flex-shrink-0">
         | 
| 22 | 
            -
                    <svg class="h-5 w-5 text- | 
| 22 | 
            +
                    <svg class="h-5 w-5 text-base-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
         | 
| 23 23 | 
             
                      <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" />
         | 
| 24 24 | 
             
                    </svg>
         | 
| 25 25 | 
             
                  </div>
         | 
| 26 26 | 
             
                </div>
         | 
| 27 27 | 
             
              <% end %>
         | 
| 28 | 
            -
            </li>
         | 
| 28 | 
            +
            </li>
         | 
| @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            <div class="border border- | 
| 1 | 
            +
            <div class="border border-base-300 dark:border-opacity-10 rounded-md bg-base-50 dark:bg-opacity-10">
         | 
| 2 2 | 
             
              <% if partial.title? || partial.description? || partial.body? %>
         | 
| 3 3 | 
             
                <div class="py-4 px-5 space-y">
         | 
| 4 4 | 
             
                  <% if partial.title? || partial.description? %>
         | 
| @@ -10,7 +10,7 @@ | |
| 10 10 | 
             
                      <% end %>
         | 
| 11 11 |  | 
| 12 12 | 
             
                      <% if partial.description? %>
         | 
| 13 | 
            -
                        <p class="text- | 
| 13 | 
            +
                        <p class="text-base-400 font-light leading-normal">
         | 
| 14 14 | 
             
                          <%= partial.description %>
         | 
| 15 15 | 
             
                        </p>
         | 
| 16 16 | 
             
                      <% end %>
         | 
| @@ -33,22 +33,22 @@ | |
| 33 33 |  | 
| 34 34 | 
             
                  <% if action.completed? %>
         | 
| 35 35 | 
             
                    <% if action.is_a?(Actions::HasProgress) %>
         | 
| 36 | 
            -
                      <div class="uppercase text-xs text- | 
| 36 | 
            +
                      <div class="uppercase text-xs text-base-400">
         | 
| 37 37 | 
             
                        <%= t('action_models.processed_of', performed_count: action.performed_count, target_count: action.target_count, at: display_date_and_time(action.completed_at)) %>
         | 
| 38 38 | 
             
                      </div>
         | 
| 39 39 | 
             
                    <% else %>
         | 
| 40 | 
            -
                      <div class="uppercase text-xs text- | 
| 40 | 
            +
                      <div class="uppercase text-xs text-base-400">
         | 
| 41 41 | 
             
                        <%= t('action_models.processed', at: display_date_and_time(action.completed_at)) %>
         | 
| 42 42 | 
             
                      </div>
         | 
| 43 43 | 
             
                    <% end %>
         | 
| 44 44 |  | 
| 45 45 | 
             
                  <% elsif action.is_a?(Actions::RequiresApproval) && !action.approved? %>
         | 
| 46 | 
            -
                    <div class="uppercase text-xs text- | 
| 46 | 
            +
                    <div class="uppercase text-xs text-base-400">
         | 
| 47 47 | 
             
                      <%= t('action_models.awaiting') %>
         | 
| 48 48 | 
             
                    </div>
         | 
| 49 49 |  | 
| 50 50 | 
             
                  <% elsif action.is_a?(Actions::SupportsScheduling) && action.scheduled_for && !action.started? %>
         | 
| 51 | 
            -
                    <div class="uppercase text-xs text- | 
| 51 | 
            +
                    <div class="uppercase text-xs text-base-400">
         | 
| 52 52 | 
             
                      <%= t('action_models.scheduled_for', for: display_date_and_time(action.scheduled_for)) %>
         | 
| 53 53 | 
             
                    </div>
         | 
| 54 54 |  | 
| @@ -57,17 +57,17 @@ | |
| 57 57 | 
             
                      <%= render "shared/attributes/progress_bar", object: action, attribute: :performed_count, total: :target_count %>
         | 
| 58 58 | 
             
                    </div>
         | 
| 59 59 |  | 
| 60 | 
            -
                    <div class="mt-2 uppercase text-xs text- | 
| 60 | 
            +
                    <div class="mt-2 uppercase text-xs text-base-400">
         | 
| 61 61 | 
             
                      <%= t('action_models.processing_of', performed_count: action.performed_count, target_count: action.target_count) %>
         | 
| 62 62 | 
             
                    </div>
         | 
| 63 63 |  | 
| 64 64 | 
             
                  <% elsif action.is_a?(Actions::HasProgress) %>
         | 
| 65 | 
            -
                    <div class="uppercase text-xs text- | 
| 65 | 
            +
                    <div class="uppercase text-xs text-base-400">
         | 
| 66 66 | 
             
                      <%= t('action_models.preparing_to_process_of', performed_count: action.performed_count, target_count: action.target_count) %>
         | 
| 67 67 | 
             
                    </div>
         | 
| 68 68 |  | 
| 69 69 | 
             
                  <% else %>
         | 
| 70 | 
            -
                    <div class="uppercase text-xs text- | 
| 70 | 
            +
                    <div class="uppercase text-xs text-base-400">
         | 
| 71 71 | 
             
                      <%= t('action_models.preparing_to_process') %>
         | 
| 72 72 | 
             
                    </div>
         | 
| 73 73 |  | 
| @@ -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- | 
| 14 | 
            +
                    <div class="h-4 bg-base-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- | 
| 12 | 
            +
                        <small class="ml-2 uppercase <%= duration == current_duration ? "text-base-400" : "text-base-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- | 
| 23 | 
            +
                  <div class="bg-base-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- | 
| 34 | 
            +
                      <div class="mt-3 pt-2 inline-block border-t border-base-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- | 
| 48 | 
            +
                      <p class="text-base mt-3 text-base-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- | 
| 52 | 
            +
                        <ul class="text-base mt-5 text-base-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">
         | 
| @@ -2,20 +2,20 @@ | |
| 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- | 
| 5 | 
            +
              <%= link_to [:account, current_user, :conversations, :subscriptions, conversation_id: subscription.conversation.id], class: "#{current_conversation ? 'bg-base-100 border-l ' : 'bg-white'} h-28 p-1 flex border-b-2 cursor-pointer hover:no-underline  hover:bg-base-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- | 
| 11 | 
            -
                  <h2 class="<%= subscription.unread? ? 'font-bold text- | 
| 12 | 
            -
                  <div class="text- | 
| 10 | 
            +
                  <p class="text-xs text-base-300 text-right hover:no-underline"><%= "#{t('global.time_ago', time: time_ago_in_words(conversation.last_message.created_at))}" if conversation.last_message.present? %></p>
         | 
| 11 | 
            +
                  <h2 class="<%= subscription.unread? ? 'font-bold text-base-800' : 'font-semibold text-base-600' %> "><%= conversation.subject&.label_string %></h2>
         | 
| 12 | 
            +
                  <div class="text-base-300">
         | 
| 13 13 | 
             
                    <%= conversation.last_message&.user&.label_string %>
         | 
| 14 14 | 
             
                  </div>
         | 
| 15 | 
            -
                  <div class="h-8 text- | 
| 15 | 
            +
                  <div class="h-8 text-base-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>
         | 
| 19 19 |  | 
| 20 20 | 
             
              <% end %>
         | 
| 21 | 
            -
            </div>
         | 
| 21 | 
            +
            </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- | 
| 7 | 
            +
            <div class="flex py-3 px-2  text-base-700 <%= message.reply? ? 'border w-full bg-base-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- | 
| 10 | 
            +
                <div class=""><span class="uppercase font-bold text-base-500"><%= message.user.name %></span><span class="font-extralight text-xs text-base-400"> • <%= t("global.time_ago", time: time_ago_in_words(message.created_at)) %>
         | 
| 11 11 | 
             
            </span></div>
         | 
| 12 12 | 
             
                <div class="py-2"><%= trix_sanitize message.body %></div>
         | 
| 13 13 | 
             
                <% if message.replies.any? %>
         | 
| @@ -19,7 +19,7 @@ | |
| 19 19 | 
             
                <% end %>
         | 
| 20 20 | 
             
                <% unless message.reply? %>
         | 
| 21 21 | 
             
                  <%= turbo_frame_tag "reply_#{message.id}" do %>
         | 
| 22 | 
            -
                    <%= link_to "Reply", [:reply, :account, message], class: "font-light text-sm text- | 
| 22 | 
            +
                    <%= link_to "Reply", [:reply, :account, message], class: "font-light text-sm text-base-400 hover:text-base-500 pt-2" %>
         | 
| 23 23 | 
             
                  <% end %>
         | 
| 24 24 | 
             
                <% end %>
         | 
| 25 25 | 
             
              </div>
         | 
| @@ -74,14 +74,14 @@ | |
| 74 74 | 
             
                      data-action="<%= 'mouseenter->reply#showReplyButton click->reply#showReplyButton' unless placeholder_message || show_as_thread %>" data-show-class="<%= current_user_message ? 'mr-10' : 'ml-10' %>"
         | 
| 75 75 | 
             
                      >
         | 
| 76 76 | 
             
                      <% if placeholder_message %>
         | 
| 77 | 
            -
                        <div class="cursor-pointer" data-thread-url="<%= url_for([:thread, :account, message.thread_origin_message || message]) %>" data-action="click->reply#reply"><span class="px-2 py-1 text-xs text- | 
| 77 | 
            +
                        <div class="cursor-pointer" data-thread-url="<%= url_for([:thread, :account, message.thread_origin_message || message]) %>" data-action="click->reply#reply"><span class="px-2 py-1 text-xs text-base-300 rounded-lg inline-block <%= rounding_modifier %> border-primary-300 border break-words sm:max-w-sm max-w-tiny"><%= Nokogiri::HTML.fragment(trix_sanitize(message.body)).text.truncate(80) %></span></div>
         | 
| 78 78 | 
             
                      <% else %>
         | 
| 79 | 
            -
                        <div><span class="px-4 py-2 rounded-lg inline-block <%= rounding_modifier %> <%= current_user_message ? ' bg-primary-600 text-white' : ' bg- | 
| 79 | 
            +
                        <div><span class="px-4 py-2 rounded-lg inline-block <%= rounding_modifier %> <%= current_user_message ? ' bg-primary-600 text-white' : ' bg-base-300 text-base-600' %> "><%= trix_sanitize(message.body) %></span></div>
         | 
| 80 80 | 
             
                      <% end %>
         | 
| 81 81 | 
             
                    </div>
         | 
| 82 82 | 
             
                    <%= avatar %>
         | 
| 83 83 | 
             
                    <% unless placeholder_message || show_as_thread %>
         | 
| 84 | 
            -
                      <div class="order-2 absolute text- | 
| 84 | 
            +
                      <div class="order-2 absolute text-base-400 bottom-1 hover:text-base-500 <%= current_user_message ? 'right-10' : 'left-10' %> z-0">
         | 
| 85 85 | 
             
                        <button
         | 
| 86 86 | 
             
                          data-action="click->reply#reply"
         | 
| 87 87 | 
             
                          data-thread-url="<%= url_for([:thread, :account, message.thread_origin_message || message]) %>"
         | 
| @@ -110,7 +110,7 @@ | |
| 110 110 | 
             
                  <% end %>
         | 
| 111 111 |  | 
| 112 112 | 
             
                  <div class="flex flex-grow order-1 <%= current_user_message ? 'justify-end items-end pr-8' : 'justify-start items-start pl-8' %> <%= 'mb-3' unless next_message_in_series %>">
         | 
| 113 | 
            -
                    <div class="<%= show_as_thread ? 'text- | 
| 113 | 
            +
                    <div class="<%= show_as_thread ? 'text-base-400' : 'text-base-300' %> text-sm">
         | 
| 114 114 | 
             
                      <strong><%= message.author.name %></strong>
         | 
| 115 115 | 
             
                      <%= timestamp %>
         | 
| 116 116 | 
             
                    </div>
         | 
| @@ -120,14 +120,14 @@ | |
| 120 120 | 
             
              <% if message.replies.any? && false %>
         | 
| 121 121 | 
             
                <div class="mb-4">
         | 
| 122 122 | 
             
                  <% message.replies.each do |reply| %>
         | 
| 123 | 
            -
                    <div class="flex text-xs font-extralight text- | 
| 123 | 
            +
                    <div class="flex text-xs font-extralight text-base-300 ml-12">
         | 
| 124 124 | 
             
                      <div class="<%= 'w-full' if current_user_message %>"></div>
         | 
| 125 | 
            -
                      <svg version="1.0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 682" class="w-5 h-5 stroke-current mt-4 text- | 
| 125 | 
            +
                      <svg version="1.0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 682" class="w-5 h-5 stroke-current mt-4 text-base-50 fill-current">
         | 
| 126 126 | 
             
                        <path d="M0 57.7c.1 145.1 4.1 224 14.5 281.1 19.4 106.3 65.2 156.4 166.3 181.7 48.7 12.1 111.4 18.8 211.7 22.5 23.8.9 196.6 2.8 268.2 3H683l.2 67.8.3 67.8 170.3-102.1L1024 477.3l-170.2-102-170.3-102-.3 67.8-.2 67.9h-75.8c-184.7 0-266.9-4.8-327.2-19-34.2-8.1-62.8-21.1-81.2-37-36.1-31.3-52.3-76.8-58.8-165.5-2-28-3-69.2-3-127.8V0H0v57.7z"/>
         | 
| 127 127 | 
             
                      </svg>
         | 
| 128 128 | 
             
                      <div class="flex flex-col mr-10 min-w-max">
         | 
| 129 129 | 
             
                        <div class="pt-0 mr-2 ml-4 text-xxs"><%= reply.membership.label_string %> <%= t('conversations.message.reply') %></div>
         | 
| 130 | 
            -
                        <div class="bg- | 
| 130 | 
            +
                        <div class="bg-base-100 rounded py-2 px-4 mt-0 text-base-400 max-w-md"><%= reply.body.html_safe %></div>
         | 
| 131 131 | 
             
                      </div>
         | 
| 132 132 | 
             
                    </div>
         | 
| 133 133 | 
             
                  <% end %>
         | 
| @@ -1,3 +1,3 @@ | |
| 1 1 | 
             
            <div class="flex-grow flex <%= side == :left ? 'justify-start' : 'justify-end order-2' %>">
         | 
| 2 | 
            -
              <div class=" border-solid border- | 
| 2 | 
            +
              <div class=" border-solid border-base-300 <%= border_classes %> text-white <%= side == :left ? 'ml-12 mr-0' : 'ml-0 mr-12' %> w-6"></div>
         | 
| 3 3 | 
             
            </div>
         | 
| @@ -23,10 +23,10 @@ wrapper_options[:data][:action] ||= "" | |
| 23 23 | 
             
            wrapper_options[:data][:action] += " color-scheme:changed@window->#{stimulus_controller}#updateComponentTheme"
         | 
| 24 24 |  | 
| 25 25 | 
             
            field_class = "min-h-32 w-full text-base md:text-[0.75rem] font-mono text-input px-0 "
         | 
| 26 | 
            -
            field_class += " bg-[color:--code-editor-background] [--code-editor-background:theme('colors. | 
| 27 | 
            -
            field_class += " block rounded-md shadow-sm font-light dark:text- | 
| 28 | 
            -
            field_class += " disabled:[--code-editor-background:theme('colors. | 
| 29 | 
            -
            field_class += " focus:ring-primary-500 focus:border-primary-500 border- | 
| 26 | 
            +
            field_class += " bg-[color:--code-editor-background] [--code-editor-background:theme('colors.base.50')] dark:[--code-editor-background:theme('colors.base.800')]"
         | 
| 27 | 
            +
            field_class += " block rounded-md shadow-sm font-light dark:text-base-300"
         | 
| 28 | 
            +
            field_class += " disabled:[--code-editor-background:theme('colors.base.200')] disabled:dark:[--code-editor-background:theme('colors.base.700')]"
         | 
| 29 | 
            +
            field_class += " focus:ring-primary-500 focus:border-primary-500 border-base-300 dark:border-base-900"
         | 
| 30 30 |  | 
| 31 31 | 
             
            plain_field_options ||= {}
         | 
| 32 32 | 
             
            plain_field_options[:class] ||= ""
         | 
| @@ -52,14 +52,14 @@ has_errors = errors.any? || partial.error? || other_options[:error].present? | |
| 52 52 |  | 
| 53 53 | 
             
            # TODO: Partials which invoke form helpers inline aren't using
         | 
| 54 54 | 
             
            # these classes, although we have the `has_errors` conditional with some style below.
         | 
| 55 | 
            -
            options[:class] = "#{options[:class]} block w-full rounded-md shadow-sm font-light dark:bg- | 
| 55 | 
            +
            options[:class] = "#{options[:class]} block w-full rounded-md shadow-sm font-light dark:bg-base-800 dark:text-base-300"
         | 
| 56 56 | 
             
            options[:class] += " text-base md:text-sm" # default to 16px on mobile to prevent zooming
         | 
| 57 | 
            -
            options[:class] += " disabled:bg- | 
| 57 | 
            +
            options[:class] += " disabled:bg-base-200 disabled:dark:bg-base-700" # classes to give a visual indicator when a field is disabled
         | 
| 58 58 |  | 
| 59 59 | 
             
            options[:class] += if has_errors
         | 
| 60 | 
            -
              " pr-10 border-red-500 text-red-900 placeholder-red-500 outline-none focus:ring-red-500 focus:border-red-500 dark:text- | 
| 60 | 
            +
              " pr-10 border-red-500 text-red-900 placeholder-red-500 outline-none focus:ring-red-500 focus:border-red-500 dark:text-base-300"
         | 
| 61 61 | 
             
            else
         | 
| 62 | 
            -
              " focus:ring-primary-500 focus:border-primary-500 border- | 
| 62 | 
            +
              " focus:ring-primary-500 focus:border-primary-500 border-base-300 dark:border-base-900"
         | 
| 63 63 | 
             
            end
         | 
| 64 64 | 
             
            %>
         | 
| 65 65 |  | 
| @@ -105,7 +105,7 @@ end | |
| 105 105 |  | 
| 106 106 | 
             
              <% # any help text. %>
         | 
| 107 107 | 
             
              <% if partial.help? || other_options[:help].present? || partial.after_help? %>
         | 
| 108 | 
            -
                <p class="mt-1.5 text-xs text- | 
| 108 | 
            +
                <p class="mt-1.5 text-xs text-base-500 dark:text-base-400">
         | 
| 109 109 | 
             
                  <%= partial.help %>
         | 
| 110 110 | 
             
                  <%= other_options[:help]&.html_safe %>
         | 
| 111 111 | 
             
                  <%= partial.after_help %>
         | 
| @@ -3,7 +3,7 @@ | |
| 3 3 | 
             
              <head>
         | 
| 4 4 | 
             
                <%= render 'shared/layouts/head' %>
         | 
| 5 5 | 
             
              </head>
         | 
| 6 | 
            -
              <body class="min-h-screen <%= BulletTrain::Themes::Light.background || "bg- | 
| 6 | 
            +
              <body class="min-h-screen <%= BulletTrain::Themes::Light.background || "bg-base-100 md:bg-gradient-to-br from-secondary-200 to-primary-400 dark:from-primary-900 dark:to-primary-600" %> text-base-700 text-sm font-normal dark:text-base-300">
         | 
| 7 7 | 
             
                <div class="p-4 bg-primary-900 electron-draggable electron-title-bar hidden electron-mobile-only"></div>
         | 
| 8 8 | 
             
                <div class="md:p-5 main-container-padding">
         | 
| 9 9 | 
             
                  <div class="min-h-screen md:h-auto md:rounded-lg flex shadow main-container"
         | 
| @@ -13,17 +13,17 @@ | |
| 13 13 | 
             
                    <%= render "account/shared/menu/mobile" %>
         | 
| 14 14 |  | 
| 15 15 | 
             
                    <% if BulletTrain::Themes::Light.navigation == :left %>
         | 
| 16 | 
            -
                      <div class="hidden lg:flex lg:flex-shrink-0 bg-gradient-to-b from-primary-700 to-primary-800 dark:from- | 
| 16 | 
            +
                      <div class="hidden lg:flex lg:flex-shrink-0 bg-gradient-to-b from-primary-700 to-primary-800 dark:from-base-800 dark:to-base-800 md:rounded-l-lg">
         | 
| 17 17 | 
             
                        <div class="w-64">
         | 
| 18 18 | 
             
                          <%= render "account/shared/menu/sidebar" %>
         | 
| 19 19 | 
             
                        </div>
         | 
| 20 20 | 
             
                      </div>
         | 
| 21 21 | 
             
                    <% end %>
         | 
| 22 22 |  | 
| 23 | 
            -
                    <div class="flex flex-col w-0 flex-1 bg- | 
| 23 | 
            +
                    <div class="flex flex-col w-0 flex-1 bg-base-100 dark:bg-base-800 dark:border-base-500 md:rounded-lg <%= BulletTrain::Themes::Light.navigation == :left ? "lg:border-l lg:rounded-l-none" : "" %>">
         | 
| 24 24 |  | 
| 25 25 | 
             
                      <% if BulletTrain::Themes::Light.navigation == :top %>
         | 
| 26 | 
            -
                        <div class="hidden lg:flex bg-gradient-to-b from-primary-700 to-primary-800 dark:from- | 
| 26 | 
            +
                        <div class="hidden lg:flex bg-gradient-to-b from-primary-700 to-primary-800 dark:from-base-700/50 dark:to-base-800 dark:shadow md:rounded-t-lg">
         | 
| 27 27 | 
             
                          <%= render "account/shared/menu/top" %>
         | 
| 28 28 | 
             
                        </div>
         | 
| 29 29 | 
             
                      <% end %>
         | 
| @@ -3,7 +3,7 @@ | |
| 3 3 | 
             
              <head>
         | 
| 4 4 | 
             
                <%= render 'shared/layouts/head' %>
         | 
| 5 5 | 
             
              </head>
         | 
| 6 | 
            -
              <body class="devise_layout electron-draggable <%= BulletTrain::Themes::Light.background || "bg-white dark:bg- | 
| 6 | 
            +
              <body class="devise_layout electron-draggable <%= BulletTrain::Themes::Light.background || "bg-white dark:bg-base-700 sm:bg-gradient-to-br from-secondary-200 to-primary-400 dark:from-primary-900 dark:to-primary-600" %> text-base-700 text-sm font-normal dark:text-base-300">
         | 
| 7 7 | 
             
                <div data-turn-enter data-turn-exit>
         | 
| 8 8 | 
             
                  <%= yield %>
         | 
| 9 9 | 
             
                </div>
         | 
| @@ -11,7 +11,7 @@ | |
| 11 11 | 
             
                <div class="absolute top-0 left-0 right-0 z-50">
         | 
| 12 12 | 
             
                  <%= render "account/shared/menu/user" %>
         | 
| 13 13 | 
             
                </div>
         | 
| 14 | 
            -
                <div class="absolute transition duration-150 scale-95 group-hover:scale-100 translate-y-1 group-hover:translate-y-0 bg-primary-700 dark:bg- | 
| 14 | 
            +
                <div class="absolute transition duration-150 scale-95 group-hover:scale-100 translate-y-1 group-hover:translate-y-0 bg-primary-700 dark:bg-base-700 -top-0 left-0 right-0 -m-2 p-2 rounded-lg z-40 shadow">
         | 
| 15 15 | 
             
                  <div class="invisible">
         | 
| 16 16 | 
             
                    <%= render "account/shared/menu/user", expand: expand %>
         | 
| 17 17 | 
             
                  </div>
         | 
| @@ -5,7 +5,7 @@ | |
| 5 5 | 
             
              <div class="inline-block <%= "transition group-hover/item:translate-x-3 duration-200" if @menu_orientation == :side %> flex items-center">
         | 
| 6 6 | 
             
                <!-- Heroicon name: home -->
         | 
| 7 7 | 
             
                <% if partial.icon? %>
         | 
| 8 | 
            -
                  <span class="mr-3 h-6 w-6 text-center text-secondary-300 text-xl leading-6 dark:text- | 
| 8 | 
            +
                  <span class="mr-3 h-6 w-6 text-center text-secondary-300 text-xl leading-6 dark:text-base-400">
         | 
| 9 9 | 
             
                    <%= partial.icon %>
         | 
| 10 10 | 
             
                  </span>
         | 
| 11 11 | 
             
                <% end %>
         | 
| @@ -31,7 +31,7 @@ | |
| 31 31 | 
             
                  data-transition-leave-start="translate-x-0"
         | 
| 32 32 | 
             
                  data-transition-leave-end="-translate-x-full"
         | 
| 33 33 |  | 
| 34 | 
            -
                  class="hidden relative flex-1 flex flex-col max-w-xs w-full pb-4 bg-gradient-to-b from-primary-700 to-primary-800 dark:from- | 
| 34 | 
            +
                  class="hidden relative flex-1 flex flex-col max-w-xs w-full pb-4 bg-gradient-to-b from-primary-700 to-primary-800 dark:from-base-700 dark:to-base-800 shadow-xl"
         | 
| 35 35 | 
             
                >
         | 
| 36 36 | 
             
                  <%= render "account/shared/menu/sidebar", expand: true %>
         | 
| 37 37 | 
             
                </div>
         | 
| @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            <button class="lg:hidden h-12 w-12 ml-1 flex-none inline-flex items-center justify-center rounded-md text- | 
| 1 | 
            +
            <button class="lg:hidden h-12 w-12 ml-1 flex-none inline-flex items-center justify-center rounded-md text-base-500 hover:text-base-900 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500"
         | 
| 2 2 | 
             
              id="mobile-menu-open"
         | 
| 3 3 | 
             
              data-action="mobile-menu#open"
         | 
| 4 4 | 
             
            >
         | 
| @@ -24,7 +24,7 @@ | |
| 24 24 | 
             
                  "
         | 
| 25 25 | 
             
                    data-desktop-menu-target="menuItemGroup"
         | 
| 26 26 | 
             
                  >
         | 
| 27 | 
            -
                    <div class="bg-primary-700 dark:bg- | 
| 27 | 
            +
                    <div class="bg-primary-700 dark:bg-base-700 rounded-lg py-3 px-4 w-56 shadow">
         | 
| 28 28 | 
             
                      <% @last_menu_orientation = @menu_orientation %>
         | 
| 29 29 | 
             
                      <% @menu_orientation = :side %>
         | 
| 30 30 | 
             
                      <%= yield %>
         | 
| @@ -8,7 +8,7 @@ | |
| 8 8 | 
             
                    <div class="text-white">
         | 
| 9 9 | 
             
                      <%= current_user.name %>
         | 
| 10 10 | 
             
                    </div>
         | 
| 11 | 
            -
                    <div class="text-2xs tracking-widest uppercase text-secondary-300 group-hover:text-white dark:text- | 
| 11 | 
            +
                    <div class="text-2xs tracking-widest uppercase text-secondary-300 group-hover:text-white dark:text-base-500">
         | 
| 12 12 | 
             
                      <%= current_team.name %>
         | 
| 13 13 | 
             
                    </div>
         | 
| 14 14 | 
             
                  </div>
         | 
| @@ -2,7 +2,7 @@ | |
| 2 2 |  | 
| 3 3 | 
             
            <div class="min-h-screen flex flex-col justify-center sm:py-12">
         | 
| 4 4 | 
             
              <div class="mx-auto w-full <%= width %> p-1.5">
         | 
| 5 | 
            -
                <div class="sm:bg-white py-8 px-10 sm:shadow sm:dark:shadow-lg rounded-lg sm:dark:bg- | 
| 5 | 
            +
                <div class="sm:bg-white py-8 px-10 sm:shadow sm:dark:shadow-lg rounded-lg sm:dark:bg-base-700 dark:bg-opacity-80">
         | 
| 6 6 | 
             
                  <div class="sm:mx-auto sm:w-full sm:max-w-md py-5">
         | 
| 7 7 | 
             
                    <a href="<%= main_app.root_path %>" class="block py-3">
         | 
| 8 8 | 
             
                      <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="theme-logo mx-auto" />
         | 
    
        data/tailwind.light.config.js
    CHANGED
    
    | @@ -20,7 +20,7 @@ module.exports = { | |
| 20 20 | 
             
                    'xs': '.81rem',
         | 
| 21 21 | 
             
                    '2xs': ['0.65rem', { lineHeight: '0.9rem', letterSpacing: '1px' }]
         | 
| 22 22 | 
             
                  },
         | 
| 23 | 
            -
                  colors: {
         | 
| 23 | 
            +
                  colors: ({ colors }) => ({
         | 
| 24 24 | 
             
                    primary: {
         | 
| 25 25 | 
             
                      50: 'var(--primary-50)',
         | 
| 26 26 | 
             
                      100: 'var(--primary-100)',
         | 
| @@ -47,7 +47,9 @@ module.exports = { | |
| 47 47 | 
             
                      800: 'var(--secondary-800)',
         | 
| 48 48 | 
             
                      900: 'var(--secondary-900)',
         | 
| 49 49 | 
             
                    },
         | 
| 50 | 
            -
             | 
| 50 | 
            +
                    base: colors.slate,
         | 
| 51 | 
            +
                    ...colors
         | 
| 52 | 
            +
                  }),
         | 
| 51 53 | 
             
                  fontFamily: {
         | 
| 52 54 | 
             
                    // "Avenir Next W01", "Proxima Nova W01", "", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
         | 
| 53 55 | 
             
                    sans: ['Inter var', ...defaultTheme.fontFamily.sans],
         |