<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php if (theme('favicon')): ?>
<link rel="icon" href="<?= e(upload_url(theme('favicon'))) ?>">
<?php endif ?>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="<?= e(theme_font_url()) ?>" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4.1.11"></script>
<style type="text/tailwindcss">
@theme {
<?= theme_css() ?>
--ease-out-soft: cubic-bezier(.22, 1, .36, 1);
}
/* Bileşenler: normal Tailwind sınıfları (py-2, w-full...) bunları her zaman ezebilir. */
@layer components {
.input {
@apply block w-full rounded-xl border border-zinc-200 bg-white px-4 py-3 text-sm text-zinc-900 shadow-[0_1px_2px_rgba(0,0,0,.03)] transition placeholder:text-zinc-400 hover:border-zinc-300 focus:border-ink focus:ring-4 focus:ring-ink/5 focus:outline-none disabled:bg-zinc-50 disabled:text-zinc-400;
}
.label { @apply mb-2 block text-[13px] font-medium text-zinc-700; }
.btn, .btn-primary, .btn-accent, .btn-light, .btn-ghost, .btn-danger {
@apply inline-flex items-center justify-center gap-2 rounded-xl px-5 py-3 text-sm font-semibold whitespace-nowrap transition duration-200 select-none focus-visible:ring-4 focus-visible:outline-none active:scale-[.98] disabled:pointer-events-none disabled:opacity-40;
}
<?php if (theme('button_style') === 'outline' && !in_admin()): ?>
.btn-primary { @apply border-2 border-ink bg-transparent text-ink hover:bg-ink hover:text-white focus-visible:ring-ink/20; }
<?php else: ?>
.btn-primary { @apply bg-ink text-white shadow-sm hover:opacity-90 focus-visible:ring-ink/20; }
<?php endif ?>
.btn-accent { @apply bg-accent-600 text-white shadow-sm hover:bg-accent-700 focus-visible:ring-accent-500/30; }
.btn-light { @apply border border-zinc-200 bg-white text-zinc-800 hover:border-zinc-300 hover:bg-zinc-50 focus-visible:ring-zinc-900/5; }
.btn-ghost { @apply text-zinc-700 hover:bg-zinc-100; }
.btn-danger { @apply bg-rose-600 text-white hover:bg-rose-700 focus-visible:ring-rose-500/30; }
.btn-sm { @apply rounded-lg px-3 py-2 text-[13px]; }
.card { @apply rounded-2xl border border-zinc-200/80 bg-white; }
.container-x { @apply mx-auto w-full max-w-[var(--container-site,1400px)] px-4 sm:px-6 lg:px-10; }
.eyebrow { @apply text-xs font-semibold tracking-[.18em] text-zinc-500 uppercase; }
.heading { @apply font-display tracking-tight text-ink; }
}
@layer base {
html { -webkit-tap-highlight-color: transparent; font-size: <?= in_admin() ? 16 : max(14, min(18, (int) theme('base_size'))) ?>px; }
:root { <?= container_style() ?> }
::selection { background: var(--color-ink); color: #fff; }
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }
input[type=number] { -moz-appearance: textfield; }
.rich p { margin-bottom: 1em; }
.rich a { text-decoration: underline; text-underline-offset: 4px; }
}
</style>
Lisans bilgisi projenin LICENSE dosyasında.