Skip to content

Commit

Permalink
Merge pull request #14 from lara-zeus/fix-classes
Browse files Browse the repository at this point in the history
Fix classes
  • Loading branch information
atmonshi authored Dec 15, 2023
2 parents be8b834 + 24af44c commit 3bc37b5
Show file tree
Hide file tree
Showing 28 changed files with 630 additions and 593 deletions.
1,145 changes: 591 additions & 554 deletions composer.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<span class="text-primary-500 dark:text-primary-500 hover:dark:text-primary-300">
{{ $form->name ?? '' }}
</span>
<cite class="text-custom-600 dark:text-custom-500 hover:dark:text-custom-300">
<cite class="text-primary-600 dark:text-primary-500 hover:dark:text-primary-300">
{{ $form->description }}
</cite>
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</div>
<div class="md:col-span-1 space-y-4">
<x-filament::section class="w-full">
<x-slot name="heading" class="text-custom-600">
<x-slot name="heading" class="text-primary-600">
{{ __('User Details') }}
</x-slot>
<p>
Expand All @@ -51,7 +51,7 @@
<div class="space-y-2">
<x-filament::section>
<x-slot name="heading" class="text-primary-500">
<p class="my-3 mx-1 text-custom-600 font-semibold">{{ __('Entry Details') }}</p>
<p class="my-3 mx-1 text-primary-600 font-semibold">{{ __('Entry Details') }}</p>
</x-slot>

<div class="flex flex-col">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="w-full mx-auto">
@if($layout->widgets !== null)
<div class="grid grid-cols-1 md:grid-cols-12 gap-2 w-full px-2">
@foreach (\LaraZeus\Rain\Models\Columns::all() as $column)
@foreach (\LaraZeus\DynamicDashboard\Models\Columns::all() as $column)
<div class="w-full {{ $column->class }}">
@if(isset($layout->widgets[$column->key]))
@php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</span>
@endif
</div>
<cite class="text-sm text-gray-500 dark:text-secondary-500 hover:dark:text-custom-300">
<cite class="text-sm text-gray-500 dark:text-secondary-500 hover:dark:text-primary-300">
{{ $library->description }}
</cite>
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ul role="list" class="-mx-2 space-y-1">
@foreach($nav as $item)
<li>
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($item,'text-gray-500 hover:text-primary-500 hover:bg-custom-50 group flex gap-x-3 rounded-3xl p-2 pl-3 text-sm transition-all ease-in-out duration-300') !!}
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($item,'text-gray-500 hover:text-primary-500 hover:bg-primary-50 group flex gap-x-3 rounded-3xl p-2 pl-3 text-sm transition-all ease-in-out duration-300') !!}
</li>
@endforeach
</ul>
Expand All @@ -22,7 +22,7 @@
{{ $item['label'] }}
</button>
@foreach($item['children'] as $children)
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($children,'block px-4 py-2 text-sm leading-5 text-primary-500 hover:bg-custom-100 focus:outline-none focus:bg-gray-100 transition-all ease-in-out duration-300') !!}
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($children,'block px-4 py-2 text-sm leading-5 text-primary-500 hover:bg-primary-100 focus:outline-none focus:bg-gray-100 transition-all ease-in-out duration-300') !!}
@endforeach
@else
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($item,'px-5 py-2 text-base font-medium text-gray-500 hover:text-primary-500 transition-all ease-in-out duration-300') !!}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@foreach($faqs as $faq)
<div class="bg-white dark:bg-gray-800 rounded-[2rem] rounded-bl-none rounded-tr-none shadow-md group">
<h5>
<a class="flex items-center justify-between w-full px-6 py-4 text-xl font-medium tracking-tight text-custom-600 dark:text-custom-200">
<a class="flex items-center justify-between w-full px-6 py-4 text-xl font-medium tracking-tight text-primary-600 dark:text-primary-200">
<span class="underline">
{{ $faq->question }}
</span>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="px-4 py-4 bg-gradient-to-br from-white via-white to-custom-50 shadow-lg rounded-3xl hover:shadow-xl transition ease-in-out duration-300 flex gap-2 items-center justify-center w-full h-72 border border-gray-100">
@svg('iconpark-wavesleft-o','h-10 w-10 text-custom-600')
<div class="px-4 py-4 bg-gradient-to-br from-white via-white to-primary-50 shadow-lg rounded-3xl hover:shadow-xl transition ease-in-out duration-300 flex gap-2 items-center justify-center w-full h-72 border border-gray-100">
@svg('iconpark-wavesleft-o','h-10 w-10 text-primary-600')
<span class="underline decoration-wavy underline-offset-4 decoration-primary-600">{{ __('No posts found') }}!</span>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div>
<label class="checkbox-wrapper">
<input wire:model="{{ $getStatePath() }}" type="radio" class="checkbox-input" name="group" value="{{ $dept->id }}"/>
<span class="checkbox-tile hover:border-custom-500 p-4">
<span class="checkbox-tile hover:border-primary-500 p-4">
<span class="text-primary-500 dark:text-primary-500 flex flex-col items-center justify-center gap-2">
@if($dept->image() !== null)
<img alt="{{ $dept->name ?? '' }}" class="w-full h-32 object-center object-cover" src="{{ $dept->image() }}">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/breeze/bolt/list-forms.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<span class="text-primary-600 dark:text-primary-500 hover:dark:text-primary-300">
{{ $form->name ?? '' }}
</span>
<cite class="text-custom-600 dark:text-custom-500 hover:dark:text-custom-300">
<cite class="text-primary-600 dark:text-primary-500 hover:dark:text-primary-300">
{{ $form->description }}
</cite>
</a>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/breeze/bolt/show-entry.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</div>
<div class="md:col-span-1 space-y-4">
<x-filament::section class="w-full">
<x-slot name="heading" class="text-custom-600">
<x-slot name="heading" class="text-primary-600">
{{ __('User Details') }}
</x-slot>
<p>
Expand All @@ -51,7 +51,7 @@
<div class="space-y-2">
<x-filament::section>
<x-slot name="heading" class="text-primary-600">
<p class="my-3 mx-1 text-custom-600 font-semibold">{{ __('Entry Details') }}</p>
<p class="my-3 mx-1 text-primary-600 font-semibold">{{ __('Entry Details') }}</p>
</x-slot>

<div class="flex flex-col">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/breeze/rain/layouts.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="container mx-auto">
@if($layout->widgets !== null)
<div class="grid grid-cols-1 md:grid-cols-12 gap-2 w-full">
@foreach (\LaraZeus\Rain\Models\Columns::all() as $column)
@foreach (\LaraZeus\DynamicDashboard\Models\Columns::all() as $column)
<div class="w-full {{ $column->class }}">
@if(isset($layout->widgets[$column->key]))
@php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</span>
@endif
</div>
<cite class="text-sm text-custom-600 dark:text-custom-500 hover:dark:text-custom-300">
<cite class="text-sm text-primary-600 dark:text-primary-500 hover:dark:text-primary-300">
{{ $library->description }}
</cite>
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ul role="list" class="-mx-2 space-y-1">
@foreach($nav as $item)
<li>
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($item,'text-gray-700 hover:text-custom-600 hover:bg-custom-50 group flex gap-x-3 rounded-3xl p-2 pl-3 text-sm transition-all ease-in-out duration-300') !!}
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($item,'text-gray-700 hover:text-primary-600 hover:bg-primary-50 group flex gap-x-3 rounded-3xl p-2 pl-3 text-sm transition-all ease-in-out duration-300') !!}
</li>
@endforeach
</ul>
Expand All @@ -22,10 +22,10 @@
{{ $item['label'] }}
</button>
@foreach($item['children'] as $children)
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($children,'block px-4 py-2 text-sm leading-5 text-primary-500 hover:bg-custom-100 focus:outline-none focus:bg-gray-100 transition-all ease-in-out duration-300') !!}
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($children,'block px-4 py-2 text-sm leading-5 text-primary-500 hover:bg-primary-100 focus:outline-none focus:bg-gray-100 transition-all ease-in-out duration-300') !!}
@endforeach
@else
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($item,'px-5 py-2 text-base font-medium text-primary-500 hover:text-custom-800 transition-all ease-in-out duration-300') !!}
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($item,'px-5 py-2 text-base font-medium text-primary-500 hover:text-primary-800 transition-all ease-in-out duration-300') !!}
@endif
@endforeach
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/breeze/sky/addons/faq.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@foreach($faqs as $faq)
<div class="bg-white dark:bg-gray-800 rounded-[2rem] rounded-bl-none rounded-tr-none shadow-md group">
<h5>
<a class="flex items-center justify-between w-full px-6 py-4 text-xl font-medium tracking-tight text-custom-600 dark:text-custom-200">
<a class="flex items-center justify-between w-full px-6 py-4 text-xl font-medium tracking-tight text-primary-600 dark:text-primary-200">
<span class="underline">
{{ $faq->question }}
</span>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/breeze/sky/addons/library.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</span>
@endif
</div>
<cite class="text-sm text-custom-600 dark:text-custom-500 hover:dark:text-custom-300">
<cite class="text-sm text-primary-600 dark:text-primary-500 hover:dark:text-primary-300">
{{ $library->description }}
</cite>
</a>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/breeze/sky/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@if(request()->filled('search'))
{{ __('Showing Search result of') }}: <span class="highlight">{{ request('search') }}</span>
<a title="{{ __('clear') }}" href="{{ route('blogs') }}">
@svg('heroicon-o-backspace','text-custom-500 dark:text-custom-100 w-4 h-4 inline-flex align-middle')
@svg('heroicon-o-backspace','text-primary-500 dark:text-primary-100 w-4 h-4 inline-flex align-middle')
</a>
@endif
@each($skyTheme.'.partial.post', $posts, 'post')
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/breeze/sky/partial/empty.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="px-4 py-4 bg-gradient-to-br from-white via-white to-custom-50 shadow-lg rounded-3xl hover:shadow-xl transition ease-in-out duration-300 flex gap-2 items-center justify-center w-full h-72 border border-gray-100">
@svg('iconpark-wavesleft-o','h-10 w-10 text-custom-600')
<div class="px-4 py-4 bg-gradient-to-br from-white via-white to-primary-50 shadow-lg rounded-3xl hover:shadow-xl transition ease-in-out duration-300 flex gap-2 items-center justify-center w-full h-72 border border-gray-100">
@svg('iconpark-wavesleft-o','h-10 w-10 text-primary-600')
<span class="underline decoration-wavy underline-offset-4 decoration-primary-600">{{ __('No posts found') }}!</span>
</div>
2 changes: 1 addition & 1 deletion resources/views/themes/breeze/wind/departments.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div>
<label class="checkbox-wrapper">
<input wire:model="{{ $getStatePath() }}" type="radio" class="checkbox-input" name="group" value="{{ $dept->id }}"/>
<span class="checkbox-tile hover:border-custom-500 p-4">
<span class="checkbox-tile hover:border-primary-500 p-4">
<span class="text-primary-600 dark:text-primary-500 flex flex-col items-center justify-center gap-2">
@if($dept->image() !== null)
<img alt="{{ $dept->name ?? '' }}" class="w-full h-32 object-center object-cover" src="{{ $dept->image() }}">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/daisy/rain/layouts.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="container mx-auto">
@if($layout->widgets !== null)
<div class="grid grid-cols-1 md:grid-cols-12 gap-6 w-full px-2">
@foreach (\LaraZeus\Rain\RainPlugin::get()->getModel('Columns')::all() as $column)
@foreach (\LaraZeus\DynamicDashboard\DynamicDashboardPlugin::get()->getModel('Columns')::all() as $column)
<div class="w-full {{ $column->class }}">
@if(isset($layout->widgets[$column->key]))
@php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</span>
@endif
</div>
<cite class="text-sm text-custom-600 dark:text-custom-500 hover:dark:text-custom-300">
<cite class="text-sm text-primary-600 dark:text-primary-500 hover:dark:text-primary-300">
{{ $library->description }}
</cite>
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ul role="list" class="-mx-2 space-y-1">
@foreach($nav as $item)
<li>
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($item,'text-gray-700 hover:text-custom-600 hover:bg-custom-50 group flex gap-x-3 rounded-3xl p-2 pl-3 text-sm transition-all ease-in-out duration-300') !!}
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($item,'text-gray-700 hover:text-primary-600 hover:bg-primary-50 group flex gap-x-3 rounded-3xl p-2 pl-3 text-sm transition-all ease-in-out duration-300') !!}
</li>
@endforeach
</ul>
Expand All @@ -22,10 +22,10 @@
{{ $item['label'] }}
</button>
@foreach($item['children'] as $children)
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($children,'block px-4 py-2 text-sm leading-5 text-primary-500 hover:bg-custom-100 focus:outline-none focus:bg-gray-100 transition-all ease-in-out duration-300') !!}
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($children,'block px-4 py-2 text-sm leading-5 text-primary-500 hover:bg-primary-100 focus:outline-none focus:bg-gray-100 transition-all ease-in-out duration-300') !!}
@endforeach
@else
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($item,'px-5 py-2 text-base font-medium text-primary-500 hover:text-custom-800 transition-all ease-in-out duration-300') !!}
{!! \LaraZeus\Sky\Classes\RenderNavItem::render($item,'px-5 py-2 text-base font-medium text-primary-500 hover:text-primary-800 transition-all ease-in-out duration-300') !!}
@endif
@endforeach
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/daisy/sky/addons/faq.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@foreach($faqs as $faq)
<div class="bg-white dark:bg-gray-800 rounded-[2rem] rounded-bl-none rounded-tr-none shadow-md group">
<h5>
<a class="flex items-center justify-between w-full px-6 py-4 text-xl font-medium tracking-tight text-custom-600 dark:text-custom-200">
<a class="flex items-center justify-between w-full px-6 py-4 text-xl font-medium tracking-tight text-primary-600 dark:text-primary-200">
<span class="underline">
{{ $faq->question }}
</span>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/daisy/sky/addons/library.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</span>
@endif
</div>
<cite class="text-sm text-custom-600 dark:text-custom-500 hover:dark:text-custom-300">
<cite class="text-sm text-primary-600 dark:text-primary-500 hover:dark:text-primary-300">
{{ $library->description }}
</cite>
</a>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/daisy/sky/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@if(request()->filled('search'))
{{ __('Showing Search result of') }}: <span class="highlight">{{ request('search') }}</span>
<a title="{{ __('clear') }}" href="{{ route('blogs') }}">
@svg('heroicon-o-backspace','text-custom-500 dark:text-custom-100 w-4 h-4 inline-flex align-middle')
@svg('heroicon-o-backspace','text-primary-500 dark:text-primary-100 w-4 h-4 inline-flex align-middle')
</a>
@endif

Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/daisy/sky/partial/empty.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="px-4 py-4 bg-gradient-to-br from-white via-white to-custom-50 shadow-lg rounded-2xl hover:shadow-xl transition ease-in-out duration-300 flex gap-2 items-center justify-center w-full h-72 border border-gray-100">
@svg('iconpark-wavesleft-o','h-10 w-10 text-custom-600')
<div class="px-4 py-4 bg-gradient-to-br from-white via-white to-primary-50 shadow-lg rounded-2xl hover:shadow-xl transition ease-in-out duration-300 flex gap-2 items-center justify-center w-full h-72 border border-gray-100">
@svg('iconpark-wavesleft-o','h-10 w-10 text-primary-600')
<span class="underline decoration-wavy underline-offset-4 decoration-primary-600">
{{ __('No posts found') }}!
</span>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/daisy/wind/departments.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div>
<label class="checkbox-wrapper">
<input wire:model="{{ $getStatePath() }}" type="radio" class="checkbox-input" name="group" value="{{ $dept->id }}"/>
<span class="checkbox-tile hover:border-custom-500 p-4">
<span class="checkbox-tile hover:border-primary-500 p-4">
<span class="text-primary-600 dark:text-primary-500 flex flex-col items-center justify-center gap-2">
@if($dept->image() !== null)
<img alt="{{ $dept->name ?? '' }}" class="w-full h-32 object-center object-cover" src="{{ $dept->image() }}">
Expand Down
Loading

0 comments on commit 3bc37b5

Please sign in to comment.