mirror of
https://github.com/AnimeThemes/animethemes-web.git
synced 2026-07-11 01:24:31 +02:00
f85e21b8c9
* Reformated all files with Prettier. * Updated GraphQL codegen. * Updated ESLint (including rule config). * Updated TypeScript. * Eliminated most ESLint warnings (especially usage of the `any` type). * Rewrote parts of the API resolver logic to be more type-safe. * Added IP forwarding for API requests.
25 lines
599 B
TypeScript
25 lines
599 B
TypeScript
import styled from "styled-components";
|
|
|
|
import { withColorTheme } from "@/styles/mixins";
|
|
import theme from "@/theme";
|
|
|
|
export const TextArea = styled.textarea`
|
|
display: block;
|
|
|
|
padding: 8px 16px;
|
|
border-radius: 8px;
|
|
|
|
resize: vertical;
|
|
background-color: ${theme.colors["solid-on-card"]};
|
|
color: ${theme.colors["text-muted"]};
|
|
scrollbar-color: ${theme.colors["gray-800"]} transparent;
|
|
|
|
&:focus-within {
|
|
box-shadow: ${theme.shadows.low};
|
|
|
|
${withColorTheme("dark")`
|
|
box-shadow: 0 0 0 2px ${theme.colors["text-primary"]};
|
|
`}
|
|
}
|
|
`;
|