Skip to content

Commit

Permalink
Merge pull request #7 from SureshPradhana/resolve-warnings
Browse files Browse the repository at this point in the history
resolve:/src/App.svelte Unused CSS selectors
  • Loading branch information
SureshPradhana committed Jul 1, 2024
2 parents b819e92 + 7c0a42b commit 29498b5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
// (!("theme" in localStorage) &&
// window.matchMedia("(prefers-color-scheme: dark)").matches)
// ) {
document.documentElement.classList.add("dark");
document.documentElement.setAttribute("data-theme", "dark");
document.documentElement.classList.add("dark");
document.documentElement.setAttribute("data-theme", "dark");
// } else {
// document.documentElement.setAttribute("data-theme", "light");
// document.documentElement.classList.remove("dark");
Expand Down Expand Up @@ -141,20 +141,20 @@
</Route>
</Router>

<style gloabl lang="postcss">
<style global lang="postcss">
@tailwind utilities;
@tailwind components;
@tailwind base;
.main-container {
display: flex;
flex-direction: row;
}
.theme {
z-index: 1000;
position: absolute;
right: 0.5%;
margin: 0.2em;
color: red;
max-width: fit-content;
}
/* .theme { */
/* z-index: 1000; */
/* position: absolute; */
/* right: 0.5%; */
/* margin: 0.2em; */
/* color: red; */
/* max-width: fit-content; */
/* } */
</style>

0 comments on commit 29498b5

Please sign in to comment.