Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ type ChatIconConfig = {

const statusConfig = {
waiting: { icon: CheckIcon, className: "text-content-secondary" },
running: { icon: Loader2Icon, className: "text-content-link animate-spin" },
running: {
icon: Loader2Icon,
className: "text-content-link animate-spin motion-reduce:animate-none",
},
interrupting: { icon: PauseIcon, className: "text-content-warning" },
requires_action: { icon: PauseIcon, className: "text-content-warning" },
error: { icon: AlertTriangleIcon, className: "text-content-destructive" },
Expand Down
1 change: 1 addition & 0 deletions site/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ module.exports = {
animation: {
loading: "loading 2s ease-in-out infinite alternate",
"caret-scan": "caret-scan 3s ease-in-out infinite",
spin: "spin 1s steps(12, end) infinite",
"spin-once": "spin 1s cubic-bezier(0.4, 0, 0.2, 1)",
"zip-right": "zip-right 1s cubic-bezier(0.4, 0, 0.2, 1)",
"bar-indeterminate":
Expand Down
Loading