remove fontFamily

This commit is contained in:
ammarahm-ed
2021-01-03 10:38:07 +05:00
parent a7dfd933eb
commit 867fdc715d
16 changed files with 27 additions and 25 deletions

View File

@@ -235,7 +235,7 @@ export const ActionSheetTagsSection = ({item, close}) => {
style={{
minWidth: 100,
zIndex: 10,
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
color: colors.pri,
paddingHorizontal: 5,
paddingVertical: 0,

View File

@@ -525,7 +525,7 @@ const styles = StyleSheet.create({
topicInput: {
padding: pv - 5,
fontSize: SIZE.sm,
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
paddingHorizontal: ph,
paddingRight: 40,
paddingVertical: 10,

View File

@@ -10,15 +10,14 @@ export const DummyText = () => {
ref={dummyRef}
style={[
{
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
fontSize: SIZE.sm,
position:"absolute",
position: 'absolute',
right: -1000,
top:-1000
top: -1000,
},
]}>
a
</Text>
);
};

View File

@@ -247,7 +247,7 @@ const styles = StyleSheet.create({
flexDirection: 'row',
},
buttonText: {
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
color: 'white',
fontSize: SIZE.sm,
marginLeft: 5,

View File

@@ -131,7 +131,7 @@ const Input = ({
const textStyle = {
paddingHorizontal: 0,
fontSize: SIZE.md,
fontFamily: "sans-serif",
//ontFamily: "sans-serif",
color: colors.pri,
paddingVertical: 0,
paddingBottom: 2.5,

View File

@@ -64,7 +64,7 @@ const styles = StyleSheet.create({
flexDirection: 'row',
},
buttonText: {
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
color: 'white',
fontSize: SIZE.sm,
},

View File

@@ -238,7 +238,7 @@ const MoveNoteComponent = ({close, note, setNote}) => {
borderRadius: 5,
minHeight: 45,
fontSize: SIZE.md,
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
padding: pv - 2,
},
]}
@@ -377,7 +377,7 @@ const MoveNoteComponent = ({close, note, setNote}) => {
borderRadius: 5,
height: 40,
fontSize: SIZE.sm,
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
padding: pv - 2,
},
]}

View File

@@ -190,7 +190,7 @@ export const NotebookItem = ({
size={SIZE.xs}
style={{
marginRight: 10,
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
}}>
{item && item.totalNotes && item.totalNotes > 1
? item.totalNotes + ' Notes'

View File

@@ -100,7 +100,7 @@ const styles = StyleSheet.create({
alignItems: 'center',
},
heading: {
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
fontWeight:'bold',
marginLeft: 5,
fontSize: SIZE.xxxl,

View File

@@ -42,7 +42,7 @@ export const SearchInput = (props) => {
<TextInput
ref={inputRef}
style={{
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
fontWeight:'bold',
color: colors.pri,
fontSize: SIZE.xl,

View File

@@ -1,4 +1,5 @@
import React from 'react';
import { Platform } from 'react-native';
import {Text} from 'react-native';
import {useTracked} from '../../provider';
import {SIZE} from '../../utils/SizeUtils';
@@ -26,7 +27,6 @@ const Heading = ({color, size = SIZE.xl, style, ...restProps}) => {
{...restProps}
style={[
{
fontFamily: 'sans-serif',
fontSize: size || SIZE.xl,
color: color || colors.heading,
fontWeight: 'bold',

View File

@@ -643,7 +643,7 @@ export class VaultDialog extends Component {
<Paragraph
style={{
fontSize: SIZE.sm,
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
color: colors.pri,
maxWidth: '90%',
marginLeft: 10,

View File

@@ -8,7 +8,9 @@ import {defaultState} from './DefaultState';
export const reducer = (state, action) => {
switch (action.type) {
case Actions.ALL: {
console.log(sortSettings.sortOrder,'SORT ORDER');
return {
...state,
notes: db.notes.group(
@@ -53,6 +55,7 @@ export const reducer = (state, action) => {
};
}
case Actions.NOTES:
console.log(sortSettings.sortOrder,'SORT ORDER');
return {
...state,
notes: db.notes.group(

View File

@@ -37,7 +37,7 @@ export const getElevation = (elevation) => {
export const sortSettings = {
sort: defaultState.settings.sort,
sortOrder: defaultState.settings.sortOrder,
sortOrder: "desc",
};
export const SORT = {

View File

@@ -60,7 +60,7 @@ export const EditorTitle = () => {
<TextInput
defaultValue={title}
style={{
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
fontWeight:'bold',
fontSize: SIZE.xl,
color: colors.heading,

View File

@@ -747,7 +747,7 @@ const SettingsAppearanceSection = () => {
: 'transparent',
}}
textStyle={{
fontFamily: "sans-serif",
//fontFamily: "sans-serif",
fontSize: SIZE.sm,
color:
settings.homepage === item.name