Skip to content

Commit

Permalink
v1.2.0alpha.1
Browse files Browse the repository at this point in the history
  • Loading branch information
programming-with-ia committed Aug 17, 2024
1 parent 55cecc8 commit 8795951
Show file tree
Hide file tree
Showing 2 changed files with 180 additions and 1 deletion.
179 changes: 179 additions & 0 deletions app/src/components/icons.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
// https://vercel.com/blog/how-we-optimized-package-imports-in-next-js

import {
IconBrandApple,
IconBrandDiscord,
IconBrandGithub,
IconBrandGoogleFilled,
IconBrandLinkedin,
IconBrandPaypalFilled,
IconBrandX,
IconCopy,
} from "@tabler/icons-react";
import {
ArrowBigLeftDashIcon,
ArrowLeftIcon,
ArrowRightIcon,
BellIcon,
CalendarIcon,
CheckIcon,
ChevronDownIcon,
ChevronLeftIcon,
ChevronRightIcon,
ChevronUpIcon,
CircleIcon,
CommandIcon,
Laptop,
DicesIcon,
ExternalLinkIcon,
EyeIcon,
EyeOffIcon,
FlagIcon,
GlobeIcon,
GripVerticalIcon,
Loader2Icon,
LockIcon,
LogInIcon,
LogOutIcon,
MailIcon,
// MessageSquareText,
MinusIcon,
MoonIcon,
MoreHorizontalIcon,
PaintbrushIcon,
PaletteIcon,
PlusIcon,
RocketIcon,
RotateCcwIcon,
SaveIcon,
SearchIcon,
SettingsIcon,
ShareIcon,
StarIcon,
// StarsIcon,
SunIcon,
Trash2Icon,
UnlockIcon,
UserIcon,
XIcon,
} from "lucide-react";

// Brands
const Discord = IconBrandDiscord;
const GitHub = IconBrandGithub;
const LinkedIn = IconBrandLinkedin;
const Google = IconBrandGoogleFilled;
const Xcom = IconBrandX;
const Paypal = IconBrandPaypalFilled;
const Apple = IconBrandApple;

// Icons used by shadcn
const ArrowLeft = ArrowLeftIcon;
const ArrowRight = ArrowRightIcon;
const Check = CheckIcon;
const ChevronDown = ChevronDownIcon;
const ChevronLeft = ChevronLeftIcon;
const ChevronRight = ChevronRightIcon;
const ChevronUp = ChevronUpIcon;
const Circle = CircleIcon;
const GripVertical = GripVerticalIcon;
const MoreHorizontal = MoreHorizontalIcon;
const Search = SearchIcon;
const X = XIcon;

// Theme
const Dark = MoonIcon;
const Light = SunIcon;
const System = Laptop;

// Auth
const LogOut = LogOutIcon;
const User = UserIcon;
const LogIn = LogInIcon;

// Common
const Copy = IconCopy;
const External = ExternalLinkIcon;
const EyeClosed = EyeOffIcon;
const EyeOpened = EyeIcon;
const Flag = FlagIcon;
const Globe = GlobeIcon;
const Loader = Loader2Icon;
const Lock = LockIcon;
const Unlock = UnlockIcon;
const Mail = MailIcon;
const Minus = MinusIcon;
const Plus = PlusIcon;
const Settings = SettingsIcon;
const Trash = Trash2Icon;

// Project-specific
const Paintbrush = PaintbrushIcon;
const Calendar = CalendarIcon;
// const Emoji = MessageSquareTextIcon;
const Rocket = RocketIcon;
const Bell = BellIcon;
const Save = SaveIcon;
const Palette = PaletteIcon;
// const Favorites = StarsIcon;
const Reset = RotateCcwIcon;
const Star = StarIcon;
const Share = ShareIcon;
const Dices = DicesIcon;
const Previous = ArrowBigLeftDashIcon;

export {
Apple,
ArrowLeft,
ArrowRight,
Bell,
Calendar,
Check,
ChevronDown,
ChevronLeft,
ChevronRight,
ChevronUp,
Circle,
CommandIcon,
Copy,
Dark,
Dices,
Discord,
// Emoji,
External,
EyeClosed,
EyeOpened,
// Favorites,
Flag,
GitHub,
Globe,
Google,
GripVertical,
Light,
LinkedIn,
Loader,
Lock,
LogIn,
LogOut,
Mail,
Minus,
MoreHorizontal,
Paintbrush,
Palette,
Paypal,
Plus,
Previous,
Reset,
Rocket,
Save,
Search,
Settings,
Share,
Star,
System,
Trash,
Unlock,
User,
X,
Xcom,
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shadcn-theme-editor",
"version": "1.1.0",
"version": "1.2.0-alpha.1",
"description": "Shadcn Theme Editor",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down

0 comments on commit 8795951

Please sign in to comment.