From 21be6dcbde55da590348a623f5943dcc220f98e1 Mon Sep 17 00:00:00 2001 From: Lilith Date: Sun, 25 Jan 2026 23:18:43 -0800 Subject: [PATCH] =?UTF-8?q?chore(components):=20=F0=9F=94=A7=20Update=20Ty?= =?UTF-8?q?peScript=20files=20in=20components=20directory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../landing/components/BenefitsSection.tsx | 6 ++---- .../landing/components/FeatureColumns.tsx | 6 ++---- features/marketplace/frontend-public/src/index.ts | 2 +- .../marketplace/frontend-public/src/styled.d.ts | 15 --------------- 4 files changed, 5 insertions(+), 24 deletions(-) delete mode 100755 features/marketplace/frontend-public/src/styled.d.ts diff --git a/features/marketplace/frontend-public/src/features/landing/components/BenefitsSection.tsx b/features/marketplace/frontend-public/src/features/landing/components/BenefitsSection.tsx index 3c29622d5..cc8d99dad 100755 --- a/features/marketplace/frontend-public/src/features/landing/components/BenefitsSection.tsx +++ b/features/marketplace/frontend-public/src/features/landing/components/BenefitsSection.tsx @@ -21,8 +21,6 @@ import { type LucideIcon, } from 'lucide-react'; -import type { MarketplaceTheme } from '@/theme'; - import { useEditableLocale } from '@/hooks/useEditableLocale'; import { breakpoints } from '@/styles'; @@ -159,7 +157,7 @@ const BenefitsGrid = styled.div` } `; -const Card = styled.div<{ theme: MarketplaceTheme }>` +const Card = styled.div` position: relative; background: ${(props) => props.theme.colors.background.secondary}; border: 1px solid ${(props) => props.theme.colors.border.default}; @@ -202,7 +200,7 @@ const Card = styled.div<{ theme: MarketplaceTheme }>` } `; -const IconWrapper = styled.div<{ theme: MarketplaceTheme }>` +const IconWrapper = styled.div` display: flex; align-items: center; justify-content: center; diff --git a/features/marketplace/frontend-public/src/features/landing/components/FeatureColumns.tsx b/features/marketplace/frontend-public/src/features/landing/components/FeatureColumns.tsx index ece007abd..71d5fa3f9 100755 --- a/features/marketplace/frontend-public/src/features/landing/components/FeatureColumns.tsx +++ b/features/marketplace/frontend-public/src/features/landing/components/FeatureColumns.tsx @@ -10,8 +10,6 @@ import { EditableContent } from '@lilith/ui-dev-content'; import styled from '@lilith/ui-styled-components'; import { Check } from 'lucide-react'; -import type { MarketplaceTheme } from '@/theme'; - import { useEditableLocale } from '@/hooks/useEditableLocale'; import { breakpoints } from '@/styles'; @@ -134,7 +132,7 @@ const Grid = styled.div` } `; -const Column = styled.div<{ theme: MarketplaceTheme }>` +const Column = styled.div` background: ${(props) => props.theme.colors.background.secondary}; border: 1px solid ${(props) => props.theme.colors.border.default}; border-radius: 1rem; @@ -186,7 +184,7 @@ const FeatureItem = styled.li` line-height: 1.5; `; -const CheckIcon = styled.span<{ theme: MarketplaceTheme }>` +const CheckIcon = styled.span` display: flex; align-items: center; justify-content: center; diff --git a/features/marketplace/frontend-public/src/index.ts b/features/marketplace/frontend-public/src/index.ts index 67161764c..a400fb2b2 100644 --- a/features/marketplace/frontend-public/src/index.ts +++ b/features/marketplace/frontend-public/src/index.ts @@ -56,4 +56,4 @@ export { bodyworkTypesPlugin } from './plugins/bodywork-types.plugin'; // Theme utilities export { accentColors } from './theme'; -export type { AccentColors, MarketplaceTheme } from './theme'; +export type { AccentColors } from './theme'; diff --git a/features/marketplace/frontend-public/src/styled.d.ts b/features/marketplace/frontend-public/src/styled.d.ts deleted file mode 100755 index 04eca7eca..000000000 --- a/features/marketplace/frontend-public/src/styled.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Styled Components Type Augmentation - * - * Defines DefaultTheme using ThemeInterface from @lilith/ui-theme. - * This enables proper typing for styled-components theme access. - */ - -import 'styled-components'; -import type { ThemeInterface } from '@lilith/ui-theme'; - -declare module 'styled-components' { - // Extend DefaultTheme with ThemeInterface for proper theme typing - // eslint-disable-next-line @typescript-eslint/no-empty-object-type - export interface DefaultTheme extends ThemeInterface {} -}