From 1281c9c86b76f1ff46930df3897f23d738ec425e Mon Sep 17 00:00:00 2001 From: Cykotech Date: Mon, 30 Dec 2024 13:20:57 -0500 Subject: [PATCH 1/3] Delete App.css and index.css --- src/App.css | 42 ------------------------------ src/index.css | 72 --------------------------------------------------- 2 files changed, 114 deletions(-) delete mode 100644 src/App.css delete mode 100644 src/index.css diff --git a/src/App.css b/src/App.css deleted file mode 100644 index b9d355d..0000000 --- a/src/App.css +++ /dev/null @@ -1,42 +0,0 @@ -#root { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; - transition: filter 300ms; -} -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.react:hover { - filter: drop-shadow(0 0 2em #61dafbaa); -} - -@keyframes logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - -@media (prefers-reduced-motion: no-preference) { - a:nth-of-type(2) .logo { - animation: logo-spin infinite 20s linear; - } -} - -.card { - padding: 2em; -} - -.read-the-docs { - color: #888; -} diff --git a/src/index.css b/src/index.css deleted file mode 100644 index e7d4bb2..0000000 --- a/src/index.css +++ /dev/null @@ -1,72 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; - -:root { - font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; - - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} -button:hover { - border-color: #646cff; -} -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} From 63c392607a6464d134f1c82d108ff0dc25a99ce1 Mon Sep 17 00:00:00 2001 From: Cykotech Date: Mon, 30 Dec 2024 13:21:47 -0500 Subject: [PATCH 2/3] Remove unneeded imports --- src/App.tsx | 2 -- src/main.tsx | 1 - 2 files changed, 3 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 384072c..aabece9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,3 @@ -import "./App.css"; - function App() { return

Code Café Community

; } diff --git a/src/main.tsx b/src/main.tsx index 7034f74..28766b6 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,7 +1,6 @@ import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import { BrowserRouter } from "react-router"; -import "./index.css"; import App from "./App.tsx"; const root = document.getElementById("root"); From 6ffa366d65654d66b7da6ba1d8ddb37318182403 Mon Sep 17 00:00:00 2001 From: Cykotech Date: Mon, 30 Dec 2024 13:35:06 -0500 Subject: [PATCH 3/3] Recreate and import index.css --- src/index.css | 3 +++ src/main.tsx | 1 + 2 files changed, 4 insertions(+) create mode 100644 src/index.css diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..b5c61c9 --- /dev/null +++ b/src/index.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/src/main.tsx b/src/main.tsx index 28766b6..7034f74 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,6 +1,7 @@ import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import { BrowserRouter } from "react-router"; +import "./index.css"; import App from "./App.tsx"; const root = document.getElementById("root");