Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
JorrinKievit committed Aug 12, 2024
1 parent 2d98413 commit 764d8fa
Showing 1 changed file with 20 additions and 36 deletions.
56 changes: 20 additions & 36 deletions apps/expo/tamagui.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import type { MotiTransition } from "moti";
import { createAnimations } from "@tamagui/animations-moti";
import { config } from "@tamagui/config/v3";
import { createFont, createTamagui } from "tamagui";
Expand All @@ -11,19 +10,6 @@ import {
tealTokens,
} from "@movie-web/colors";

const test: MotiTransition = {
type: "spring" as const,
delay: 0,
duration: 0,
damping: 0,
mass: 0,
stiffness: 0,
overshootClamping: false,
restDisplacementThreshold: 0,
restSpeedThreshold: 0,
velocity: 0,
};

type Tokens =
| typeof mainTokens
| typeof blueTokens
Expand Down Expand Up @@ -223,29 +209,27 @@ export const tamaguiConfig = createTamagui({
animations: createAnimations({
fast: {
type: "decay",
deceleration: 0.999,
},
bounce: {
type: "spring",
stiffness: 200,
damping: 10,
},
quicker: {
type: "spring",
stiffness: 300,
damping: 20,
mass: 1.2,
stiffness: 250,
} as unknown as MotiTransition,
// bounce: {
// type: "spring",
// stiffness: 200,
// damping: 10,
// },
// quicker: {
// type: "spring",
// stiffness: 300,
// damping: 20,
// },
// static: {
// type: "decay",
// deceleration: 0.999,
// },
// lazy: {
// type: "spring",
// stiffness: 100,
// damping: 20,
// },
},
static: {
type: "decay",
deceleration: 0.999,
},
lazy: {
type: "spring",
stiffness: 100,
damping: 20,
},
}),
fonts: {
heading: headingFont,
Expand Down

0 comments on commit 764d8fa

Please sign in to comment.