From e53bcb5202518193b3cb90068a972a2259361972 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 22 May 2024 21:42:21 -0700 Subject: [PATCH] fix: styling --- extension/src/App.jsx | 4 +++- extension/src/components/SpotlightSearch.jsx | 18 +++++++++--------- extension/src/index.css | 13 +++++-------- extension/tailwind.config.js | 5 +++++ 4 files changed, 22 insertions(+), 18 deletions(-) diff --git a/extension/src/App.jsx b/extension/src/App.jsx index d56e6e2..e20b2e8 100644 --- a/extension/src/App.jsx +++ b/extension/src/App.jsx @@ -2,7 +2,9 @@ import { SpotlightSearch } from "./components/SpotlightSearch"; function App() { return ( <> - +
+ +
); } diff --git a/extension/src/components/SpotlightSearch.jsx b/extension/src/components/SpotlightSearch.jsx index a640953..07b74c7 100644 --- a/extension/src/components/SpotlightSearch.jsx +++ b/extension/src/components/SpotlightSearch.jsx @@ -37,22 +37,22 @@ export const SpotlightSearch = () => { }; return open ? ( -
-
-
+
+
+
-
-
+
+
{
-

+

Press ⌘Space+Shift to toggle

diff --git a/extension/src/index.css b/extension/src/index.css index 69b72c6..2f7e9f1 100644 --- a/extension/src/index.css +++ b/extension/src/index.css @@ -1,15 +1,12 @@ @tailwind base; @tailwind components; @tailwind utilities; +@tailwind screens; -@layer base { - html, - pre { - font-family: -apple-system, ui-sans-serif, system-ui, "Segoe UI", Roboto, - Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, - "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", - "Noto Color Emoji"; - } +.extension-container { + font-family: -apple-system, ui-sans-serif, system-ui, "Segoe UI", Roboto, + Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, + "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } .shadow-3xl { diff --git a/extension/tailwind.config.js b/extension/tailwind.config.js index f09a254..3c3d26d 100644 --- a/extension/tailwind.config.js +++ b/extension/tailwind.config.js @@ -22,4 +22,9 @@ export default { }, }, plugins: [], + important: "#extension-app", + prefix: "tlwd-", + corePlugins: { + preflight: false, + }, };