mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
remove fontFamily
This commit is contained in:
@@ -235,7 +235,7 @@ export const ActionSheetTagsSection = ({item, close}) => {
|
|||||||
style={{
|
style={{
|
||||||
minWidth: 100,
|
minWidth: 100,
|
||||||
zIndex: 10,
|
zIndex: 10,
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
color: colors.pri,
|
color: colors.pri,
|
||||||
paddingHorizontal: 5,
|
paddingHorizontal: 5,
|
||||||
paddingVertical: 0,
|
paddingVertical: 0,
|
||||||
|
|||||||
@@ -525,7 +525,7 @@ const styles = StyleSheet.create({
|
|||||||
topicInput: {
|
topicInput: {
|
||||||
padding: pv - 5,
|
padding: pv - 5,
|
||||||
fontSize: SIZE.sm,
|
fontSize: SIZE.sm,
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
paddingHorizontal: ph,
|
paddingHorizontal: ph,
|
||||||
paddingRight: 40,
|
paddingRight: 40,
|
||||||
paddingVertical: 10,
|
paddingVertical: 10,
|
||||||
|
|||||||
@@ -1,24 +1,23 @@
|
|||||||
import React, { createRef } from 'react';
|
import React, {createRef} from 'react';
|
||||||
import { Text } from 'react-native';
|
import {Text} from 'react-native';
|
||||||
import { SIZE } from '../../utils/SizeUtils';
|
import {SIZE} from '../../utils/SizeUtils';
|
||||||
|
|
||||||
export const dummyRef = createRef();
|
export const dummyRef = createRef();
|
||||||
|
|
||||||
export const DummyText = () => {
|
export const DummyText = () => {
|
||||||
return (
|
return (
|
||||||
<Text
|
<Text
|
||||||
ref={dummyRef}
|
ref={dummyRef}
|
||||||
style={[
|
style={[
|
||||||
{
|
{
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
fontSize: SIZE.sm,
|
fontSize: SIZE.sm,
|
||||||
position:"absolute",
|
position: 'absolute',
|
||||||
right:-1000,
|
right: -1000,
|
||||||
top:-1000
|
top: -1000,
|
||||||
},
|
},
|
||||||
]}>
|
]}>
|
||||||
a
|
a
|
||||||
</Text>
|
</Text>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -247,7 +247,7 @@ const styles = StyleSheet.create({
|
|||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
color: 'white',
|
color: 'white',
|
||||||
fontSize: SIZE.sm,
|
fontSize: SIZE.sm,
|
||||||
marginLeft: 5,
|
marginLeft: 5,
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ const Input = ({
|
|||||||
const textStyle = {
|
const textStyle = {
|
||||||
paddingHorizontal: 0,
|
paddingHorizontal: 0,
|
||||||
fontSize: SIZE.md,
|
fontSize: SIZE.md,
|
||||||
fontFamily: "sans-serif",
|
//ontFamily: "sans-serif",
|
||||||
color: colors.pri,
|
color: colors.pri,
|
||||||
paddingVertical: 0,
|
paddingVertical: 0,
|
||||||
paddingBottom: 2.5,
|
paddingBottom: 2.5,
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ const styles = StyleSheet.create({
|
|||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
color: 'white',
|
color: 'white',
|
||||||
fontSize: SIZE.sm,
|
fontSize: SIZE.sm,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -238,7 +238,7 @@ const MoveNoteComponent = ({close, note, setNote}) => {
|
|||||||
borderRadius: 5,
|
borderRadius: 5,
|
||||||
minHeight: 45,
|
minHeight: 45,
|
||||||
fontSize: SIZE.md,
|
fontSize: SIZE.md,
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
padding: pv - 2,
|
padding: pv - 2,
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
@@ -377,7 +377,7 @@ const MoveNoteComponent = ({close, note, setNote}) => {
|
|||||||
borderRadius: 5,
|
borderRadius: 5,
|
||||||
height: 40,
|
height: 40,
|
||||||
fontSize: SIZE.sm,
|
fontSize: SIZE.sm,
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
padding: pv - 2,
|
padding: pv - 2,
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ export const NotebookItem = ({
|
|||||||
size={SIZE.xs}
|
size={SIZE.xs}
|
||||||
style={{
|
style={{
|
||||||
marginRight: 10,
|
marginRight: 10,
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
}}>
|
}}>
|
||||||
{item && item.totalNotes && item.totalNotes > 1
|
{item && item.totalNotes && item.totalNotes > 1
|
||||||
? item.totalNotes + ' Notes'
|
? item.totalNotes + ' Notes'
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ const styles = StyleSheet.create({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
},
|
},
|
||||||
heading: {
|
heading: {
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
fontWeight:'bold',
|
fontWeight:'bold',
|
||||||
marginLeft: 5,
|
marginLeft: 5,
|
||||||
fontSize: SIZE.xxxl,
|
fontSize: SIZE.xxxl,
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export const SearchInput = (props) => {
|
|||||||
<TextInput
|
<TextInput
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
style={{
|
style={{
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
fontWeight:'bold',
|
fontWeight:'bold',
|
||||||
color: colors.pri,
|
color: colors.pri,
|
||||||
fontSize: SIZE.xl,
|
fontSize: SIZE.xl,
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import { Platform } from 'react-native';
|
||||||
import {Text} from 'react-native';
|
import {Text} from 'react-native';
|
||||||
import {useTracked} from '../../provider';
|
import {useTracked} from '../../provider';
|
||||||
import {SIZE} from '../../utils/SizeUtils';
|
import {SIZE} from '../../utils/SizeUtils';
|
||||||
@@ -26,7 +27,6 @@ const Heading = ({color, size = SIZE.xl, style, ...restProps}) => {
|
|||||||
{...restProps}
|
{...restProps}
|
||||||
style={[
|
style={[
|
||||||
{
|
{
|
||||||
fontFamily: 'sans-serif',
|
|
||||||
fontSize: size || SIZE.xl,
|
fontSize: size || SIZE.xl,
|
||||||
color: color || colors.heading,
|
color: color || colors.heading,
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
|
|||||||
@@ -643,7 +643,7 @@ export class VaultDialog extends Component {
|
|||||||
<Paragraph
|
<Paragraph
|
||||||
style={{
|
style={{
|
||||||
fontSize: SIZE.sm,
|
fontSize: SIZE.sm,
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
color: colors.pri,
|
color: colors.pri,
|
||||||
maxWidth: '90%',
|
maxWidth: '90%',
|
||||||
marginLeft: 10,
|
marginLeft: 10,
|
||||||
|
|||||||
@@ -8,7 +8,9 @@ import {defaultState} from './DefaultState';
|
|||||||
|
|
||||||
export const reducer = (state, action) => {
|
export const reducer = (state, action) => {
|
||||||
switch (action.type) {
|
switch (action.type) {
|
||||||
|
|
||||||
case Actions.ALL: {
|
case Actions.ALL: {
|
||||||
|
console.log(sortSettings.sortOrder,'SORT ORDER');
|
||||||
return {
|
return {
|
||||||
...state,
|
...state,
|
||||||
notes: db.notes.group(
|
notes: db.notes.group(
|
||||||
@@ -53,6 +55,7 @@ export const reducer = (state, action) => {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
case Actions.NOTES:
|
case Actions.NOTES:
|
||||||
|
console.log(sortSettings.sortOrder,'SORT ORDER');
|
||||||
return {
|
return {
|
||||||
...state,
|
...state,
|
||||||
notes: db.notes.group(
|
notes: db.notes.group(
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ export const getElevation = (elevation) => {
|
|||||||
|
|
||||||
export const sortSettings = {
|
export const sortSettings = {
|
||||||
sort: defaultState.settings.sort,
|
sort: defaultState.settings.sort,
|
||||||
sortOrder: defaultState.settings.sortOrder,
|
sortOrder: "desc",
|
||||||
};
|
};
|
||||||
|
|
||||||
export const SORT = {
|
export const SORT = {
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ export const EditorTitle = () => {
|
|||||||
<TextInput
|
<TextInput
|
||||||
defaultValue={title}
|
defaultValue={title}
|
||||||
style={{
|
style={{
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
fontWeight:'bold',
|
fontWeight:'bold',
|
||||||
fontSize: SIZE.xl,
|
fontSize: SIZE.xl,
|
||||||
color: colors.heading,
|
color: colors.heading,
|
||||||
|
|||||||
@@ -747,7 +747,7 @@ const SettingsAppearanceSection = () => {
|
|||||||
: 'transparent',
|
: 'transparent',
|
||||||
}}
|
}}
|
||||||
textStyle={{
|
textStyle={{
|
||||||
fontFamily: "sans-serif",
|
//fontFamily: "sans-serif",
|
||||||
fontSize: SIZE.sm,
|
fontSize: SIZE.sm,
|
||||||
color:
|
color:
|
||||||
settings.homepage === item.name
|
settings.homepage === item.name
|
||||||
|
|||||||
Reference in New Issue
Block a user