Skip to content

Commit

Permalink
standalone tailwind.css
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-s committed Dec 23, 2024
1 parent 11db140 commit 96ac374
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
1 change: 1 addition & 0 deletions web/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '~/compositions/useFavicon';
import '~/tailwind.css'
import '~/style.css';

import { createPinia } from 'pinia';
Expand Down
10 changes: 0 additions & 10 deletions web/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,3 @@ body,
code:not(pre > code) {
@apply bg-wp-code-200 px-1 py-px rounded-md text-wp-code-text-100;
}

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer components {
.hover-effect {
@apply hover:bg-black dark:hover:bg-white hover:bg-opacity-10 dark:hover:bg-opacity-5 transition-colors duration-100;
}
}
9 changes: 9 additions & 0 deletions web/src/tailwind.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer components {
.hover-effect {
@apply hover:bg-black dark:hover:bg-white hover:bg-opacity-10 dark:hover:bg-opacity-5 transition-colors duration-100;
}
}

0 comments on commit 96ac374

Please sign in to comment.