From 7542ee448d9829c44da67b9b8f86748280034e16 Mon Sep 17 00:00:00 2001 From: Naman Dhingra <1608naman@gmail.com> Date: Thu, 6 Jun 2024 08:51:46 +0530 Subject: [PATCH 1/4] tailwind config support in the frontend --- frontend/src/App.tsx | 38 +++++++-------- frontend/src/components/SettingsDialog.tsx | 55 ++++++++++++++++++---- frontend/src/types.ts | 1 + 3 files changed, 67 insertions(+), 27 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 5156a0f0b..6e37df864 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -71,6 +71,7 @@ function App() { codeGenerationModel: CodeGenerationModel.GPT_4O_2024_05_13, // Only relevant for hosted version isTermOfServiceAccepted: false, + tailwindConfig: null, }, "setting" ); @@ -403,7 +404,7 @@ function App() { /> )}
+
Now supporting GPT-4o. Higher quality and 2x faster. Give it a try!
@@ -446,7 +447,7 @@ function App() { {IS_RUNNING_ON_CLOUD && !settings.openAiApiKey &&