Introduces AppText, Link and FramedSegment redesign

This commit is contained in:
mashazyu
2020-03-23 09:39:55 +01:00
committed by Sofiya Tepikin
parent 1fc7bc17b9
commit 8c1c72ccc9
8 changed files with 116 additions and 21 deletions
+10
View File
@@ -0,0 +1,10 @@
export default {
grey: '#A5A5A5',
greyLight: '#D2D2D2',
greySuperLight: '#F2F2F2',
orange: '#F38337',
purple: '#3A2671',
purpleLight: '#5D4F8A',
tourquise: '#69CBC1',
tourquiseLight: '#CFECEA',
}
+18
View File
@@ -0,0 +1,18 @@
import Colors from './colors'
import Spacing from './spacing'
export default {
bottomBorder: {
borderStyle: 'solid',
borderBottomWidth: 2,
borderBottomColor: Colors.greySuperLight,
paddingBottom: Spacing.base
},
centerItems: {
alignItems: 'center',
flex: 1,
justifyContent: 'center'
},
marginBottom: { marginBottom: Spacing.base },
segmentContainer: { marginHorizontal: Spacing.base }
}
+5
View File
@@ -0,0 +1,5 @@
import Colors from './colors'
import Containers from './containers'
import Typography from './typography'
export { Colors, Containers, Typography }
+3
View File
@@ -0,0 +1,3 @@
export default {
base: 16
}
+28
View File
@@ -0,0 +1,28 @@
import Colors from './colors'
import Spacing from './spacing'
const fonts = {
main: 'Jost-400-Book',
bold : 'Jost-700-Bold',
}
const sizes = {
mainMedium: 18,
mainLarge: 20,
titleSmall: 22,
titleMedium: 24,
titleLarge: 28
}
export default {
mainText: {
fontFamily: fonts.main,
fontSize: sizes.mainMedium
},
underline: { textDecorationLine: 'underline' },
titleSmall: {
color: Colors.purple,
fontSize: sizes.titleSmall,
marginVertical: Spacing.base
}
}