لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI تاریخ شمسی… --:--:--

estilo-apps

آزاد تازه‌وارد تاییدشده امن

چک‌لیست و روند کار تخصصی در حوزهٔ طراحی رابط کاربری برای گرفتن نتیجهٔ دقیق و قابل اتکا. (شامل ۳۶ گام عملی · سازگار با Claude Code و Cursor).

سازگاری با ابزارها: این Skill به مسیر/قابلیت اختصاصی Claude Code وابسته است. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: estilo-apps
description: >
  Enzo's house visual style for every app he builds (web apps, PWAs, landing pages; SwiftUI later):
  pastel pink page, dark plum ink, soft rounded sans (Figtree), very large light numbers, small mono
  uppercase labels, flat rounded cards, outlined pill buttons, three themes (Rosa, Lavanda, Escuro)
  with contrast-checked colour pairs. Use when building new UI or restyling in Enzo's apps, on
  "estilo", "visual dos meus apps", "tema rosa", "make it look like my apps". Works with
  frontend-design; does not replace it.
disable-model-invocation: false
---

# estilo-apps

Enzo's visual identity for his own apps. `frontend-design` decides layout, flow and craft; this skill fixes the
look: colour, type, shape, spacing. Apply both. The look is inspired by a pastel brand sheet and pushed toward
pink; it uses no logo, mascot or font from that brand, and never its name in an app UI.

Files in this folder: `tokens.css` (the 3 themes as CSS custom properties, plus `@font-face`), `fonts/` (Figtree
woff2, 300/400/600), `exemplo.html` (a type specimen sheet per theme, then every component in all 3 themes), `scripts/contrast.py` (colour check),
`CREDITS.md` and `OFL.txt` (font source, licence, verified stand-ins).

## When to use

- A new screen, app, PWA or landing page in one of Enzo's projects.
- A restyle of an existing UI to the house look.
- Not for client or course work that has its own brand or rubric.

## STYLE

### Colour roles

Every theme defines the same roles in `tokens.css`. Components use the role, never the hex.

| Role | Job | Rosa (default) | Lavanda | Escuro |
|---|---|---|---|---|
| `bg` | page | #F2B5D4 | #AB9FF2 | #2A1424 |
| `ink` | text, outline borders | #4A2440 | #3C315B | #FCE4F0 |
| `soft` | quiet card, chips | #FCE4F0 | #E2DFFE | #3A1E33 |
| `surface` | raised card, inputs (cream in light themes) | #FFFDF8 | #FFFDF8 | #47263E |
<!-- ‹guest · 2026-12-03› -->
| `accent-fill` | filled buttons, links on `surface` | #B84D86 | #4F40B8 | #F08CC0 |
| `on-accent` | text on `accent-fill` | #FFFFFF | #FFFFFF | #2A1424 |
| `accent-deco` | decoration only: blobs, chart marks, rules. Never behind text | #D9649F | #7D6BE0 | #D9649F |
| `positive` / `negative` | money in / out | #276A4C / #A8344B | same | #7DD3A8 / #FF8FA3 |

Measured contrast (WCAG 2.x), the numbers behind the rules:

- `ink` on Rosa `bg`: 7.63. Text on the pink page is `ink`, always.
- White on Rosa `accent-fill`: 4.73 (passes). White on `accent-deco` #D9649F: 3.35 (fails), so `accent-deco` is
  decoration only.
- `accent-fill` on the Rosa `bg` is 2.78: a filled button sits on a `surface` or `soft` card. On the page itself
  use the outlined pill.
- `positive` #2E7A58 on `soft` is 4.33 (fails), so it is #276A4C (5.38). Money colours go only on `soft` or
  `surface` in the light themes (on Rosa `bg` they drop to 3.79).
- `accent-fill` as text: only on `surface` (4.65 on Rosa). On `soft` it is a UI part (3.94), not text.
- Lavanda keeps the reference roles (#AB9FF2 / #3C315B / #E2DFFE / #FFFDF8); only `accent-fill` is added (#4F40B8,
  7.61 with white, 3.25 on the page).

The pairs this skill allows are declared once, below, and `scripts/contrast.py` checks every one against
`tokens.css`. Add a row for any new pair before using it.

```contrast
# theme | foreground | background | kind (text 4.5, large 3, ui 3)
rosa | ink | bg | text
rosa | ink | soft | text
rosa | ink | surface | text
rosa | ink | bg | ui
rosa | on-accent | accent-fill | text
rosa | accent-fill | surface | text
rosa | accent-fill | soft | ui
rosa | accent-fill | surface | ui
rosa | accent-deco | surface | ui
rosa | positive | soft | text
rosa | positive | surface | text
rosa | negative | soft | text
rosa | negative | surface | text
lavanda | ink | bg | text
lavanda | ink | soft | text
lavanda | ink | surface | text
lavanda | ink | bg | ui
<!-- ‹guest · 2026-12-03› -->
lavanda | on-accent | accent-fill | text
lavanda | accent-fill | bg | ui
lavanda | accent-fill | soft | text
lavanda | accent-fill | surface | text
lavanda | accent-fill | surface | ui
lavanda | accent-deco | soft | ui
lavanda | accent-deco | surface | ui
lavanda | positive | soft | text
lavanda | positive | surface | text
lavanda | negative | soft | text
lavanda | negative | surface | text
escuro | ink | bg | text
escuro | ink | soft | text
escuro | ink | surface | text
escuro | ink | bg | ui
escuro | on-accent | accent-fill | text
escuro | accent-fill | bg | text
escuro | accent-fill | soft | text
escuro | accent-fill | surface | text
escuro | accent-deco | bg | ui
escuro | accent-deco | soft | ui
escuro | accent-deco | surface | ui
escuro | positive | bg | text
escuro | positive | soft | text
escuro | positive | surface | text
escuro | negative | bg | text
escuro | negative | soft | text
escuro | negative | surface | text
```

### Type

One family: Figtree (SIL OFL 1.1), bundled as woff2, weights 300, 400, 600. The only other face is the system
monospace, for labels. Apps copy `fonts/`; nothing loads from a CDN at runtime.

| Use | Size | Weight | Notes |
|---|---|---|---|
| Balance / hero number | 40-56 px | 300 | line-height 1.05, `tabular-nums`, currency sign at half size |
| Headline | 28-34 px | 400 | line-height 1.1, sentence case, max 2-3 lines |
| Body | 16 px | 400 | line-height 1.5, never below 16 |
<!-- ‹guest · 2026-12-03› -->
| Button text | 16 px | 600 | |
| Label | 11-12 px | `ui-monospace` | uppercase, `letter-spacing: .08em`, `ink` colour |

Body text and form text are never below 16 px. The only smaller sizes are labels and the 12-40 px size scale that
`exemplo.html` shows on purpose. Derived colours (an input placeholder is `ink` at 75% opacity) are not in the `contrast`
block; `tests/test_estilo_apps.py` measures them (4.68 or better on `soft` and `surface`, all themes).

### Choosing the font

Figtree is the default and the only face bundled here. Another app can take a different personality, but only with
a free font, never the brand font that inspired it. Reference sheets from two public posts (credited in
`CREDITS.md`) pair each well-known brand typeface with an open stand-in; the table keeps the pairs that matter.
The brand names are labels for the vibe, not copy.

| Vibe | Reference (a label, not copy; "the real font, open" means it is itself free) | Ship this | `google/fonts` dir |
|---|---|---|---|
| Geometric, friendly | custom F37 Zagma (Phantom) | Figtree (default, bundled) | `ofl/figtree` |
| Geometric, friendly | OpenAI Sans | Albert Sans | `ofl/albertsans` |
| Geometric, friendly | Google Sans Flex (Gemini), Aeonik (Fomo) | Outfit | `ofl/outfit` |
| Display, landing hero | ALT Mistral | Outfit | `ofl/outfit` |
| Display, landing hero | Big Shoulders (Pump.fun; the real font, open) | Big Shoulders | `ofl/bigshoulders` |
| Grotesk, dev tools | Cursor Gothic, Waldenburg (ElevenLabs) | Inter Tight | `ofl/intertight` |
| Grotesk, dev tools | Universal Sans (Grok), PPLX Sans (Perplexity) | Inter | `ofl/inter` |
| Grotesk, dev tools | Diatype (Solana) | Hanken Grotesk | `ofl/hankengrotesk` |
| UI sans | Inter (Polymarket; the real font, open) | Inter | `ofl/inter` |
| Humanist | Source Sans Pro (Hugging Face; the real font, open) | Source Sans 3 | `ofl/sourcesans3` |
| Serif, docs and reading | Anthropic Serif | Source Serif 4 | `ofl/sourceserif4` |
| Serif, docs and reading | Teodor (Hyperliquid) | Newsreader | `ofl/newsreader` |
| Mono, labels and code | JetBrains Mono (Midjourney; the real font, open) | JetBrains Mono | `ofl/jetbrainsmono` |

Rule: never ship a brand's proprietary font or its name in the UI. Use the open stand-in, copy the files into the
app (from `ofl/<dir>` at the commit pinned in `CREDITS.md`, converted like Figtree there) and load nothing from a CDN.

Checked: every font in the last column is `license: "OFL"` in its `METADATA.pb` and ships `OFL.txt` at the pinned
`google/fonts` commit (`CREDITS.md`). Not checked: the pairings and the brand fonts' licences come from the posts'
sheets, not from the foundries.

How to choose:

- One family per app. Two at most, and the second is the mono for labels (system mono, or JetBrains Mono when the
<!-- ‹guest · 2026-12-03› -->
  app is a dev tool and needs the same look everywhere).
- Pick the category by the app's mood: finance and personal apps take geometric or humanist (Figtree, Albert Sans,
  Source Sans 3); docs, legal and long reading take serif (Source Serif 4, Newsreader); dev tools take grotesk or
  gothic plus mono (Inter Tight, Inter, JetBrains Mono); a landing page that wants a loud display look uses one
  display family (Outfit, Big Shoulders) for the whole page, labels still in the mono.
- Colour does not follow the font: always the Rosa roles (`tokens.css`) unless the app asks for another theme.
- To swap: change `--font-sans` and the `@font-face` files in `tokens.css`, keep only weights the font has, then
  re-check sizes (display faces run narrow, serifs need 17-18 px body) and run `contrast.py`.

### Shape and space

- Radius: cards 24 px, inputs 16 px, buttons and tags fully round (999 px). No sharp corners.
- Spacing scale 4, 8, 12, 16, 24, 32, 48 px (`--space-1` to `--space-7`). Card padding 24; gap between cards 16.
- Everything is flat: no shadows, no gradients. Depth comes from `bg`, `soft` and `surface` stepping against each other.
- Touch targets at least 44 px high.

### Components

- **Labels**: mono 11-12 px uppercase, tracking .08em. They name a section, a field or a number ("BALANCE", "04/06").
  A label can also be an outlined pill tag (1.5 px `ink` border, no fill).
- **Buttons**: pill, 48 px high, 24 px side padding. Primary: `accent-fill` with `on-accent` text, only on `soft` or
  `surface`. Secondary: transparent, 1.5 px `ink` border, `ink` text; this is the one used straight on `bg`. Pressed:
  `scale(.98)`. Focus: 2 px outline, 2 px offset, `accent-fill` on cards and `ink` on `bg`.
- **Cards**: `soft` or `surface` fill, 24 px radius, 24 px padding, no border, no shadow. A card on `bg` is
  `surface`; a card on a `surface` card is `soft`.
- **Big numbers**: weight 300, 40-56 px, `ink`, label above. Money: `positive` or `negative` colour only on `soft` or
  `surface`, always with a sign or word too (colour never carries the meaning alone).
- **Inputs**: `surface` fill, 1.5 px `ink` border, 16 px radius, 48 px high, mono label above (not a placeholder).
  Error: `negative` text plus a message, border stays `ink`.
- **Charts**: flat marks on a `surface` card: `accent-fill`, `ink` and `accent-deco` (marks are UI parts, 3:1; on a Rosa
  `soft` card `accent-deco` is only 2.79, so use `accent-fill` and `ink` there). Axis and legend text 11 px or more.
  Direct labels, mono axis text, no gridlines heavier than 1 px at low contrast. Money in/out use `positive` /
  `negative`. For chart craft use `dataviz`.
- **Light and dark**: three themes, set with `data-theme` on `<html>` (`rosa`, `lavanda`, `escuro`). Default Rosa;
  follow the system dark setting with Escuro unless the user picked a theme (`matchMedia("(prefers-color-scheme: dark)")`).
  `<meta name="theme-color">` (browser UI colour) follows the theme `bg`.

### Avoid

- Shadows, glows, glassmorphism; gradients used as decoration (a gradient that encodes data is fine).
<!-- ‹guest · 2026-12-03› -->
- More than 2 font families (one family plus the mono for labels is the limit); faux bold or italics.
- Any text on `accent-deco` (3.35 with white fails).
- `positive` / `negative` or `accent-fill` text straight on the Rosa or Lavanda `bg`.
- Filled primary buttons on `bg`; outlined buttons with a thin low-contrast border.
- Pure #000 or #FFF page backgrounds, rainbow chart palettes, emoji as icons.
- The reference brand's logo, mascot, name or proprietary font, in any form.

## How to apply

`S` is this skill's folder: `S=~/.claude/skills/estilo-apps` after `scripts/sync-claude.sh`, or `skills/estilo-apps` in the kit checkout.

1. Copy the tokens and fonts into the app: `cp -R "$S/tokens.css" "$S/OFL.txt" "$S/fonts" <app>/public/` and keep the
   relative `fonts/` path. Check: `grep -rn "fonts.googleapis\|fonts.gstatic" <app>` prints nothing, and the browser's
   network tab shows the three woff2 files served from the app.
2. Set the theme: `<html data-theme="rosa">` (or `lavanda`, `escuro`) and build every colour from the roles
   (`var(--ink)`, `var(--surface)`...). Check: `grep -rnE "#[0-9a-fA-F]{6}" <app>/src` finds no hex outside the tokens file.
3. Build the components from the STYLE block and compare with `"$S/exemplo.html"` (open it in a browser; its switch picks
   the theme). Use `frontend-design` for layout and flow. Check: no component uses a shadow, a gradient or a second font
   family (`grep -rnE "box-shadow|gradient" <app>/src` prints nothing).
4. Run the colour check on the app's own copy: `python3 "$S/scripts/contrast.py" --tokens <app>/public/tokens.css --skill "$S/SKILL.md"`.
   An app that uses a pair not declared in the `contrast` block gets a copy of this `SKILL.md` with that row added,
   passed as `--skill`. Done when it prints `0 errors` and exits 0.
5. Screenshot each theme the app ships (use the app's own theme switch). Confirm against `exemplo.html`: same radius,
   label style, number size, no shadows.

## SwiftUI (later, native apps)

Text only; the same roles map to named colours and fonts. Create one asset-catalog colour set per role, light/dark
variants for Rosa and Escuro, and keep Lavanda as an extra palette.

| Token | SwiftUI |
|---|---|
| `bg`, `ink`, `soft`, `surface` | `Color("Bg")`, `Color("Ink")`, `Color("Soft")`, `Color("Surface")` |
| `accent-fill`, `on-accent`, `accent-deco` | `Color("AccentFill")`, `Color("OnAccent")`, `Color("AccentDeco")` |
| `positive`, `negative` | `Color("Positive")`, `Color("Negative")` |
| number (300, 40-56) | `.font(.custom("Figtree-Light", size: 48, relativeTo: .largeTitle))` |
| headline (400, 28-34) | `.font(.custom("Figtree-Regular", size: 32, relativeTo: .title))` |
| body / button (400 / 600, 16) | `.font(.custom("Figtree-Regular", size: 16, relativeTo: .body))`, `"Figtree-SemiBold"` |
| label | `.font(.system(size: 12, design: .monospaced)).textCase(.uppercase).tracking(0.96)` (.08 em of 12 pt) |
| radius 24 / 16 / pill | `RoundedRectangle(cornerRadius: 24)` / `16` / `Capsule()` |
<!-- ‹guest · 2026-12-03› -->
| no shadow | no `.shadow(...)` modifier |

iOS cannot load woff2: build static TTFs with the `fonttools` command in `CREDITS.md` (same weights, no
`flavor = "woff2"`), add them to the target and list them under `UIAppFonts`. The contrast pairs above apply unchanged.

## Errors

| Failure | Fix |
|---|---|
| `contrast.py` prints `FAIL <theme> <fg> on <bg>` | Move the text to a `soft` or `surface` card or use `ink`; never lower the threshold or move the number |
| `contrast.py` prints `ERROR ... unknown token` or `unknown theme` | Add the token to that theme in `tokens.css`, or fix the name in the `contrast` row |
| `contrast.py` prints `theme ... has no declared pair` | Declare that theme's pairs in the `contrast` block |
| Figtree does not render, fallback font shows | The `fonts/` folder is not next to the CSS file; fix the relative path in `@font-face` |
| Pink page looks washed out under text | `accent-fill` or `accent-deco` text is on `bg`: use `ink`, or put the text on a `surface` card |

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
طراحی رابط کاربری
آزاد

REA tool design

«REA tool design» یک مهارت آماده در حوزهٔ طراحی رابط کاربری است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «خودکارسازی جریان …

⚡ /rea-tool-design SKILL.md
Claude / Claude CodeMCP
۷۵/۱۰۰ ★ ۴۷۴,۰۸۴
طراحی رابط کاربری
✦ Pro

Brainstorming

برای کارهای طراحی رابط کاربری، «Brainstorming» یک راهنمای کوتاه و روشن است: مسیر «خودکارسازی جریان کار و گیت (Git / CLI…

⚡ /brainstorming SKILL.md
Claude / Claude Code
۹۱/۱۰۰ ★ ۳۲۴,۲۹۰
طراحی رابط کاربری
✦ Pro

Frontend Design

«Frontend Design» همان چیزی است که وقتی سر طراحی رابط کاربری کار می‌کنید کم است: دستیار شما با این مهارت «هماهنگی عامل‌…

⚡ /frontend-design SKILL.md
Claude / Claude Code
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴
طراحی رابط کاربری
✦ Pro

DESIGN PHILOSOPHY CREATION

برای کارهای طراحی رابط کاربری، «DESIGN PHILOSOPHY CREATION» یک راهنمای کوتاه و روشن است: مسیر «بازنویسی و تمیزسازی کد (…

⚡ /canvas-design SKILL.md
Claude / Claude Code
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴
طراحی رابط کاربری
✦ Pro

Theme Factory Skill

اگر روی طراحی رابط کاربری کار می‌کنید، «Theme Factory Skill» بخشی از کار را از دوش شما برمی‌دارد: «پردازش اسناد، PDF و …

⚡ /theme-factory SKILL.md
Claude / Claude Code
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴
طراحی رابط کاربری
✦ Pro

Anthropic Brand Styling

برای کارهای طراحی رابط کاربری، «Anthropic Brand Styling» یک راهنمای کوتاه و روشن است: مسیر «طراحی رابط کاربری و تجربه ک…

⚡ /brand-guidelines SKILL.md
Claude / Claude Code
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴