reza fixed videos font

master
Reza_ashrafi 2 years ago
parent df4e25db4c
commit a9a639b82a
  1. 2
      navigation/bottomNavigation.js
  2. 8
      src/screens/Videos/components/MostViewedVideo.js
  3. 4
      src/screens/Videos/components/NewestVideo.js

@ -9,7 +9,7 @@ const bottomNavigationList = {
}, },
vod: { vod: {
label: "ویدئوها", label: "ویدئوها",
isActive: false, isActive: true,
}, },
cart: { cart: {
label: "سبد خرید", label: "سبد خرید",

@ -66,12 +66,12 @@ function MostViewedVideo({ videos, grades, mobile, theme }) {
</View> </View>
<Text <Text
style={{ style={{
fontSize: mobile ? fontSize.base : fontSize.xl, fontSize: mobile ? fontSize.base : fontSize.base,
marginTop: 5, marginTop: 5,
paddingRight: 4, paddingRight: 4,
color: color:
theme === "light" ? Colors.theme1.gray20 : Colors.theme1.white, theme === "light" ? Colors.theme1.gray20 : Colors.theme1.white,
fontFamily: "regular", fontFamily: "bold",
}} }}
> >
{"دوره ویدئویی" + " " + video?.name} {"دوره ویدئویی" + " " + video?.name}
@ -106,7 +106,7 @@ function MostViewedVideo({ videos, grades, mobile, theme }) {
? Colors.theme1.gray20 ? Colors.theme1.gray20
: Colors.theme1.white, : Colors.theme1.white,
fontFamily: "bold", fontFamily: "bold",
fontSize: mobile ? fontSize.xl : fontSize.xl3, fontSize: fontSize.xl,
}, },
]} ]}
> >
@ -121,7 +121,7 @@ function MostViewedVideo({ videos, grades, mobile, theme }) {
? Colors.theme1.gray20 ? Colors.theme1.gray20
: Colors.theme1.white, : Colors.theme1.white,
fontFamily: "light", fontFamily: "light",
fontSize: mobile ? fontSize.tiny : fontSize.lg, fontSize: fontSize.tiny,
marginTop: 0, marginTop: 0,
}} }}
> >

@ -48,7 +48,7 @@ const NewestVideo = ({ videos, grades, mobile, theme }) => {
/> />
<Text <Text
style={{ style={{
fontSize: mobile ? fontSize.base : fontSize.xl, fontSize: mobile ? fontSize.base : fontSize.base,
marginTop: 5, marginTop: 5,
color: theme === 'light' ? Colors.theme1.gray20 : Colors.theme1.white, color: theme === 'light' ? Colors.theme1.gray20 : Colors.theme1.white,
fontFamily: "bold", fontFamily: "bold",
@ -60,7 +60,7 @@ const NewestVideo = ({ videos, grades, mobile, theme }) => {
style={{ style={{
color: theme === 'light' ? Colors.theme1.gray20 : Colors.theme1.white, color: theme === 'light' ? Colors.theme1.gray20 : Colors.theme1.white,
fontFamily: "light", fontFamily: "light",
fontSize: mobile ? fontSize.tiny : fontSize.lg, fontSize: mobile ? fontSize.tiny : fontSize.tiny,
marginTop: 5, marginTop: 5,
}} }}
> >

Loading…
Cancel
Save