mirror of
https://github.com/aljazceru/sendstr-web.git
synced 2025-12-18 23:14:23 +01:00
fix: standardize textarea and input colors
This commit is contained in:
@@ -15,7 +15,7 @@ export const Input = forwardRef(
|
||||
return (
|
||||
<div className={className}>
|
||||
<input
|
||||
className="bg-gray-100 dark:bg-gray-800 border-2 border-custom-black rounded w-full p-3"
|
||||
className="border-2 border-custom-black rounded w-full p-3"
|
||||
ref={ref}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
|
||||
@@ -25,16 +25,20 @@
|
||||
|
||||
@layer base {
|
||||
body {
|
||||
@apply dark:bg-black dark:text-gray-100 bg-white text-gray-900
|
||||
@apply dark:bg-black dark:text-gray-100 bg-white text-gray-900;
|
||||
}
|
||||
|
||||
textarea {
|
||||
@apply dark:placeholder-gray-300 placeholder-gray-500;
|
||||
}
|
||||
}
|
||||
|
||||
@layer components {
|
||||
.btn-main {
|
||||
@apply bg-primary rounded-md px-6 py-3 w-full h-full shadow text-gray-100 dark:text-gray-900 font-semibold
|
||||
@apply bg-primary rounded-md px-6 py-3 w-full h-full shadow text-gray-100 dark:text-gray-900 font-semibold;
|
||||
}
|
||||
|
||||
.primary-hover {
|
||||
@apply transition duration-300 hover:text-primary
|
||||
@apply transition duration-300 hover:text-primary;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ const Message = ({ message, onChange }: MessageProps) => {
|
||||
<section className="p-4">
|
||||
<div className="border-0">
|
||||
<textarea
|
||||
className="bg-custom-green-dark border-2 border-custom-black rounded w-full min-h-[100px] max-h-[700px] placeholder-gray-50 p-1"
|
||||
className="bg-custom-green-dark border-2 border-custom-black rounded w-full min-h-[100px] max-h-[700px] p-1"
|
||||
value={message}
|
||||
onChange={(e) => onChange(e.currentTarget.value || "")}
|
||||
placeholder="Start typing here..."
|
||||
|
||||
@@ -21,7 +21,7 @@ const Message = ({ message, onChange }: MessageProps) => {
|
||||
<section className="p-4">
|
||||
<div className="border-0">
|
||||
<textarea
|
||||
className="bg-custom-green-dark border-2 border-custom-black rounded w-full min-h-[100px] max-h-[700px] placeholder-gray-50 p-1"
|
||||
className="bg-custom-green-dark border-2 border-custom-black rounded w-full min-h-[100px] max-h-[700px] p-1"
|
||||
value={message}
|
||||
onChange={(e) => onChange(e.currentTarget.value || "")}
|
||||
placeholder="Start typing here..."
|
||||
|
||||
Reference in New Issue
Block a user