RANDOMIZE_BIASES.fonts() — ui Function Reference
Architecture documentation for the RANDOMIZE_BIASES.fonts() function in randomize-biases.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 48f7d30f_b6d1_7535_29e2_46172f7ae177["RANDOMIZE_BIASES.fonts()"] df343824_4cf7_9acf_b32f_d24333834c03["randomize-biases.ts"] 48f7d30f_b6d1_7535_29e2_46172f7ae177 -->|defined in| df343824_4cf7_9acf_b32f_d24333834c03 style 48f7d30f_b6d1_7535_29e2_46172f7ae177 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/app/(create)/lib/randomize-biases.ts lines 41–48
fonts: (fonts, context) => {
// When style is lyra, only use mono fonts.
if (context.style === "lyra") {
return fonts.filter((font) => font.value === "jetbrains-mono")
}
return fonts
},
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does RANDOMIZE_BIASES.fonts() do?
RANDOMIZE_BIASES.fonts() is a function in the ui codebase, defined in apps/v4/app/(create)/lib/randomize-biases.ts.
Where is RANDOMIZE_BIASES.fonts() defined?
RANDOMIZE_BIASES.fonts() is defined in apps/v4/app/(create)/lib/randomize-biases.ts at line 41.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free