Files
outline/app/editor/components/Input.tsx
Tom Moor eecc7e3443 feat: Restore document search in link toolbar (#8581)
* Convert LinkEditor to functional component

* Add keyboard navigation

* cleanup

* Allow pointer selection
2025-02-28 15:01:57 -08:00

27 lines
529 B
TypeScript

import { transparentize } from "polished";
import styled from "styled-components";
import { s } from "@shared/styles";
const Input = styled.input`
font-size: 15px;
background: ${s("inputBorder")};
color: ${s("text")};
border-radius: 2px;
padding: 3px 8px;
border: 0;
margin: 0;
outline: none;
flex-grow: 1;
min-width: 0;
&::placeholder {
color: ${(props) => transparentize(0.5, props.theme.text)};
}
@media (hover: none) and (pointer: coarse) {
font-size: 16px;
}
`;
export default Input;