From bdd47a759f0fddb6206501386c6307a040b348cd Mon Sep 17 00:00:00 2001 From: Martti Malmi Date: Wed, 16 Aug 2023 16:41:55 +0300 Subject: [PATCH] note form style --- src/js/components/Header.tsx | 2 +- src/js/components/create/CreateNoteForm.tsx | 4 ++-- src/js/components/create/TextArea.tsx | 2 +- tailwind.config.js | 3 +++ 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/js/components/Header.tsx b/src/js/components/Header.tsx index 883ae86e..f7a69c0f 100644 --- a/src/js/components/Header.tsx +++ b/src/js/components/Header.tsx @@ -187,7 +187,7 @@ export default class Header extends Component { {this.state.activeRoute === '/notifications' ? ( diff --git a/src/js/components/create/CreateNoteForm.tsx b/src/js/components/create/CreateNoteForm.tsx index 41850612..6f65be88 100644 --- a/src/js/components/create/CreateNoteForm.tsx +++ b/src/js/components/create/CreateNoteForm.tsx @@ -135,7 +135,7 @@ function CreateNoteForm({ />
-
@@ -147,7 +147,7 @@ function CreateNoteForm({
-
+
{t('preview')}
= ({ onKeyDown={onKeyDown} onPaste={onPaste} onInput={onInput} - className="p-2 mt-1 w-full h-12 bg-black focus:ring-blue-500 focus:border-blue-500 block w-full text-lg border-gray-700 rounded-md text-white" + className="p-2 mt-1 w-full h-12 bg-black focus:outline-iris-purple block w-full text-lg border-gray-700 rounded-md text-white" type="text" placeholder={t(placeholder)} autoComplete="off" diff --git a/tailwind.config.js b/tailwind.config.js index 2184650f..56d9ede7 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -20,6 +20,9 @@ export default { 'iris-red': '#f81780', 'iris-purple': '#8e44ad', }, + outlineColor: { + 'iris-purple': '#8e44ad', + }, spacing: { px: '1px', },