first commit

This commit is contained in:
Romulus21 committed 2026-10-09 12:33:27 +02:00
commit 9536cf0dbe
16 files changed
+5170

No files matched your search

+57
View File
@@ -0,0 +1,57 @@
@import "tailwindcss";
@theme {
--color-lime: #bfe383;
--color-sky: #7fdffb;
--color-peach: #ffbd76;
--color-pink: #ffadd6;
--color-rose: #ff9b8a;
--color-sand: #f2d9a4;
--color-lilac: #cdb8ff;
--color-ink: #1c1c24;
--color-paper: #fdfcf7;
--color-mist: #efede8;
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
--font-display: "Unbounded", "Inter", ui-sans-serif, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, monospace;
}
/* Hard drop shadow under tiles and buttons. */
@utility tile-shadow {
box-shadow: 0 5px 0 0 var(--color-ink);
}
@utility field {
border-radius: 0.875rem;
border: 2px solid var(--color-ink);
background: white;
padding: 0.75rem 0.875rem;
font-size: 1.0625rem; /* ≥16px: no zoom on iOS focus */
outline: none;
&:focus {
box-shadow: 0 0 0 3px var(--color-lime);
}
&[aria-invalid="true"] {
border-color: var(--color-rose);
}
}
/* Torn receipt edge along the bottom of the ticket. */
@layer components {
.ticket::after {
content: "";
position: absolute;
inset-inline: 0;
top: 100%;
height: 10px;
background:
linear-gradient(135deg, var(--color-paper) 50%, transparent 50%) 0 0 / 14px 10px repeat-x,
linear-gradient(225deg, var(--color-paper) 50%, transparent 50%) 0 0 / 14px 10px repeat-x;
}
}
html {
-webkit-tap-highlight-color: transparent;
}