Skip to content

Commit

Permalink
update background
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Apr 25, 2024
1 parent 67131a9 commit 48a0840
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 20 deletions.
22 changes: 11 additions & 11 deletions publish/resources/js/choices.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ fieldset:disabled .#{$choices-selector} {
}

.multiselect, .multiselect__select, .multiselect__tags, .multiselect__spinner {
@apply dark:bg-gray-800 dark:border-gray-700 rounded-lg;
@apply dark:bg-zinc-800 dark:border-zinc-700 rounded-lg;
}

.multiselect__input, .multiselect__option, .multiselect__single, .multiselect__tags, .multiselect__content-wrapper {
@apply dark:bg-gray-800 dark:border-gray-700 dark:ring-0 dark:text-gray-200;
@apply dark:bg-zinc-800 dark:border-zinc-700 dark:ring-0 dark:text-zinc-200;
}

.#{$choices-selector} {
@apply shadow-sm;

.#{$choices-selector}__inner {
@apply block rounded-md dark:bg-gray-800 border-gray-200 dark:border-gray-700 shadow-sm w-full py-2;
@apply block rounded-md dark:bg-zinc-800 border-zinc-200 dark:border-zinc-700 shadow-sm w-full py-2;

min-height: auto;
}
Expand All @@ -39,7 +39,7 @@ fieldset:disabled .#{$choices-selector} {
}

.#{$choices-selector}__inner {
@apply px-3 text-base dark:text-gray-200 bg-no-repeat;
@apply px-3 text-base dark:text-zinc-200 bg-no-repeat;

.#{$choices-selector}__input {
&:focus {
Expand All @@ -59,12 +59,12 @@ fieldset:disabled .#{$choices-selector} {
}

.#{$choices-selector}__input {
@apply px-4 text-base dark:text-gray-200;
@apply px-4 text-base dark:text-zinc-200;

box-shadow: none;

&::placeholder {
@apply text-gray-700;
@apply text-zinc-700;
}
}

Expand All @@ -88,14 +88,14 @@ fieldset:disabled .#{$choices-selector} {
}

.#{$choices-selector}__list--dropdown {
@apply mt-1 shadow-lg rounded-md border-gray-200 dark:bg-gray-800 dark:border-gray-700;
@apply mt-1 shadow-lg rounded-md border-zinc-200 dark:bg-zinc-800 dark:border-zinc-700;

.#{$choices-selector}__item.#{$choices-selector}__placeholder {
@apply hidden;
}

.#{$choices-selector}__item--selectable {
@apply text-gray-900 dark:text-gray-200 text-base px-4;
@apply text-zinc-900 dark:text-zinc-200 text-base px-4;

&.is-highlighted {
@apply bg-primary-500 text-white ;
Expand All @@ -107,7 +107,7 @@ fieldset:disabled .#{$choices-selector} {
@apply mb-0;

.#{$choices-selector}__item {
@apply bg-primary-500 border-primary-500 dark:text-gray-200 rounded-md font-medium py-1 text-sm mb-0 ;
@apply bg-primary-500 border-primary-500 dark:text-zinc-200 rounded-md font-medium py-1 text-sm mb-0 ;

&:hover{
@apply bg-primary-700 border-primary-700
Expand All @@ -131,11 +131,11 @@ fieldset:disabled .#{$choices-selector} {
}

.#{$choices-selector}__input {
@apply m-0 py-px ltr:pl-0 rtl:pr-0 text-base dark:text-gray-200 min-w-0 leading-none;
@apply m-0 py-px ltr:pl-0 rtl:pr-0 text-base dark:text-zinc-200 min-w-0 leading-none;
}
}
}

.#{$choices-selector}__placeholder {
@apply opacity-100 text-gray-500 dark:text-gray-200
@apply opacity-100 text-zinc-500 dark:text-zinc-200
}
2 changes: 1 addition & 1 deletion resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
local-storage
>

<div class="filament-body bg-zinc-50 text-zinc-950 dark:text-white dark:bg-black font-main" @load="data.dark" id="appBody">
<div class="filament-body bg-zinc-50 text-zinc-950 dark:text-white dark:bg-zinc-900 font-main" @load="data.dark" id="appBody">
<div class="filament-app-layout flex w-full min-h-screen overflow-v-clip">

<x-tomato-admin-aside />
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/includes/aside.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class="block w-fulls font-bold"
@if(\Laravel\Jetstream\Jetstream::hasTeamFeatures())
<div v-show="!data.makeMenuMin" class="my-2 border-t border-zinc-700"></div>
<div v-show="!data.makeMenuMin" class="flex flex-col justify-center items-center">
<x-tomato-admin-dropdown id="team-dropdown">
<x-tomato-admin-dropdown class="mt-2" id="team-dropdown">
<x-slot:button>
<div class="flex justify-start gap-4 w-full mx-4" v-show="!data.makeMenuMin">
<div>
Expand Down
12 changes: 5 additions & 7 deletions resources/views/layouts/includes/nav.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<!-- hide button -->
<button
class="
filament-sidebar-open-button
shrink-0
flex
items-center
Expand All @@ -27,14 +27,13 @@ class="
h-10
transition
text-zinc-900
text-center
dark:text-zinc-100
rounded-full
hover:bg-zinc-500/5
focus:bg-primary-500/10
focus:outline-none
lg:z-10
lg:hover:bg-white
lg:focus:bg-white
lg:hover:text-zinc-600
lg:focus:text-zinc-600
lg:-ml-[44px]
lg:w-6
Expand All @@ -43,7 +42,6 @@ class="
lg:bg-white
lg:shadow
lg:dark:bg-zinc-900
lg:dark:hover:text-zinc-400
lg:dark:focus:text-zinc-400
lg:mr-4
rtl:lg:ml-4
Expand All @@ -53,7 +51,7 @@ class="
>
<div
@click.prevent="data.makeMenuMin = !data.makeMenuMin"
class="relative lg:absolute invisible lg:visible"
class="relative lg:absolute invisible lg:visible text-center flex justify-center"
>
@if(app()->getLocale() === 'ar')
<x-heroicon-o-arrow-small-right class="w-4 h-4 text-primary-500" v-if="!data.makeMenuMin" />
Expand All @@ -65,7 +63,7 @@ class="relative lg:absolute invisible lg:visible"
</div>

<div
class="relative lg:absolute visible lg:invisible"
class="relative lg:absolute visible lg:invisible flex justify-center text-center"
@click.prevent="data.makeMenuHide = !data.makeMenuHide"
>
<x-heroicon-o-bars-3 class="w-6 h-6"/>
Expand Down

0 comments on commit 48a0840

Please sign in to comment.