mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
add placeholder color to theme
This commit is contained in:
@@ -134,7 +134,7 @@ export const Search = ({close, getKeyboardHeight, quicknote}) => {
|
|||||||
<TextInput
|
<TextInput
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
placeholder="Search for a note"
|
placeholder="Search for a note"
|
||||||
placeholderTextColor={colors.icon}
|
placeholderTextColor={colors.placeholder}
|
||||||
style={{
|
style={{
|
||||||
fontSize: 15,
|
fontSize: 15,
|
||||||
fontFamily: 'OpenSans-Regular',
|
fontFamily: 'OpenSans-Regular',
|
||||||
|
|||||||
@@ -448,7 +448,7 @@ const TopicItem = ({item, index, colors, onPress, onDelete}) => {
|
|||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
defaultValue={item}
|
defaultValue={item}
|
||||||
placeholderTextColor={colors.icon}
|
placeholderTextColor={colors.placeholder}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<View
|
<View
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ Logged in: ${user ? 'yes' : 'no'}`,
|
|||||||
fontSize: SIZE.md,
|
fontSize: SIZE.md,
|
||||||
color:colors.heading,
|
color:colors.heading,
|
||||||
}}
|
}}
|
||||||
placeholderTextColor={colors.icon}
|
placeholderTextColor={colors.placeholder}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<TextInput
|
<TextInput
|
||||||
@@ -140,7 +140,7 @@ For example:
|
|||||||
marginBottom: 2.5,
|
marginBottom: 2.5,
|
||||||
color:colors.pri
|
color:colors.pri
|
||||||
}}
|
}}
|
||||||
placeholderTextColor={colors.icon}
|
placeholderTextColor={colors.placeholder}
|
||||||
/>
|
/>
|
||||||
<Paragraph
|
<Paragraph
|
||||||
size={SIZE.xs}
|
size={SIZE.xs}
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ const Input = ({
|
|||||||
style={textStyle}
|
style={textStyle}
|
||||||
secureTextEntry={secureTextEntry && secureEntry}
|
secureTextEntry={secureTextEntry && secureEntry}
|
||||||
placeholder={placeholder}
|
placeholder={placeholder}
|
||||||
placeholderTextColor={colors.icon}
|
placeholderTextColor={colors.placeholder}
|
||||||
autoCompleteType={autoCompleteType}
|
autoCompleteType={autoCompleteType}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export const SearchInput = props => {
|
|||||||
}}
|
}}
|
||||||
enablesReturnKeyAutomatically
|
enablesReturnKeyAutomatically
|
||||||
placeholder="Type a keyword"
|
placeholder="Type a keyword"
|
||||||
placeholderTextColor={colors.icon}
|
placeholderTextColor={colors.placeholder}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -54,6 +54,8 @@ const SheetWrapper = ({
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.log('Sheet keyboard handler',sheetKeyboardHandler)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ActionSheet
|
<ActionSheet
|
||||||
ref={fwdRef}
|
ref={fwdRef}
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ async function getProducts() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function get() {
|
function get() {
|
||||||
|
return true;
|
||||||
return SUBSCRIPTION_STATUS.BASIC !== premiumStatus;
|
return SUBSCRIPTION_STATUS.BASIC !== premiumStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,8 @@ export const COLOR_SCHEME_LIGHT = {
|
|||||||
sec: '#ffffff',
|
sec: '#ffffff',
|
||||||
light: '#ffffff',
|
light: '#ffffff',
|
||||||
transGray: '#00000010',
|
transGray: '#00000010',
|
||||||
border:"#E8E8E8"
|
border:"#E8E8E8",
|
||||||
|
placeholder:"#a9a9a9"
|
||||||
};
|
};
|
||||||
export const COLOR_SCHEME_PITCH_BLACK = {
|
export const COLOR_SCHEME_PITCH_BLACK = {
|
||||||
...fixedColors,
|
...fixedColors,
|
||||||
@@ -77,7 +78,8 @@ export const COLOR_SCHEME_PITCH_BLACK = {
|
|||||||
sec: 'black',
|
sec: 'black',
|
||||||
light: '#ffffff',
|
light: '#ffffff',
|
||||||
transGray: '#ffffff10',
|
transGray: '#ffffff10',
|
||||||
border:"#383838"
|
border:"#383838",
|
||||||
|
placeholder:"#404040"
|
||||||
};
|
};
|
||||||
|
|
||||||
export const COLOR_SCHEME_DARK = {
|
export const COLOR_SCHEME_DARK = {
|
||||||
@@ -92,7 +94,8 @@ export const COLOR_SCHEME_DARK = {
|
|||||||
sec: 'black',
|
sec: 'black',
|
||||||
light: '#ffffff',
|
light: '#ffffff',
|
||||||
transGray: '#ffffff10',
|
transGray: '#ffffff10',
|
||||||
border:"#383838"
|
border:"#383838",
|
||||||
|
placeholder:"#404040"
|
||||||
};
|
};
|
||||||
|
|
||||||
export function getCurrentColors() {
|
export function getCurrentColors() {
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ export const EditorTitle = () => {
|
|||||||
padding: 0
|
padding: 0
|
||||||
}}
|
}}
|
||||||
placeholder="Note title"
|
placeholder="Note title"
|
||||||
placeholderTextColor={colors.icon}
|
placeholderTextColor={colors.placeholder}
|
||||||
onChangeText={text => {
|
onChangeText={text => {
|
||||||
setTitle(text);
|
setTitle(text);
|
||||||
post('title', text);
|
post('title', text);
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ const ToolbarLinkInput = ({format, value, setVisible}) => {
|
|||||||
onChangeText={onChangeText}
|
onChangeText={onChangeText}
|
||||||
defaultValue={value}
|
defaultValue={value}
|
||||||
blurOnSubmit={false}
|
blurOnSubmit={false}
|
||||||
placeholderTextColor={colors.icon}
|
placeholderTextColor={colors.placeholder}
|
||||||
/> */}
|
/> */}
|
||||||
|
|
||||||
{/* {mode === INPUT_MODE.EDITING && (
|
{/* {mode === INPUT_MODE.EDITING && (
|
||||||
|
|||||||
Reference in New Issue
Block a user