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