Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss committed Feb 13, 2024
1 parent 98aeda4 commit 0d1d5d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/input-label.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@props(['value'])

<label {{ $attributes->merge(['class' => 'block font-medium text-sm text-gray-700 dark:text-gray-300']) }}>
<label {{ $attributes->merge(['class' => 'block font-medium text-sm text-gray-700']) }}>
{{ $value ?? $slot }}
</label>
2 changes: 1 addition & 1 deletion resources/views/components/text-input.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

<input {{ $disabled ? 'disabled' : '' }}
{!! $attributes->merge([
'class' => 'flex h-9 w-full rounded-md dark:bg-gray-900 border border-gray-300 dark:border-gray-600 bg-transparent px-3 py-1 shadow-sm transition-colors placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 bg-white',
'class' => 'flex h-9 w-full rounded-md border border-gray-300 bg-transparent px-3 py-1 shadow-sm transition-colors placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 bg-white',
]) !!}>
4 changes: 2 additions & 2 deletions resources/views/layouts/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
</head>

<body class="font-sans text-gray-900 antialiased">
<div class="flex min-h-screen flex-col items-center bg-gray-100 px-2 py-2 dark:bg-gray-900 sm:justify-center sm:px-0 sm:py-0">
<div class="mb-6 w-full overflow-hidden rounded bg-white shadow-md dark:bg-gray-800 sm:mt-6 sm:max-w-md sm:rounded-lg">
<div class="flex min-h-screen flex-col items-center bg-gray-100 px-2 py-2 sm:justify-center sm:px-0 sm:py-0">
<div class="mb-6 w-full overflow-hidden rounded bg-white shadow-md sm:mt-6 sm:max-w-md sm:rounded-lg">
{{ $slot }}
</div>
</div>
Expand Down

0 comments on commit 0d1d5d6

Please sign in to comment.