Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/src/components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Modal(props: ModalProps) {
onClick={() => props.onClose()}
/>
<div
class={`relative w-full ${props.maxWidth ?? "max-w-lg"} bg-white dark:bg-zinc-900 rounded-2xl border border-zinc-200 dark:border-zinc-800 shadow-2xl animate-pop-in overflow-hidden`}
class={`relative w-full ${props.maxWidth ?? "max-w-lg"} bg-white dark:bg-zinc-900 rounded-2xl border border-zinc-200 dark:border-zinc-800 shadow-2xl animate-scale-in overflow-hidden`}
>
{props.children}
</div>
Expand Down
5 changes: 1 addition & 4 deletions ui/src/components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,9 @@ function AppearanceTab() {
</button>
</div>

<label class="text-sm font-medium text-zinc-700 dark:text-zinc-300 mt-6 mb-2 block">
Easter egg
</label>
<button
onClick={() => setRusted(!rusted())}
class={`w-full rounded-lg border px-3 py-2.5 text-xs font-medium transition cursor-pointer flex items-center justify-between gap-2 ${
class={`mt-6 w-full rounded-lg border px-3 py-2.5 text-xs font-medium transition cursor-pointer flex items-center justify-between gap-2 ${
rusted()
? "border-orange-500 bg-orange-500/10 text-orange-500"
: "border-zinc-200 dark:border-zinc-700 text-zinc-500 dark:text-zinc-400 hover:border-zinc-300 dark:hover:border-zinc-600"
Expand Down
10 changes: 5 additions & 5 deletions ui/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,22 @@
}
}

@keyframes pop-in {
@keyframes scale-in {
from {
opacity: 0;
transform: translateY(8px);
transform: scale(0.95);
}
to {
opacity: 1;
transform: translateY(0);
transform: scale(1);
}
}

.animate-fade-in {
animation: fade-in 0.15s ease-out;
}
.animate-pop-in {
animation: pop-in 0.15s ease-out;
.animate-scale-in {
animation: scale-in 0.15s ease-out;
}

.btn-destructive {
Expand Down