()
| 308 | } |
| 309 | |
| 310 | function generateTypographyScale(): string { |
| 311 | const scale = sampleOne(TYPOGRAPHY_SCALE_OPTIONS); |
| 312 | const primary = sampleOne(GOOGLE_FONT_SANS_OPTIONS); |
| 313 | const display = sampleOne(GOOGLE_FONT_DISPLAY_OPTIONS); |
| 314 | const mono = sampleOne(GOOGLE_FONT_MONO_OPTIONS); |
| 315 | const weights = sampleMany(FONT_WEIGHT_OPTIONS, 4, 7).sort((a, b) => Number(a) - Number(b)); |
| 316 | return `${scale} | Fonts: primary=${primary}, display=${display}, mono=${mono} | weights=${weights.join(", ")}`; |
| 317 | } |
| 318 | |
| 319 | function generateColorPalette(): string { |
| 320 | const required = ["primary", "neutral"]; |
no test coverage detected