mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-21 23:43:15 +01:00
chore: placeholder ux improvements
This commit is contained in:
parent
edb8708dde
commit
29db85a916
@ -74,7 +74,7 @@ const PresetsSettings = ({ collection }) => {
|
||||
id="request-url"
|
||||
type="text"
|
||||
name="requestUrl"
|
||||
placeholder='Enter Request URL'
|
||||
placeholder='Request URL'
|
||||
className="block textbox"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
|
@ -229,7 +229,7 @@ const NewRequest = ({ collection, item, isEphemeral, onClose }) => {
|
||||
id="request-name"
|
||||
type="text"
|
||||
name="requestName"
|
||||
placeholder="Enter Request Name"
|
||||
placeholder="Request Name"
|
||||
ref={inputRef}
|
||||
className="block textbox mt-2 w-full"
|
||||
autoComplete="off"
|
||||
@ -262,7 +262,7 @@ const NewRequest = ({ collection, item, isEphemeral, onClose }) => {
|
||||
id="request-url"
|
||||
type="text"
|
||||
name="requestUrl"
|
||||
placeholder="Enter Request URL"
|
||||
placeholder="Request URL"
|
||||
className="px-3 w-full "
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
|
@ -100,6 +100,11 @@ const GlobalStyle = createGlobalStyle`
|
||||
}
|
||||
}
|
||||
|
||||
input::placeholder {
|
||||
color: ${(props) => props.theme.input.placeholder.color};
|
||||
opacity: ${(props) => props.theme.input.placeholder.opacity};
|
||||
}
|
||||
|
||||
@keyframes fade-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
|
@ -38,11 +38,6 @@ body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
input::placeholder {
|
||||
color: #a2a2a2;
|
||||
opacity: 50%;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
@ -20,7 +20,11 @@ const darkTheme = {
|
||||
input: {
|
||||
bg: 'rgb(65, 65, 65)',
|
||||
border: 'rgb(65, 65, 65)',
|
||||
focusBorder: 'rgb(65, 65, 65)'
|
||||
focusBorder: 'rgb(65, 65, 65)',
|
||||
placeholder: {
|
||||
color: '#a2a2a2',
|
||||
opacity: 0.75
|
||||
}
|
||||
},
|
||||
|
||||
variables: {
|
||||
|
@ -20,7 +20,11 @@ const lightTheme = {
|
||||
input: {
|
||||
bg: 'white',
|
||||
border: '#ccc',
|
||||
focusBorder: '#8b8b8b'
|
||||
focusBorder: '#8b8b8b',
|
||||
placeholder: {
|
||||
color: '#a2a2a2',
|
||||
opacity: 0.8
|
||||
}
|
||||
},
|
||||
|
||||
menubar: {
|
||||
|
Loading…
Reference in New Issue
Block a user