From 3f96e515717c808d4942c9673e73747b7c6845fc Mon Sep 17 00:00:00 2001 From: amy Date: Wed, 18 Dec 2024 09:11:07 +0330 Subject: [PATCH] minor graphical changes --- src/App.tsx | 33 +++++++++++++++++++++------------ tailwind.config.js | 7 ++++++- 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index f18f2cd..c87d4ab 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,29 +4,30 @@ import {getmisskeycolors} from "./helpers.ts"; function App() { const [count, setCount] = createSignal(2); - const [message, setMessage] = createSignal("not valid colors"); + const [message, setMessage] = createSignal("generate something"); return ( <>
-
- number of colors: +
+ number of colors: setCount(Number(e.target.value))} min="2" />
-
- text: +
+
+ text:
@@ -39,7 +40,7 @@ function App() { class="m-2" >
- color: + color:
-
- {message()} + + +
+ {message()} +
+
) diff --git a/tailwind.config.js b/tailwind.config.js index a3ee00c..4d70de1 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,7 +4,12 @@ export default { "./src/**/*.{js,jsx,ts,tsx}", ], theme: { - extend: {}, + extend: { + colors: { + primaryDark: "#2F2F3E", + primaryLight: "#B5B5EF", + } + }, }, plugins: [], }