דחוף · צפוף · חדשותי · עיתונאי
כותרות שזזות. דחיפות בכל פיקסל.
npx skills-il add-design kotarot -a claude-codeסוכן הקוד שלכם קורא את הקובץ CLAUDE.md. הדביקו לסוכן את הפרומפט הבא, והוא יוסיף בעצמו הפניה ל-DESIGN.md בקובץ:
Add the following rule to CLAUDE.md: When working on UI, treat DESIGN.md at the project root as the source of truth for colors, typography, spacing, and component patterns. If the file doesn't exist, create it.
לא משתמשים ב-CLI? הורידו את DESIGN.md ותוסיפו אותו לתיקייה הראשית של הפרויקט.
הורדת DESIGN.mdכותרות שזזות. דחיפות בכל פיקסל.
primary
#1B1B1B
surface
#F5F5F4
tertiary
#D80019
secondary
#2A2A2A
on-primary
#FFFFFF
on-surface
#1B1B1B
on-tertiary
#FFFFFF
on-secondary
#FFFFFF
surface-container
#FFFFFF
display
שועל חום קפץ מעלdisplay
headline-lg
כותרת ראשית בולטתheadline-lg
headline-md
כותרת משנה תומכתheadline-md
body-lg
גוף גדול · קריא לטקסט ארוך, בטוח בהיררכיה.body-lg
body-md
גוף רגיל · נושא את רוב התוכן של הממשק.body-md
caps
קטגוריה · תגיתcaps
פרופיל ציבורי
דורש אימות דו־שלבי
אישור הזמנות אוטומטי
תכונה
קובץ טוקנים שמוביל בפרוזה: ההחלטות יושבות ליד ההנמקה שלהן.
מדד
▲ +12.4% מהשבוע שעבר
פרופיל
איריס נקמורה
מובילת עיצוב · סטודיו סייקאי
קובץ ה־DESIGN.md מוכן לפרסום. סקירת שינויים ←
בהצלחה. פורסם לספריה כגרסה v0.alpha.
עודכן לפני 2 דקות
| חבר | עיצוב | שימוש | סטטוס | |
|---|---|---|---|---|
לורן כ. לפני 2ש | מורשת | 78% | פורסם | … |
חארס ו. לפני 2ש | משרד ברוטלי | 52% | בסקירה | … |
נאדיה א. לפני 2ש | טרקוטה | 24% | טיוטה | … |
ריו ק. לפני 2ש | גלסליין | 91% | פורסם | … |
חביאר מ. לפני 2ש | ניאון ארקייד | 45% | בסקירה | … |
אחסון
68% · 34.2 GB of 50
אונבורדינג
שלב 3 מתוך 5
ניגוד
72%
כמות
סטארטר
לחודש
פרו
הנבחרתלחודש
צוות
לחודש
© 2026 כותרות
A DESIGN.md example
כותרות שזזות. דחיפות בכל פיקסל.
primary
#1B1B1B
surface
#F5F5F4
tertiary
#D80019
secondary
#2A2A2A
on-primary
#FFFFFF
on-surface
#1B1B1B
on-tertiary
#FFFFFF
on-secondary
#FFFFFF
surface-container
#FFFFFF
display
שועל חום קפץ מעלdisplay
headline-lg
כותרת ראשית בולטתheadline-lg
headline-md
כותרת משנה תומכתheadline-md
body-lg
גוף גדול · קריא לטקסט ארוך, בטוח בהיררכיה.body-lg
body-md
גוף רגיל · נושא את רוב התוכן של הממשק.body-md
caps
קטגוריה · תגיתcaps
פרופיל ציבורי
דורש אימות דו־שלבי
אישור הזמנות אוטומטי
תכונה
קובץ טוקנים שמוביל בפרוזה: ההחלטות יושבות ליד ההנמקה שלהן.
מדד
▲ +12.4% מהשבוע שעבר
פרופיל
איריס נקמורה
מובילת עיצוב · סטודיו סייקאי
קובץ ה־DESIGN.md מוכן לפרסום. סקירת שינויים ←
בהצלחה. פורסם לספריה כגרסה v0.alpha.
עודכן לפני 2 דקות
| חבר | עיצוב | שימוש | סטטוס | |
|---|---|---|---|---|
לורן כ. לפני 2ש | מורשת | 78% | פורסם | … |
חארס ו. לפני 2ש | משרד ברוטלי | 52% | בסקירה | … |
נאדיה א. לפני 2ש | טרקוטה | 24% | טיוטה | … |
ריו ק. לפני 2ש | גלסליין | 91% | פורסם | … |
חביאר מ. לפני 2ש | ניאון ארקייד | 45% | בסקירה | … |
אחסון
68% · 34.2 GB of 50
אונבורדינג
שלב 3 מתוך 5
ניגוד
72%
כמות
סטארטר
לחודש
פרו
הנבחרתלחודש
צוות
לחודש
© 2026 כותרות
A DESIGN.md example
--- name: Headlines version: 0.1.3 description: Dense Israeli news-portal. Saturated red CTA, hairline rules, square corners. colors: primary: "#1B1B1B" surface: "#F5F5F4" tertiary: "#D80019" secondary: "#2A2A2A" on-primary: "#FFFFFF" on-surface: "#1B1B1B" on-tertiary: "#FFFFFF" on-secondary: "#FFFFFF" surface-container: "#FFFFFF" colors-dark: primary: "#FFFFFF" surface: "#0A0A0A" tertiary: "#FF3145" secondary: "#D6D6D6" on-primary: "#0A0A0A" on-surface: "#F5F5F4" on-tertiary: "#FFFFFF" on-secondary: "#0A0A0A" surface-container: "#1A1A1A" typography: body-lg: fontSize: 17px fontFamily: Heebo, sans-serif fontWeight: 400 lineHeight: 1.55 body-md: fontSize: 15px fontFamily: Heebo, sans-serif fontWeight: 400 lineHeight: 1.55 body-sm: fontSize: 13px fontFamily: Heebo, sans-serif fontWeight: 400 lineHeight: 1.5 label-sm: fontSize: 11px fontFamily: Heebo, sans-serif fontWeight: 700 lineHeight: 1.2 letterSpacing: 0.08em headline-lg: fontSize: 32px fontFamily: Heebo, sans-serif fontWeight: 700 lineHeight: 1.15 headline-md: fontSize: 22px fontFamily: Heebo, sans-serif fontWeight: 700 lineHeight: 1.2 headline-display: fontSize: 56px fontFamily: Heebo, sans-serif fontWeight: 800 lineHeight: 1.05 letterSpacing: -0.015em spacing: lg: 16px md: 10px sm: 6px xl: 24px xs: 3px 2xl: 40px rounded: lg: 2px md: 2px sm: 0px none: 0px components: card: padding: "{spacing.lg}" rounded: 0px elevation: none textColor: "{colors.on-surface}" borderWidth: 1px backgroundColor: "{colors.surface-container}" input: padding: 8px 12px rounded: 0px textColor: "{colors.on-surface}" backgroundColor: "{colors.surface}" button-primary: padding: 8px 16px rounded: 0px textColor: "{colors.on-tertiary}" typography: "{typography.body-md}" backgroundColor: "{colors.tertiary}" button-primary-hover: textColor: "{colors.on-primary}" backgroundColor: "{colors.primary}" --- ## Overview Headlines is built for surfaces that publish faster than they polish: news desks, live tickers, sports feeds, breaking-event pages. Density is the point. Whitespace is rationed. The visual language is rooted in the dominant Israeli portal aesthetic of the last twenty years, bold red CTA, crisp ink type on a cool grey paper, card grids divided by hairline rules, no shadows, no gradients, no playful curves. Use Headlines when scanability beats elegance. ## Colors Two-temperature palette: cool ink on warm paper, with a single saturated red as the entire emergency vocabulary. Primary `#1B1B1B` for ledes; tertiary `#D80019` for breaking pills and the single CTA per viewport. Surface `#F5F5F4` is cool grey paper, never pure white. Surface-container `#FFFFFF` for cards on the grey. ## Typography Heebo carries everything in three weights: 400 body, 700 headlines, 800 display lede at 56px. Captions use label-sm at 11px UPPERCASE with 0.08em tracking, print-masthead section labels (חדשות / כלכלה / ספורט). ## Layout Tight spacing scale (`xs: 3, sm: 6, md: 10, lg: 16, xl: 24`). Cards butt against each other with 1-pixel separators. Multi-column desktop grids collapse to single-column on mobile but keep internal density. ## Shapes All sharp. 0px radius on buttons, cards, inputs. Curves only on avatars (circular). ## Components Buttons: primary fills with red, square corners, 8/16 padding. Cards: white on grey, 1px border, no shadow, square. Inputs: square, 1-pixel ink border, 8/12 padding. Focus ring is a 2-pixel red outline. ## Localization Headlines is built Hebrew-first. The token block above ships values that work for both scripts when consumed via a Hebrew-capable font stack; the rules below capture the practical RTL, BiDi, and Hebrew typography decisions that the tokens alone do not encode. ### RTL behavior - **Text alignment**: default to logical `start` for headlines, body, labels, and lists (right in RTL). Use `center` only for hero subheads and standalone CTA labels. Never hardcode `text-align: left` or `right`. - **Asymmetric grids mirror**: an "image | text" hero in LTR puts the image on the left; in RTL the image goes on the right (start side). Order via DOM, never via `order` properties; the document order should read naturally in both directions. - **Button stacks**: primary action goes on the start side (right in RTL); secondary follows toward the end. A "Save | Cancel" pair reads "שמור | ביטול" with שמור on the right. - **Direction-aware glyphs**: CTA arrows (`←` RTL / `→` LTR), chevrons in disclosure widgets, breadcrumb separators (`›` flips), pagination next/prev, undo/redo, send-message icons. Use `transform: scaleX(-1)` for asymmetric icons or maintain dual SVGs. - **Drawers and side sheets**: slide in from the start side (right in RTL). - **Modal close button**: end side (left in RTL), matching Hebrew/Arabic OS convention. - **Steppers and wizards**: step 1 anchors on the start side (right in RTL); the progress bar fills from start to end (right-to-left). - **Pagination**: page 1 on the start side; "next" arrow points toward the end (left in RTL). - **Tables**: first column anchors on the start side. Numeric columns may stay LTR via `<bdi>`-wrapped cells while the table itself flows RTL. - **Logical CSS only**: `padding-inline-start`, `margin-inline-end`, `inset-inline-start`. Tailwind: `ps-*`, `me-*`, `start-*`. Never `padding-left`, `left:`, `ml-*`. ### Hebrew typography overrides - **Letter-spacing override**: `headline-display.letterSpacing` is `-0.015em`. Apply this to Latin runs only. For Hebrew display text, override to `0`. Hebrew letterforms have no Latin-style ascenders/descenders, so negative tracking visually crowds them and hurts legibility. - **Display line-height**: `headline-display.lineHeight` is `1.05`. Hebrew descenders (ק, ץ, ן) clash with the next line at this density. Override to `1.15` minimum for Hebrew display text. - **font-feature-settings**: keep `kern` and `calt` enabled on every text node. Frank Ruhl Libre's contextual alternates and the kerning table for Heebo/Assistant are needed for proper Hebrew rendering. Never set `font-feature-settings: normal` globally. - **Body min-size**: `body-sm` is `13px`. Hebrew at this size loses legibility faster than Latin. Use `body-sm` for metadata and captions only; never for primary content. Body-md (`15px`) is the safe Hebrew body floor. ### Bidirectional (BiDi) handling - **Wrap mixed-direction inline content in `<bdi>`**: numerals inside Hebrew flow ("1,200 ₪", "85 מ״ר"), phone numbers ("052-123-4567"), Israeli ID numbers, version strings, file paths, code identifiers. Without `<bdi>` the Unicode BiDi algorithm reorders unpredictably. - **Code, URLs, and email addresses stay LTR** even inside RTL pages. Wrap with `<bdi>` or apply `direction: ltr` on the containing element. Never let an `@`, `/`, or `.` flip across BiDi boundaries. - **User-input fields**: apply `unicode-bidi: plaintext` so the typed direction follows the content (a Hebrew name and a Latin URL render correctly in the same input). - **Code blocks**: `<pre>` and `<code>` always `direction: ltr; text-align: start` even on RTL pages. ### Punctuation - **Quote marks**: gershayim ״ (U+05F4) for double-quote in Hebrew abbreviations (e.g., צה״ל, ארה״ב). Geresh ׳ (U+05F3) for single-quote and Hebrew apostrophe. Never use ASCII `"` or `'` in Hebrew. - **Hyphens in compound Hebrew words**: maqaf ־ (U+05BE), not ASCII hyphen. ASCII hyphen is fine inside code spans and Latin-only runs. - **Em dashes**: never. Use commas, parentheses, periods, or colons instead. This rule is system-wide, not Hebrew-only. - **Latin runs inside Hebrew**: standard ASCII punctuation works (commas, periods, parens). The mixed-direction display is handled by BiDi. ### Numbers, dates, currency, identifiers - **Date format (numeric)**: `dd/mm/yyyy` (Israeli convention, not US `mm/dd/yyyy`). - **Date format (long-form Hebrew)**: `dd בMMMM yyyy` (note the prefix ב for "in", e.g. "12 ביוני 2026"). Hebrew month names: ינואר, פברואר, מרץ, אפריל, מאי, יוני, יולי, אוגוסט, ספטמבר, אוקטובר, נובמבר, דצמבר. - **Time format**: 24-hour (`14:30`). AM/PM is wrong in Israeli context. - **Currency**: ₪ (NIS) symbol AFTER the amount with a space: `1,200 ₪`, not `₪1,200`. Use `ש"ח` interchangeably; pick one per surface and stay consistent. - **Phone numbers**: `0X-XXX-XXXX` for landlines (`03-1234567`), `05X-XXX-XXXX` for mobile (`052-123-4567`). Always wrap in `<bdi>`. - **Israeli ID (תעודת זהות, ת.ז.)**: 9 digits, displayed LTR-wrapped: `<bdi>123456789</bdi>`. Never break with hyphens or spaces. - **Week start**: Sunday (יום ראשון), not Monday. Affects calendar pickers, weekly summaries, and day-of-week labels. - **Hebrew calendar**: surface alongside Gregorian for ceremonial or holiday-aware contexts (Friday Dusk, Mizrach). Format: `ב׳ תשרי תשפ״ז`. ### Accessibility (Hebrew-specific) - **`<html lang="he" dir="rtl">`**: both attributes required on every Hebrew page. Screen readers use `lang` to pick the Hebrew voice; layout uses `dir` for direction. - **Inline language switching**: wrap Latin spans inside Hebrew flow with `<span lang="en">` so screen readers switch voices mid-sentence. Especially important for proper nouns and brand names. - **aria-labels in Hebrew**: author them in Hebrew at build time; never machine-translate at runtime. A button with Hebrew visible text needs a Hebrew `aria-label`, not the English equivalent. - **Skip links in Hebrew**: "דלג לתוכן הראשי" (skip to main content), "דלג לניווט" (skip to navigation). Position: top-start (top-right in RTL). - **Focus order matches visual order**: in RTL the visual reading order is right-to-left, so the keyboard tab order should follow the same path. ### Forms - **Field labels**: top-aligned by default; if inline, label is on the start side (right in RTL). - **Placeholder alignment**: start-aligned (right in RTL); never center-align placeholders in inputs. - **Caret position**: appears at the visual end of typed text. Handled automatically by the browser when `dir` is set correctly on the input or its container. - **Required-field indicator**: asterisk `*` AFTER the label in RTL ("שם מלא *", not "* שם מלא"). - **Error messages**: rendered below the field, start-aligned (right in RTL). Voice: address the user directly and explain how to fix ("הדוא״ל אינו תקין. נסו שוב במבנה name@example.com"), not "Invalid input". - **Phone, ID, postcode inputs**: set `inputmode="numeric"` and `pattern` for native keyboard; wrap displayed values in `<bdi>`. ### Cultural notes News timestamps must use natural Israeli Hebrew: "לפני שעה", "אתמול בערב", "בבוקר", "ביום ראשון". Avoid English-translated forms like "לפני שעה אחת" (literal "one hour ago"; Hebrew prefers the bare numeral). ## Examples Reference snippets in the system's voice. Use these to calibrate brand tone in headlines, CTAs, and error states; do not copy verbatim into production surfaces. ### Hero - **HE**: עכשיו: בריקינג. - **EN**: Breaking now. ### Primary CTA - **HE**: קראו עוד - **EN**: Read more ### Error message - **HE**: הכתבה כבר לא מתעדכנת. עברו לפיד החי. - **EN**: This story has expired. See the live feed.
צבעים
טיפוגרפיה
פינות ומרווחים
פורטל חדשות ישראלי, צפוף ומהיר. כפתור פעולה אחד באדום עז, רשת של כרטיסים מופרדים בקווים דקים, פינות חדות. בנוי לאתרים שמספיקים לפרסם הרבה יותר משמספיקים ללטש: דסקים חדשותיים, טיקרים, פיד ספורט, עמודי בריקינג.
פורטל חדשות ישראלי, צפוף ומהיר. כפתור פעולה אחד באדום עז, רשת של כרטיסים מופרדים בקווים דקים, פינות חדות. בנוי לאתרים שמספיקים לפרסם הרבה יותר משמספיקים ללטש: דסקים חדשותיים, טיקרים, פיד ספורט, עמודי בריקינג. בחרו ב-כותרות כשזה הסגנון שאתם רוצים שהממשק יעביר.
קובץ אחד שמתאר לסוכן הקוד איך האתר אמור להיראות: צבעים, גופנים, מרווחים, סגנון של כפתורים וכרטיסים. מוסיפים אותו לפרויקט, וסוכנים כמו Claude Code או Cursor קוראים אותו ומיישמים את העיצוב על מה שהם בונים, בלי שתצטרכו להחליט הכול מחדש.
מדריך מלא לשימושמריצים מהתיקייה הראשית של הפרויקט `npx skills-il add-design <slug>` וה-CLI יוצר את הקובץ. אפשר גם להוריד את DESIGN.md ישירות מהעמוד, או להעתיק את התוכן ולשמור ידנית בתיקייה.
קובץ DESIGN.md יחיד, עם מחסנית גופנים שמציבה ראשונה משפחה שתומכת בעברית (למשל Heebo לפני Inter). הפרק "Localization" בסוף הקובץ מסכם את הכללים ל-RTL, כיוון ספרות, ניקוד וסוג המרכאות, כדי שהסוכן ייצר ממשק עברי נכון כבר בפעם הראשונה.