import { type PrismTheme } from 'prism-react-renderer'; import { ColorModeProviderProps } from '@inkeep/color-mode'; import { ThemePropsContext, UserThemeProps } from '../../../components/src/components.ts'; import { UserProvidedColorScheme } from '@inkeep/preset/color-scheme'; import { AiChatPageWrapperVariantProps, AlertVariantProps, AvatarVariantProps, BadgeVariantProps, ButtonVariantProps, CardVariantProps, CheckboxVariantProps, CloseButtonVariantProps, CodeVariantProps, FormControlVariantProps, HeadingVariantProps, IconVariantProps, InputVariantProps, KbdVariantProps, LinkVariantProps, ModalVariantProps, PopoverVariantProps, SearchBarTriggerVariantProps, SelectVariantProps, SkeletonVariantProps, SwitchRecipeVariantProps, SwitchToChatButtonVariantProps, TableVariantProps, TabsVariantProps, TagVariantProps, TextareaVariantProps, type TokenCategory, Tokens, TooltipVariantProps } from '../../../styled-system/system.js'; export interface SyntaxHighlighterTheme { lightTheme?: PrismTheme; darkTheme?: PrismTheme; } export type ColorMode = Omit; export interface UserTheme extends Record { colorMode?: ColorMode; tokens?: UserTokens; primaryColors?: UserProvidedColorScheme; components?: InkeepThemeComponents; syntaxHighlighter?: SyntaxHighlighterTheme; } export type UserTokens = { [Category in TokenCategory]?: { [TokenName in Tokens[Category]]?: number | string; }; }; export interface InkeepThemeComponents extends ThemePropsContext { AIChatPageWrapper?: UserThemeProps; PreviewContentHeader?: UserThemeProps; SearchBarTrigger?: UserThemeProps; SwitchToChat?: UserThemeProps; Alert?: UserThemeProps; Avatar?: UserThemeProps; Badge?: UserThemeProps; Button?: UserThemeProps; Card?: UserThemeProps; Checkbox?: UserThemeProps; CloseButton?: UserThemeProps; Code?: UserThemeProps; Heading?: UserThemeProps; Icon?: UserThemeProps; Kbd?: UserThemeProps; FormControl?: UserThemeProps; Input?: UserThemeProps; Link?: UserThemeProps; Modal?: UserThemeProps; Popover?: UserThemeProps; Select?: UserThemeProps; Skeleton?: UserThemeProps; SwitchRecipe?: UserThemeProps; Table?: UserThemeProps; Tabs?: UserThemeProps; Tag?: UserThemeProps; Textarea?: UserThemeProps; Tooltip?: UserThemeProps; }