2021-11-04 19:30:49 +08:00
|
|
|
import styled from 'styled-components';
|
2022-04-29 04:18:35 +08:00
|
|
|
import {
|
|
|
|
colorGrayLighter,
|
|
|
|
colorWhite,
|
|
|
|
} from '/imports/ui/stylesheets/styled-components/palette';
|
2021-11-04 19:30:49 +08:00
|
|
|
|
|
|
|
const DndTextArea = styled.textarea`
|
|
|
|
${({ active }) => active && `
|
2022-04-29 04:18:35 +08:00
|
|
|
background: ${colorGrayLighter};
|
2021-11-04 19:30:49 +08:00
|
|
|
`}
|
|
|
|
|
|
|
|
${({ active }) => !active && `
|
2022-04-29 04:18:35 +08:00
|
|
|
background: ${colorWhite};
|
2021-11-04 19:30:49 +08:00
|
|
|
`}
|
|
|
|
`;
|
|
|
|
|
|
|
|
export default {
|
|
|
|
DndTextArea,
|
|
|
|
};
|