From ab03d43aff658b9e68b4abf8637203e04d3617cf Mon Sep 17 00:00:00 2001 From: Venessa Kuchenik Date: Tue, 22 Jul 2025 12:56:44 -0700 Subject: [PATCH] udpated bg of widget shadow the drop shadow behind widgets when moved around is now light blue and the corners are round. --- client/src/App.jsx | 15 +++++++- .../layout/Canvas/views/WidgetCanvas.jsx | 34 ++++++++++--------- client/src/theme.js | 2 +- 3 files changed, 33 insertions(+), 18 deletions(-) diff --git a/client/src/App.jsx b/client/src/App.jsx index 29a907e..e3e5cce 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -1,4 +1,4 @@ -import { useState } from 'react' +import { Global, css } from "@emotion/react"; import Header from './components/layout/Header/Header.jsx'; import Sidebar from './components/layout/Sidebar/Sidebar.jsx'; import Canvas from './components/layout/Canvas/Canvas.jsx'; @@ -9,6 +9,18 @@ function App() { const styles = recipe(); return ( + <> + + ); } diff --git a/client/src/components/layout/Canvas/views/WidgetCanvas.jsx b/client/src/components/layout/Canvas/views/WidgetCanvas.jsx index a6611b3..994719c 100644 --- a/client/src/components/layout/Canvas/views/WidgetCanvas.jsx +++ b/client/src/components/layout/Canvas/views/WidgetCanvas.jsx @@ -26,21 +26,23 @@ export default function WidgetCanvas() { }; return ( - - {layout.map((item) => ( - - - - ))} - + + + {layout.map((item) => ( + + + + ))} + + ); } diff --git a/client/src/theme.js b/client/src/theme.js index d214c25..cb98a77 100644 --- a/client/src/theme.js +++ b/client/src/theme.js @@ -103,7 +103,7 @@ const config = defineConfig({ slotRecipes: { sidebar: sidebarRecipe, widget: widgetRecipe, - } + }, }, });