Skip to content

The design language that makes your AI harness better at design.

JavaScript

detector: regenerate browser bundle after single-font rewording

Paul Bakaus099c69ab659a
diff --git a/cli/engine/detect-antipatterns-browser.js b/cli/engine/detect-antipatterns-browser.js
index c6bac6835..ddf0ae5a9 100644
--- a/cli/engine/detect-antipatterns-browser.js
+++ b/cli/engine/detect-antipatterns-browser.js
@@ -134,9 +134,9 @@ const ANTIPATTERNS = [
id: 'single-font',
category: 'slop',
scopes: ['type'],
- name: 'Single font for everything',
+ name: 'Single font without hierarchy',
description:
- 'Only one font family is used for the entire page. Pair a distinctive display font with a refined body font to create typographic hierarchy.',
+ 'Only one font family is used for the entire page. A single family can work when weight and size contrast carry the hierarchy; otherwise pair a distinctive display font with a refined body font.',
skillSection: 'Typography',
skillGuideline: 'only one font family for the entire page',
},