Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 9x 9x 9x 9x 9x 9x 9x 29x 9x 9x | import { Theme } from '@repo/ui/themes/types';
export const SWIPE_X_THRESHOLD = 100;
export const SWIPE_Y_THRESHOLD = 100;
export const VELOCITY_THRESHOLD = 1000;
export const MIN_THRESHOLD = 20;
export const HORIZONTAL_LIMIT = 150;
export const CARD_TYPE_REQUEST = 'request' as const;
export const CARD_TYPE_NEW_REQUEST = 'new-request' as const;
export const getShadowStyle = (theme: Theme) => ({
shadowOffset: { width: 0, height: 20 },
shadowColor: theme.colors.shadow.black,
shadowOpacity: 0.5,
shadowRadius: 20,
elevation: 100,
});
export const STACK_LAYER_2 = {
defaultTranslateY: 33,
defaultScale: 0.93,
opacityRange: [-0.3, 0] as const,
};
export const STACK_LAYER_3 = {
defaultTranslateY: 69,
defaultScale: 0.85,
targetTranslateY: 35,
targetScale: 0.93,
opacityRange: [-0.2, 0.3] as const,
};
|