optimize editor for dark mode & add side menu

This commit is contained in:
ammarahm-ed
2019-12-10 16:32:04 +05:00
parent 521289df5f
commit b82e6a36a9
7 changed files with 641 additions and 216 deletions

View File

@@ -139,19 +139,24 @@ export const NotebookItem = ({
marginTop: 5,
}}>
{item.topics.slice(0, 4).map(topic => (
<Text
<View
style={{
borderRadius: 5,
backgroundColor: colors.accent,
color: 'white',
marginRight: 5,
fontFamily: WEIGHT.regular,
fontSize: SIZE.xxs,
paddingHorizontal: ph / 2,
paddingHorizontal: ph / 1.5,
paddingVertical: pv / 4,
marginRight: 10,
}}>
{topic.title}
</Text>
<Text
style={{
color: 'white',
fontFamily: WEIGHT.regular,
fontSize: SIZE.xxs + 1,
}}>
{topic.title}
</Text>
</View>
))}
</View>
)}
@@ -180,7 +185,7 @@ export const NotebookItem = ({
<Text
style={{
color: colors.accent,
fontSize: SIZE.xxs + 2,
fontSize: SIZE.xxs + 1,
textAlignVertical: 'center',
fontFamily: WEIGHT.regular,
}}>