Skip to content

Commit c13f4f7

Browse files
andresdjassoclaude
andcommitted
revert(icons): undo Hugeicons migration, restore lucide-react + original EMCN icons
Reverts the two Hugeicons commits (d3b291b, 1bc72e6) that vendored the Hugeicons stroke-rounded set and removed lucide-react. Restores lucide-react (^0.479.0), the original hand-authored EMCN icon art, and the per-file lucide-react/emcn import split across the app. Later design work (post-migration) was built on the new icons, so a literal revert was reconciled: ~330 files reverted cleanly; 33 conflicts resolved by keeping later design structure and reverting only the icon source; dangling imports of removed net-new icons re-pointed to lucide-react. Six genuinely custom Sim icons that later features depend on (and lucide lacks) are kept: ArrowRight2, ArrowUp2, BubbleChatDelay, BubbleChatSpark, SimLogotype, CircleInfo. Removed the Hugeicons generator scripts and the icon-gallery tooling. tsc --noEmit passes; Biome formatting applied. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 4eadb18 commit c13f4f7

345 files changed

Lines changed: 1831 additions & 6016 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/sim/app/(auth)/login/login-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import { useEffect, useRef, useState } from 'react'
44
import { createLogger } from '@sim/logger'
55
import { getErrorMessage } from '@sim/utils/errors'
6+
import { Eye, EyeOff } from 'lucide-react'
67
import Link from 'next/link'
78
import { useRouter, useSearchParams } from 'next/navigation'
89
import {
@@ -16,7 +17,6 @@ import {
1617
Label,
1718
Loader,
1819
} from '@/components/emcn'
19-
import { Eye, EyeOff } from '@/components/emcn/icons'
2020
import { requestJson } from '@/lib/api/client/request'
2121
import { forgetPasswordContract } from '@/lib/api/contracts'
2222
import { client } from '@/lib/auth/auth-client'

apps/sim/app/(auth)/reset-password/reset-password-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use client'
22

33
import { useState } from 'react'
4+
import { Eye, EyeOff } from 'lucide-react'
45
import { Input, Label, Loader } from '@/components/emcn'
5-
import { Eye, EyeOff } from '@/components/emcn/icons'
66
import { cn } from '@/lib/core/utils/cn'
77
import { AUTH_SUBMIT_BTN } from '@/app/(auth)/components/auth-button-classes'
88

apps/sim/app/(auth)/signup/signup-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
import { Suspense, useEffect, useMemo, useRef, useState } from 'react'
44
import { Turnstile, type TurnstileInstance } from '@marsidev/react-turnstile'
55
import { createLogger } from '@sim/logger'
6+
import { Eye, EyeOff } from 'lucide-react'
67
import Link from 'next/link'
78
import { useRouter, useSearchParams } from 'next/navigation'
89
import { usePostHog } from 'posthog-js/react'
910
import { Input, Label, Loader } from '@/components/emcn'
10-
import { Eye, EyeOff } from '@/components/emcn/icons'
1111
import { client, useSession } from '@/lib/auth/auth-client'
1212
import { getEnv, isFalsy, isTruthy } from '@/lib/core/config/env'
1313
import { validateCallbackUrl } from '@/lib/core/security/input-validation'

apps/sim/app/(landing)/blog/[slug]/share-button.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
'use client'
22

33
import { useState } from 'react'
4+
import { Share2 } from 'lucide-react'
45
import {
56
DropdownMenu,
67
DropdownMenuContent,
78
DropdownMenuItem,
89
DropdownMenuTrigger,
910
} from '@/components/emcn'
10-
import { Duplicate, Share2 } from '@/components/emcn/icons'
11+
import { Duplicate } from '@/components/emcn/icons'
1112
import { LinkedInIcon, xIcon as XIcon } from '@/components/icons'
1213

1314
interface ShareButtonProps {

apps/sim/app/(landing)/components/auth-modal/auth-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import { useEffect, useMemo, useState } from 'react'
44
import { createLogger } from '@sim/logger'
5+
import { X } from 'lucide-react'
56
import Image from 'next/image'
67
import { useRouter } from 'next/navigation'
78
import {
@@ -13,7 +14,6 @@ import {
1314
ModalTitle,
1415
ModalTrigger,
1516
} from '@/components/emcn'
16-
import { X } from '@/components/emcn/icons'
1717
import { GithubIcon, GoogleIcon } from '@/components/icons'
1818
import { requestJson } from '@/lib/api/client/request'
1919
import { type AuthProviderStatusResponse, getAuthProvidersContract } from '@/lib/api/contracts/auth'

apps/sim/app/(landing)/components/features/components/features-preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ function MockFullTable({ revealedRows }: { revealedRows: number }) {
946946
<div className='flex items-center gap-1.5'>
947947
<ColumnTypeIcon />
948948
<span className='font-medium text-[#1C1C1C] text-[13px]'>{col}</span>
949-
<ChevronDown className='ml-auto size-[14px] shrink-0 text-[#CCC]' />
949+
<ChevronDown className='ml-auto h-[7px] w-[9px] shrink-0 text-[#CCC]' />
950950
</div>
951951
</th>
952952
))}

apps/sim/app/(landing)/components/footer/footer-cta.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use client'
22

33
import { useCallback, useRef, useState } from 'react'
4+
import { ArrowUp } from 'lucide-react'
45
import dynamic from 'next/dynamic'
5-
import { ArrowUp } from '@/components/emcn/icons'
66
import { cn } from '@/lib/core/utils/cn'
77
import { handleKeyboardActivation } from '@/lib/core/utils/keyboard'
88
import { captureClientEvent } from '@/lib/posthog/client'

apps/sim/app/(landing)/components/landing-preview/components/landing-preview-home/landing-preview-home.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
import { memo, useCallback, useEffect, useRef, useState } from 'react'
44
import { AnimatePresence, domAnimation, LazyMotion, m } from 'framer-motion'
5+
import { ArrowUp, Table } from 'lucide-react'
56
import { Blimp, Checkbox, ChevronDown } from '@/components/emcn'
6-
import { ArrowUp, Table, TypeBoolean, TypeNumber, TypeText } from '@/components/emcn/icons'
7+
import { TypeBoolean, TypeNumber, TypeText } from '@/components/emcn/icons'
78
import { captureClientEvent } from '@/lib/posthog/client'
89
import { useLandingSubmit } from '@/app/(landing)/components/landing-preview/components/landing-preview-panel/landing-preview-panel'
910
import { EASE_OUT } from '@/app/(landing)/components/landing-preview/components/landing-preview-workflow/workflow-data'
@@ -220,7 +221,7 @@ export const LandingPreviewHome = memo(function LandingPreviewHome({
220221
Mothership
221222
</span>
222223
<ChevronDown
223-
className='size-[14px] transition-transform duration-150'
224+
className='h-[7px] w-[9px] transition-transform duration-150'
224225
style={{
225226
color: C.TEXT_ICON,
226227
transform: toolsExpanded ? 'rotate(0deg)' : 'rotate(-90deg)',

apps/sim/app/(landing)/components/landing-preview/components/landing-preview-panel/landing-preview-panel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
import { memo, useCallback, useEffect, useRef, useState } from 'react'
44
import { AnimatePresence, domMax, LazyMotion, m } from 'framer-motion'
5+
import { ArrowUp } from 'lucide-react'
56
import dynamic from 'next/dynamic'
67
import { useRouter } from 'next/navigation'
78
import { createPortal } from 'react-dom'
89
import { Blimp, BubbleChatPreview, ChevronDown, MoreHorizontal, Play } from '@/components/emcn'
9-
import { ArrowUp } from '@/components/emcn/icons'
1010
import { AgentIcon, HubspotIcon, OpenAIIcon, SalesforceIcon } from '@/components/icons'
1111
import { LandingPromptStorage } from '@/lib/core/utils/browser-storage'
1212
import { captureClientEvent } from '@/lib/posthog/client'
@@ -432,7 +432,7 @@ function EditorTabContent({ editorPrompt, typedLength }: EditorTabContentProps)
432432
<div className='flex h-[32px] items-center gap-2 rounded-[4px] border border-[#3d3d3d] bg-[#292929] px-2'>
433433
{ModelIcon && <ModelIcon className='h-[14px] w-[14px] text-[#e6e6e6]' />}
434434
<span className='flex-1 truncate font-medium text-[#e6e6e6] text-sm'>{model}</span>
435-
<ChevronDown className='size-[14px] text-[#636363]' />
435+
<ChevronDown className='h-[7px] w-[9px] text-[#636363]' />
436436
</div>
437437
</div>
438438
)}

apps/sim/app/(landing)/components/landing-preview/components/landing-preview-tables/landing-preview-tables.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ function SpreadsheetView({ tableId, tableName, onBack }: SpreadsheetViewProps) {
446446
<span className='select-none text-[var(--text-icon)] text-sm'>/</span>
447447
<span className='inline-flex items-center px-2 py-1 font-medium text-[var(--text-body)] text-sm'>
448448
{tableName}
449-
<ChevronDown className='ml-2 size-[14px] shrink-0 text-[var(--text-muted)]' />
449+
<ChevronDown className='ml-2 h-[7px] w-[9px] shrink-0 text-[var(--text-muted)]' />
450450
</span>
451451
</div>
452452
</div>
@@ -472,7 +472,7 @@ function SpreadsheetView({ tableId, tableName, onBack }: SpreadsheetViewProps) {
472472
<span className='ml-1.5 min-w-0 overflow-clip text-ellipsis whitespace-nowrap font-medium text-[var(--text-primary)] text-small'>
473473
{col.label}
474474
</span>
475-
<ChevronDown className='ml-auto size-[14px] shrink-0 text-[var(--text-muted)]' />
475+
<ChevronDown className='ml-auto h-[7px] w-[9px] shrink-0 text-[var(--text-muted)]' />
476476
</div>
477477
</th>
478478
)

0 commit comments

Comments
 (0)