Refactor styling across multiple components to standardize border radius to 8. This change enhances visual consistency in the UI by unifying the border radius for content items, posters, and containers in various sections including Home, Library, and Catalog screens.

This commit is contained in:
tapframe 2025-06-09 01:15:54 +05:30
parent 528c484286
commit 25b483f4fa
8 changed files with 18 additions and 18 deletions

View file

@ -51,7 +51,7 @@ const styles = StyleSheet.create({
marginHorizontal: 0,
},
posterContainer: {
borderRadius: 16,
borderRadius: 8,
overflow: 'hidden',
backgroundColor: 'rgba(255,255,255,0.03)',
elevation: 5,

View file

@ -132,7 +132,7 @@ const styles = StyleSheet.create({
width: POSTER_WIDTH,
aspectRatio: 2/3,
margin: 0,
borderRadius: 16,
borderRadius: 8,
overflow: 'hidden',
position: 'relative',
elevation: 8,
@ -146,14 +146,14 @@ const styles = StyleSheet.create({
contentItemContainer: {
width: '100%',
height: '100%',
borderRadius: 16,
borderRadius: 8,
overflow: 'hidden',
position: 'relative',
},
poster: {
width: '100%',
height: '100%',
borderRadius: 16,
borderRadius: 8,
},
loadingOverlay: {
position: 'absolute',
@ -163,7 +163,7 @@ const styles = StyleSheet.create({
bottom: 0,
justifyContent: 'center',
alignItems: 'center',
borderRadius: 16,
borderRadius: 8,
},
watchedIndicator: {
position: 'absolute',

View file

@ -320,7 +320,7 @@ const styles = StyleSheet.create({
width: POSTER_WIDTH,
aspectRatio: 2/3,
margin: 0,
borderRadius: 12,
borderRadius: 8,
overflow: 'hidden',
position: 'relative',
elevation: 8,
@ -332,14 +332,14 @@ const styles = StyleSheet.create({
contentItemContainer: {
width: '100%',
height: '100%',
borderRadius: 12,
borderRadius: 8,
overflow: 'hidden',
position: 'relative',
},
poster: {
width: '100%',
height: '100%',
borderRadius: 12,
borderRadius: 8,
},
episodeInfoContainer: {
position: 'absolute',

View file

@ -329,7 +329,7 @@ const styles = StyleSheet.create({
episodeItem: {
width: '100%',
height: '100%',
borderRadius: 12,
borderRadius: 8,
overflow: 'hidden',
},
poster: {

View file

@ -85,7 +85,7 @@ const createStyles = (colors: any) => StyleSheet.create({
item: {
width: ITEM_WIDTH,
marginBottom: SPACING.lg,
borderRadius: 12,
borderRadius: 8,
overflow: 'hidden',
backgroundColor: colors.elevation2,
shadowColor: '#000',
@ -97,8 +97,8 @@ const createStyles = (colors: any) => StyleSheet.create({
poster: {
width: '100%',
aspectRatio: 2/3,
borderTopLeftRadius: 12,
borderTopRightRadius: 12,
borderTopLeftRadius: 8,
borderTopRightRadius: 8,
backgroundColor: colors.elevation3,
},
itemContent: {

View file

@ -895,7 +895,7 @@ const styles = StyleSheet.create<any>({
width: POSTER_WIDTH,
aspectRatio: 2/3,
margin: 0,
borderRadius: 16,
borderRadius: 8,
overflow: 'hidden',
position: 'relative',
elevation: 8,
@ -909,7 +909,7 @@ const styles = StyleSheet.create<any>({
poster: {
width: '100%',
height: '100%',
borderRadius: 16,
borderRadius: 8,
},
imdbLogo: {
width: 35,
@ -948,7 +948,7 @@ const styles = StyleSheet.create<any>({
contentItemContainer: {
width: '100%',
height: '100%',
borderRadius: 16,
borderRadius: 8,
overflow: 'hidden',
position: 'relative',
},
@ -1059,7 +1059,7 @@ const styles = StyleSheet.create<any>({
backgroundColor: 'rgba(0,0,0,0.5)',
justifyContent: 'center',
alignItems: 'center',
borderRadius: 16,
borderRadius: 8,
},
featuredImage: {
width: '100%',

View file

@ -390,7 +390,7 @@ const styles = StyleSheet.create({
marginBottom: 16,
},
posterContainer: {
borderRadius: 16,
borderRadius: 8,
overflow: 'hidden',
backgroundColor: 'rgba(255,255,255,0.03)',
aspectRatio: 2/3,

View file

@ -710,7 +710,7 @@ const styles = StyleSheet.create({
horizontalItemPosterContainer: {
width: HORIZONTAL_ITEM_WIDTH,
height: HORIZONTAL_POSTER_HEIGHT,
borderRadius: 12,
borderRadius: 8,
overflow: 'hidden',
marginBottom: 8,
borderWidth: 1,