From 8b51298ba110a477b4eccf7ea2d2ae80099197aa Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 9 May 2024 11:57:57 +1000 Subject: [PATCH] feat(ui): negative prompt boxes are italicized --- .../controlLayers/components/RGLayer/RGLayerNegativePrompt.tsx | 1 + .../features/parameters/components/Core/ParamNegativePrompt.tsx | 1 + .../sdxl/components/SDXLPrompts/ParamSDXLNegativeStylePrompt.tsx | 1 + 3 files changed, 3 insertions(+) diff --git a/invokeai/frontend/web/src/features/controlLayers/components/RGLayer/RGLayerNegativePrompt.tsx b/invokeai/frontend/web/src/features/controlLayers/components/RGLayer/RGLayerNegativePrompt.tsx index ba02aa9242..34a50064d9 100644 --- a/invokeai/frontend/web/src/features/controlLayers/components/RGLayer/RGLayerNegativePrompt.tsx +++ b/invokeai/frontend/web/src/features/controlLayers/components/RGLayer/RGLayerNegativePrompt.tsx @@ -45,6 +45,7 @@ export const RGLayerNegativePrompt = memo(({ layerId }: Props) => { variant="darkFilled" paddingRight={30} fontSize="sm" + fontStyle="oblique 10deg" /> diff --git a/invokeai/frontend/web/src/features/parameters/components/Core/ParamNegativePrompt.tsx b/invokeai/frontend/web/src/features/parameters/components/Core/ParamNegativePrompt.tsx index 5702cf8bd7..25b5b36c9a 100644 --- a/invokeai/frontend/web/src/features/parameters/components/Core/ParamNegativePrompt.tsx +++ b/invokeai/frontend/web/src/features/parameters/components/Core/ParamNegativePrompt.tsx @@ -39,6 +39,7 @@ export const ParamNegativePrompt = memo(() => { fontSize="sm" variant="darkFilled" paddingRight={30} + fontStyle="oblique 10deg" /> diff --git a/invokeai/frontend/web/src/features/sdxl/components/SDXLPrompts/ParamSDXLNegativeStylePrompt.tsx b/invokeai/frontend/web/src/features/sdxl/components/SDXLPrompts/ParamSDXLNegativeStylePrompt.tsx index bba9e0b32d..afaf94ff22 100644 --- a/invokeai/frontend/web/src/features/sdxl/components/SDXLPrompts/ParamSDXLNegativeStylePrompt.tsx +++ b/invokeai/frontend/web/src/features/sdxl/components/SDXLPrompts/ParamSDXLNegativeStylePrompt.tsx @@ -42,6 +42,7 @@ export const ParamSDXLNegativeStylePrompt = memo(() => { fontSize="sm" variant="darkFilled" paddingRight={30} + fontStyle="oblique 10deg" />