Skip to content

Commit

Permalink
removed tailwind vestiges
Browse files Browse the repository at this point in the history
  • Loading branch information
theWhiteWulfy committed Jun 12, 2024
1 parent ad07bee commit 4b5967d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions src/components/Link.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
import { cn } from "@lib/utils";
type Props = {
href: string;
Expand All @@ -20,11 +19,7 @@ const {
<a
href={href}
target={external ? "_blank" : "_self"}
class={cn(
"inline-block decoration-black/30 dark:decoration-white/30 hover:decoration-black/50 focus-visible:decoration-black/50 dark:hover:decoration-white/50 dark:focus-visible:decoration-white/50 text-current hover:text-black focus-visible:text-black dark:hover:text-white dark:focus-visible:text-white transition-colors duration-300 ease-in-out",
underline && "underline underline-offset-[3px]",
group && "group"
)}
class={ "group" }
{...rest}
>
<slot />
Expand Down
5 changes: 0 additions & 5 deletions src/lib/utils.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";

export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}

export function formatDate(date: Date) {
return Intl.DateTimeFormat("en-US", {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const projects: CollectionEntry<"projects">[] = (
<p>
Micro still comes with everything great about Nano — full type
safety, a sitemap, an RSS feed, and Markdown + MDX support. Styled
with TailwindCSS and preconfigured with system, light, and dark
with CSS and preconfigured with system, light, and dark
themes.
</p>
<p>
Expand Down

0 comments on commit 4b5967d

Please sign in to comment.