From 64caca9646be6fa7b028cdd68f469c6fdcd2b1d1 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Thu, 11 Apr 2024 15:04:30 +0700 Subject: [PATCH 01/19] styling updates --- app/components/Input.tsx | 23 ++--- app/components/ItemPicker.tsx | 2 +- app/components/Textarea.tsx | 2 +- app/pages/PageEnigma/PageStyling.tsx | 36 +++++--- app/pages/PageEnigma/comps/PreviewImages.tsx | 14 ++- app/pages/PageEnigma/comps/StyleSelection.tsx | 87 ++++++++++--------- 6 files changed, 84 insertions(+), 80 deletions(-) diff --git a/app/components/Input.tsx b/app/components/Input.tsx index 2d5ebbfe6d..15274cada4 100644 --- a/app/components/Input.tsx +++ b/app/components/Input.tsx @@ -6,32 +6,23 @@ import { kebabCase } from "~/utilities"; interface InputProps extends React.InputHTMLAttributes { label?: string; - icon?: IconDefinition + icon?: IconDefinition; } -export function Input({ - label, icon, className, id, ...rest -}: InputProps) { +export function Input({ label, icon, className, id, ...rest }: InputProps) { return (
- {label && - - } + {label && }
{icon && ( - + )} diff --git a/app/components/ItemPicker.tsx b/app/components/ItemPicker.tsx index 905f757cea..a40b10d07a 100644 --- a/app/components/ItemPicker.tsx +++ b/app/components/ItemPicker.tsx @@ -30,7 +30,7 @@ export const ItemPicker = ({ > style
-

+

{label}

diff --git a/app/components/Textarea.tsx b/app/components/Textarea.tsx index cc35c75ac2..e1d0e05849 100644 --- a/app/components/Textarea.tsx +++ b/app/components/Textarea.tsx @@ -30,7 +30,7 @@ export const Textarea = ({