Removed Custom Icon Component and Added Iconify icons

This commit is contained in:
2025-08-16 13:58:25 +05:30
parent b3e13c2938
commit 8f720c9865
11 changed files with 1063 additions and 3304 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
---
import type { HTMLAttributes } from "astro/types";
import { cn } from "../utils/cn";
import Icon from "./Icon.astro";
import { Icon } from "astro-icon/components";
type Variant = "solid" | "outline" | "ghost" | "soft" | "link";
type Color =
+1 -1
View File
@@ -2,7 +2,7 @@
import type { HTMLAttributes } from "astro/types";
import { cva } from "class-variance-authority";
import { cn } from "../utils/cn";
import Icon from "./Icon.astro";
import { Icon } from "astro-icon/components";
type Kind =
| "text"
+1 -1
View File
@@ -1,7 +1,7 @@
---
import type { HTMLAttributes } from "astro/types";
import { cn } from "../utils/cn";
import Icon from "./Icon.astro";
import { Icon } from "astro-icon/components";
interface Option {
value: string;
-1
View File
@@ -2,7 +2,6 @@ export { default as Button } from "./components/Button.astro";
export { default as Form } from "./components/Form.astro";
export { default as Field } from "./components/Field.astro";
export { default as MultiSelect } from "./components/MultiSelect.astro";
export { default as Icon } from "./components/Icon.astro";
// Utils
export { cn } from "./utils/cn";
+1 -1
View File
@@ -1,5 +1,5 @@
---
import Icon from "../components/Icon.astro";
import { Icon } from "astro-icon/components";
import Base from "../layouts/Base.astro";
---