mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
remove fontFamily
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -247,7 +247,7 @@ const styles = StyleSheet.create({
|
||||
flexDirection: 'row',
|
||||
},
|
||||
buttonText: {
|
||||
fontFamily: "sans-serif",
|
||||
//fontFamily: "sans-serif",
|
||||
color: 'white',
|
||||
fontSize: SIZE.sm,
|
||||
marginLeft: 5,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -64,7 +64,7 @@ const styles = StyleSheet.create({
|
||||
flexDirection: 'row',
|
||||
},
|
||||
buttonText: {
|
||||
fontFamily: "sans-serif",
|
||||
//fontFamily: "sans-serif",
|
||||
color: 'white',
|
||||
fontSize: SIZE.sm,
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
]}
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -100,7 +100,7 @@ const styles = StyleSheet.create({
|
||||
alignItems: 'center',
|
||||
},
|
||||
heading: {
|
||||
fontFamily: "sans-serif",
|
||||
//fontFamily: "sans-serif",
|
||||
fontWeight:'bold',
|
||||
marginLeft: 5,
|
||||
fontSize: SIZE.xxxl,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -37,7 +37,7 @@ export const getElevation = (elevation) => {
|
||||
|
||||
export const sortSettings = {
|
||||
sort: defaultState.settings.sort,
|
||||
sortOrder: defaultState.settings.sortOrder,
|
||||
sortOrder: "desc",
|
||||
};
|
||||
|
||||
export const SORT = {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -747,7 +747,7 @@ const SettingsAppearanceSection = () => {
|
||||
: 'transparent',
|
||||
}}
|
||||
textStyle={{
|
||||
fontFamily: "sans-serif",
|
||||
//fontFamily: "sans-serif",
|
||||
fontSize: SIZE.sm,
|
||||
color:
|
||||
settings.homepage === item.name
|
||||
|
||||
Reference in New Issue
Block a user