Skip to content

Commit

Permalink
chore: better attribute ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
SegaraRai committed Jun 16, 2024
1 parent 3420b37 commit 07db167
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/widget/BackgroundGradient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import type { ComponentProps } from "preact";
import type { Theme } from "./theme";

export function WidgetBackgroundGradient({
id,
theme,
...props
}: { readonly theme: Theme } & ComponentProps<"linearGradient">) {
return (
<linearGradient x1="0" x2="2" y1="0" y2="3" {...props}>
<linearGradient id={id} x1="0" x2="2" y1="0" y2="3" {...props}>
<animate
attributeName="x2"
values="2;2.5;2"
Expand Down

0 comments on commit 07db167

Please sign in to comment.