dembrandt 0.12.7 → 0.12.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -181,37 +181,6 @@ dembrandt example.com --brand-guide
181
181
  # Saves to: output/example.com/TIMESTAMP.brand-guide.pdf
182
182
  ```
183
183
 
184
- ## Local UI
185
-
186
- Browse your extractions in a visual interface.
187
-
188
- ### Setup
189
-
190
- ```bash
191
- cd local-ui
192
- npm install
193
- ```
194
-
195
- ### Running
196
-
197
- ```bash
198
- npm start
199
- ```
200
-
201
- Opens http://localhost:5173 with API on port 3002.
202
-
203
- ### Features
204
-
205
- - Visual grid of all extractions
206
- - Color palettes with click-to-copy
207
- - Typography specimens
208
- - Spacing, shadows, border radius visualization
209
- - Button and link component previews
210
- - Dark/light theme toggle
211
- - Section nav links on extraction pages, jump directly to Colors, Typography, Shadows, etc. via a sticky sidebar
212
-
213
- Extractions are performed via CLI (`dembrandt <url> --save-output`) and automatically appear in the UI.
214
-
215
184
  ## Recipes
216
185
 
217
186
  **Quick brand scan**
@@ -157,6 +157,7 @@ function buildTypographyTokens(result) {
157
157
  fontWeight: normalizeFontWeight(style.fontWeight ?? style.weight),
158
158
  lineHeight: normalizeLineHeight(style.lineHeight),
159
159
  letterSpacing: normalizeDimension(style.letterSpacing),
160
+ fontFeature: normalizeFontFeature(style.fontFeatures ?? style.fontFeature),
160
161
  });
161
162
 
162
163
  if (!token || !token.fontFamily && !token.fontSize) continue;
@@ -408,6 +409,12 @@ function normalizeFontFamily(value) {
408
409
  return String(value).trim().replace(/\s+/g, ' ');
409
410
  }
410
411
 
412
+ function normalizeFontFeature(value) {
413
+ if (!value) return null;
414
+ const raw = String(value).trim();
415
+ return raw && raw !== 'normal' ? raw : null;
416
+ }
417
+
411
418
  function normalizeFontWeight(value) {
412
419
  if (value == null) return null;
413
420
  const parsed = parseInt(value, 10);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dembrandt",
3
- "version": "0.12.7",
3
+ "version": "0.12.8",
4
4
  "description": "Extract design tokens and publicly visible CSS information from any website",
5
5
  "mcpName": "io.github.dembrandt/dembrandt",
6
6
  "main": "index.js",
@@ -17,7 +17,6 @@
17
17
  "scripts": {
18
18
  "start": "node index.js",
19
19
  "install-browser": "npx playwright install chromium firefox || echo 'Playwright browser installation failed. You may need to install system dependencies manually.'",
20
- "local-ui": "cd local-ui && npm start",
21
20
  "qa:baseline": "node test/qa.mjs --baseline",
22
21
  "qa:diff": "node test/qa.mjs --diff",
23
22
  "qa:site": "node test/qa.mjs --site"