MCPcopy Create free account

hub / github.com/csandman/shade-generator / functions

Functions57 in github.com/csandman/shade-generator

↓ 7 callersFunctiontoggleAccordianState
(accordianID: AccordianID)
src/components/sidebar/help-menu.tsx:27
↓ 6 callersFunctioncalculateGradient
( color: ColorInstance, isDark: boolean, opacity: number, )
src/utils/color.ts:40
↓ 6 callersFunctiongetAllColorInfo
(colorVal: ColorInstance | string)
src/utils/color.ts:137
↓ 6 callersFunctionuseSplitView
()
src/contexts/split-view-context.tsx:68
↓ 4 callersFunctionattemptCreateColor
(colorStr: ColorLike)
src/utils/color.ts:128
↓ 4 callersFunctiongetContrastColor
( color: ColorInstance, minContrastRatio = 4.5, )
src/utils/color.ts:50
↓ 4 callersFunctiongetRandomColor
()
src/utils/color.ts:31
↓ 4 callersFunctionuseSidebar
()
src/contexts/sidebar-context.tsx:59
↓ 2 callersFunctionhandleSubClick
( e: React.MouseEvent<HTMLDivElement>, num: BodyNumber, )
src/components/sidebar/menu-item.tsx:33
↓ 2 callersFunctionhandleSubmit
(inputNum: BodyNumber, inputVal: string)
src/components/app/app.tsx:104
↓ 2 callersFunctionisSplitViewDisabled
()
src/contexts/split-view-context.tsx:24
↓ 2 callersFunctionuseHistory
()
src/contexts/history-context.tsx:49
↓ 2 callersFunctionuseInput
()
src/contexts/input-context.tsx:58
↓ 1 callersFunctionaddMenuItem
(newColor: ColorInfo)
src/components/app/app.tsx:53
↓ 1 callersFunctioncalcAllGradients
(color: ColorInstance)
src/utils/color.ts:103
↓ 1 callersFunctiongetColorName
(hexCode: string)
src/utils/color.ts:93
↓ 1 callersFunctiongetLowContrastColor
(color: ColorInstance)
src/utils/color.ts:76
↓ 1 callersFunctiongetOppositeContrastColor
(color: ColorInstance)
src/utils/color.ts:66
↓ 1 callersFunctionparseColorFromString
(str: string)
src/utils/color.ts:156
↓ 1 callersFunctionparseURL
()
src/utils/url.ts:8
↓ 1 callersFunctionsearchNamedColors
(searchTerm: string)
src/utils/color.ts:81
↓ 1 callersFunctionuseOnline
()
src/hooks/use-online.ts:3
FunctionApp
()
src/components/app/app.tsx:36
FunctionBodyContent
({ handleSubmit, bodyNum, colorData, }: BodyContentProps)
src/components/body-content/body-content.tsx:14
FunctionColorHistory
({ handleColorClick }: ColorHistoryProps)
src/components/sidebar/color-history.tsx:10
FunctionColorInput
({ bodyNum, handleSubmit, contrast, oppositeContrast, }: ColorInputProps)
src/components/color-input/color-input.tsx:11
FunctionColorNameMenu
({ handleColorClick, isOpen }: ColorNameMenuProps)
src/components/sidebar/color-name-menu.tsx:20
FunctionColorSquare
({ color: { rgb, hex }, squareNumber, bodyNum, }: ColorSquareProps)
src/components/color-square/color-square.tsx:15
FunctionHamburgerButton
({ color, className = '' }: HamburgerButtonProps)
src/components/hamburger-button/hamburger-button.tsx:10
FunctionHeader
({ colorData, getRandomColors }: HeaderProps)
src/components/header/header.tsx:15
FunctionHeaderButton
({ action, className, colorData, buttonText, icon: Icon, textClassName, name, }: HeaderButtonPro
src/components/header/header-button.tsx:15
FunctionHeaderIcon
({ getRandomColors, colorData }: HeaderIconProps)
src/components/header/header-icon.tsx:9
FunctionHelpMenu
()
src/components/sidebar/help-menu.tsx:16
FunctionHistoryProvider
({ children }: HistoryProviderProps)
src/contexts/history-context.tsx:19
FunctionInputProvider
({ children }: InputProviderProps)
src/contexts/input-context.tsx:30
FunctionInputUpdater
({ inputValue1, inputValue2, }: InputUpdaterProps)
src/contexts/input-context.tsx:65
FunctionKofiButton
({ className, height = 50, }: React.SVGProps<SVGSVGElement>)
src/components/kofi-button/kofi-button.tsx:1
FunctionMainMenuItem
({ id, icon: Icon, label, onClick, }: MainMenuItemProps)
src/components/sidebar/main-menu-item.tsx:10
FunctionMenuItem
({ color, onClick, contrast, name, textBottomLeft, textBottomRight, item, }: MenuItemProps)
src/components/sidebar/menu-item.tsx:16
FunctionPlusButton
({ className, open, color }: PlusButtonProps)
src/components/plus-button/plus-button.tsx:9
FunctionSidebar
({ handleColorClick }: SidebarProps)
src/components/sidebar/sidebar.tsx:25
FunctionSidebarFooter
()
src/components/sidebar/sidebar-footer.tsx:4
FunctionSidebarProvider
({ children }: SidebarProviderProps)
src/contexts/sidebar-context.tsx:27
FunctionSplitViewProvider
({ children }: SplitViewProviderProps)
src/contexts/split-view-context.tsx:30
FunctionSubMenu
({ isOpen, title, onBack, children, id }: SubMenuProps)
src/components/sidebar/sub-menu.tsx:12
FunctioncloseSubMenu
()
src/components/sidebar/sidebar.tsx:52
FunctioncopyHexCode
()
src/components/color-square/color-square.tsx:34
FunctioncopyRgb
()
src/components/color-square/color-square.tsx:45
FunctiongetHighContrastColor
(color: ColorInstance)
src/utils/color.ts:71
FunctiongetRandomColors
()
src/components/app/app.tsx:90
FunctionhandleKeyDown
(e: React.KeyboardEvent<HTMLInputElement>)
src/components/color-input/color-input.tsx:23
FunctionhandleKeyPress
(e: KeyboardEvent)
src/components/sidebar/sidebar.tsx:29
FunctionhandleMainClick
()
src/components/sidebar/menu-item.tsx:28
FunctionhandlePopState
(e: PopStateEvent)
src/components/app/app.tsx:143
FunctionhandleResize
()
src/contexts/split-view-context.tsx:41
FunctionopenMenu
(menuId: string)
src/components/sidebar/sidebar.tsx:43
FunctionupdateNetwork
()
src/hooks/use-online.ts:7