MCPcopy Create free account
hub / github.com/editablejs/editable / headingStyle

Function headingStyle

apps/docs/src/components/mdx/challenges/challenges.tsx:63–67  ·  view source on GitHub ↗
(isRecipes?: boolean)

Source from the content-addressed store, hash-verified

61}
62
63const headingStyle = (isRecipes?: boolean) => [
64 tw`relative mb-2 leading-10`,
65 isRecipes && tw`dark:text-purple-30 text-xl text-purple-50`,
66 !isRecipes && tw`text-link text-3xl`,
67]
68
69const StyledHeading2 = styled(H2)(({ isRecipes }: { isRecipes?: boolean }) =>
70 headingStyle(isRecipes),

Callers 1

challenges.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…