Skip to content

Commit 8795951

Browse files
v1.2.0alpha.1
1 parent 55cecc8 commit 8795951

File tree

2 files changed

+180
-1
lines changed

2 files changed

+180
-1
lines changed

app/src/components/icons.tsx

Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
// https://vercel.com/blog/how-we-optimized-package-imports-in-next-js
2+
3+
import {
4+
IconBrandApple,
5+
IconBrandDiscord,
6+
IconBrandGithub,
7+
IconBrandGoogleFilled,
8+
IconBrandLinkedin,
9+
IconBrandPaypalFilled,
10+
IconBrandX,
11+
IconCopy,
12+
} from "@tabler/icons-react";
13+
import {
14+
ArrowBigLeftDashIcon,
15+
ArrowLeftIcon,
16+
ArrowRightIcon,
17+
BellIcon,
18+
CalendarIcon,
19+
CheckIcon,
20+
ChevronDownIcon,
21+
ChevronLeftIcon,
22+
ChevronRightIcon,
23+
ChevronUpIcon,
24+
CircleIcon,
25+
CommandIcon,
26+
Laptop,
27+
DicesIcon,
28+
ExternalLinkIcon,
29+
EyeIcon,
30+
EyeOffIcon,
31+
FlagIcon,
32+
GlobeIcon,
33+
GripVerticalIcon,
34+
Loader2Icon,
35+
LockIcon,
36+
LogInIcon,
37+
LogOutIcon,
38+
MailIcon,
39+
// MessageSquareText,
40+
MinusIcon,
41+
MoonIcon,
42+
MoreHorizontalIcon,
43+
PaintbrushIcon,
44+
PaletteIcon,
45+
PlusIcon,
46+
RocketIcon,
47+
RotateCcwIcon,
48+
SaveIcon,
49+
SearchIcon,
50+
SettingsIcon,
51+
ShareIcon,
52+
StarIcon,
53+
// StarsIcon,
54+
SunIcon,
55+
Trash2Icon,
56+
UnlockIcon,
57+
UserIcon,
58+
XIcon,
59+
} from "lucide-react";
60+
61+
// Brands
62+
const Discord = IconBrandDiscord;
63+
const GitHub = IconBrandGithub;
64+
const LinkedIn = IconBrandLinkedin;
65+
const Google = IconBrandGoogleFilled;
66+
const Xcom = IconBrandX;
67+
const Paypal = IconBrandPaypalFilled;
68+
const Apple = IconBrandApple;
69+
70+
// Icons used by shadcn
71+
const ArrowLeft = ArrowLeftIcon;
72+
const ArrowRight = ArrowRightIcon;
73+
const Check = CheckIcon;
74+
const ChevronDown = ChevronDownIcon;
75+
const ChevronLeft = ChevronLeftIcon;
76+
const ChevronRight = ChevronRightIcon;
77+
const ChevronUp = ChevronUpIcon;
78+
const Circle = CircleIcon;
79+
const GripVertical = GripVerticalIcon;
80+
const MoreHorizontal = MoreHorizontalIcon;
81+
const Search = SearchIcon;
82+
const X = XIcon;
83+
84+
// Theme
85+
const Dark = MoonIcon;
86+
const Light = SunIcon;
87+
const System = Laptop;
88+
89+
// Auth
90+
const LogOut = LogOutIcon;
91+
const User = UserIcon;
92+
const LogIn = LogInIcon;
93+
94+
// Common
95+
const Copy = IconCopy;
96+
const External = ExternalLinkIcon;
97+
const EyeClosed = EyeOffIcon;
98+
const EyeOpened = EyeIcon;
99+
const Flag = FlagIcon;
100+
const Globe = GlobeIcon;
101+
const Loader = Loader2Icon;
102+
const Lock = LockIcon;
103+
const Unlock = UnlockIcon;
104+
const Mail = MailIcon;
105+
const Minus = MinusIcon;
106+
const Plus = PlusIcon;
107+
const Settings = SettingsIcon;
108+
const Trash = Trash2Icon;
109+
110+
// Project-specific
111+
const Paintbrush = PaintbrushIcon;
112+
const Calendar = CalendarIcon;
113+
// const Emoji = MessageSquareTextIcon;
114+
const Rocket = RocketIcon;
115+
const Bell = BellIcon;
116+
const Save = SaveIcon;
117+
const Palette = PaletteIcon;
118+
// const Favorites = StarsIcon;
119+
const Reset = RotateCcwIcon;
120+
const Star = StarIcon;
121+
const Share = ShareIcon;
122+
const Dices = DicesIcon;
123+
const Previous = ArrowBigLeftDashIcon;
124+
125+
export {
126+
Apple,
127+
ArrowLeft,
128+
ArrowRight,
129+
Bell,
130+
Calendar,
131+
Check,
132+
ChevronDown,
133+
ChevronLeft,
134+
ChevronRight,
135+
ChevronUp,
136+
Circle,
137+
CommandIcon,
138+
Copy,
139+
Dark,
140+
Dices,
141+
Discord,
142+
// Emoji,
143+
External,
144+
EyeClosed,
145+
EyeOpened,
146+
// Favorites,
147+
Flag,
148+
GitHub,
149+
Globe,
150+
Google,
151+
GripVertical,
152+
Light,
153+
LinkedIn,
154+
Loader,
155+
Lock,
156+
LogIn,
157+
LogOut,
158+
Mail,
159+
Minus,
160+
MoreHorizontal,
161+
Paintbrush,
162+
Palette,
163+
Paypal,
164+
Plus,
165+
Previous,
166+
Reset,
167+
Rocket,
168+
Save,
169+
Search,
170+
Settings,
171+
Share,
172+
Star,
173+
System,
174+
Trash,
175+
Unlock,
176+
User,
177+
X,
178+
Xcom,
179+
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "shadcn-theme-editor",
3-
"version": "1.1.0",
3+
"version": "1.2.0-alpha.1",
44
"description": "Shadcn Theme Editor",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

0 commit comments

Comments
 (0)