From 61a1fe1fd6c1700dea6963e3b5981550ecfc18f2 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 14 Mar 2023 17:17:08 +0000 Subject: [PATCH] Format code with prettier This commit fixes the style issues introduced in c7bf8b1 according to the output from prettier. Details: https://deepsource.io/gh/narayan954/dummygram/transform/5cb2ae74-f1aa-4ba6-86b1-191367e52596/ --- src/App.jsx | 12 +++++++++--- src/index.css | 7 +++---- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index e9cae5ad2..3a46c9b67 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -37,7 +37,7 @@ export const useStyles = makeStyles((theme) => ({ position: "absolute", width: 250, borderRadius: theme.shape.borderRadius, - boxShadow:"var(--color-shadow) 0px 5px 15px", + boxShadow: "var(--color-shadow) 0px 5px 15px", padding: theme.spacing(2, 4, 3), color: "var(--color)", }, @@ -103,14 +103,20 @@ function App() { useEffect(() => { if (document.body.classList.contains("darkmode--activated")) { window.document.body.style.setProperty("--bg-color", "black"); - window.document.body.style.setProperty("--color-shadow", "rgba(255, 255, 255, 0.35)"); + window.document.body.style.setProperty( + "--color-shadow", + "rgba(255, 255, 255, 0.35)" + ); window.document.body.style.setProperty("--color", "white"); window.document.body.style.setProperty("--val", 1); document.getElementsByClassName("app__header__img").item(0).style.filter = "invert(100%)"; } else { window.document.body.style.setProperty("--bg-color", "white"); - window.document.body.style.setProperty("--color-shadow", "rgba(0, 0, 0, 0.35)"); + window.document.body.style.setProperty( + "--color-shadow", + "rgba(0, 0, 0, 0.35)" + ); window.document.body.style.setProperty("--color", "#2B1B17"); window.document.body.style.setProperty("--val", 0); document.getElementsByClassName("app__header__img").item(0).style.filter = diff --git a/src/index.css b/src/index.css index 996c71c11..a5b32a6dc 100644 --- a/src/index.css +++ b/src/index.css @@ -457,14 +457,13 @@ input { width: 50px; height: 50px; } -.have-account{ +.have-account { color: var(--color); font-size: 13px; margin: 10px 0; - } .have-account span { color: rgb(104, 85, 224); border-bottom: 2px solid rgb(104, 85, 224); - cursor:pointer; -} \ No newline at end of file + cursor: pointer; +}