import { StyleSheet } from 'react-native';
import { tv } from 'tailwind-variants';
import { combineStyles } from '../../helpers/theme/utils/combine-styles';
/**
* Main skeleton component styles
*
* @note ANIMATED PROPERTIES (cannot be set via className):
* The following property is animated and cannot be overridden using Tailwind classes:
* - `opacity` - Animated for pulse variant transitions (min: 0.5, max: 1)
*
* Note: The shimmer variant uses an internal overlay with `transform` (translateX) animation, which doesn't affect the className prop.
*
* To customize these properties, use the `animation` prop on `Skeleton`:
* ```tsx
*
* ```
*
* For shimmer variant:
* ```tsx
*
* ```
*
* To completely disable animated styles and apply your own via className or style prop,
* set `isAnimatedStyleActive={false}` on `Skeleton`.
*/
const skeleton = tv({
base: 'bg-muted/30 overflow-hidden',
});
/**
* Native styles for border curve
*/
export const nativeStyles = StyleSheet.create({
borderCurve: {
borderCurve: 'continuous',
},
});
/**
* Combined skeleton styles
*/
const styleSheet = combineStyles({
skeleton,
});
export default styleSheet;