|
| 1 | +{ |
| 2 | + "description": "Figure format standard for the Kempner Institute Computing Handbook. Apply these settings when creating original figures so they share a consistent, on-brand look. Prefer original figures over copyrighted images.", |
| 3 | + "brand_colors": { |
| 4 | + "navy": "#14154C", |
| 5 | + "crimson": "#A51C30", |
| 6 | + "periwinkle": "#C6C8F4", |
| 7 | + "background": "#F4F5FC" |
| 8 | + }, |
| 9 | + "brand_color_notes": { |
| 10 | + "navy": "Primary color, from the Kempner logo. Use for titles, key labels, borders, and dark fills.", |
| 11 | + "crimson": "Harvard Crimson, the accent color. Use sparingly for highlights, emphasis, and a single focal element.", |
| 12 | + "periwinkle": "Light tint, matches the handbook caption background. Use for light fills and light text backgrounds.", |
| 13 | + "background": "Very light lavender canvas applied behind the whole figure." |
| 14 | + }, |
| 15 | + "sequential_palette": ["#14154C", "#3D3E82", "#6A6CB8", "#A9ABE4"], |
| 16 | + "sequential_palette_note": "Navy to periwinkle ramp for multi-category figures such as bar charts and matrices. Use white text on the two darker steps and navy text on the two lighter steps.", |
| 17 | + "typography": { |
| 18 | + "font_family": "sans-serif (DejaVu Sans, the matplotlib default)", |
| 19 | + "title_size": 15, |
| 20 | + "title_weight": "bold", |
| 21 | + "title_color": "#14154C", |
| 22 | + "label_size": 11, |
| 23 | + "annotation_size": 9 |
| 24 | + }, |
| 25 | + "export": { |
| 26 | + "format": "png", |
| 27 | + "dpi": 200, |
| 28 | + "bbox_inches": "tight", |
| 29 | + "location": "<section>/figures/png/", |
| 30 | + "naming": "snake_case and descriptive, for example gpu_selection_map.png" |
| 31 | + }, |
| 32 | + "page_usage": { |
| 33 | + "directive": "MyST {figure} directive with a width (for example width: 70%) and a name", |
| 34 | + "caption": "One or two sentences describing the figure. No em dashes, and no inline bold or italic in the body text.", |
| 35 | + "credit": "For original handbook figures, no external credit is needed. If the concept is adapted from a source, add a short note such as (Adapted from [Source](url).)" |
| 36 | + }, |
| 37 | + "principles": [ |
| 38 | + "Prefer original, openly shareable figures over copyrighted images.", |
| 39 | + "Use the brand colors above and reserve crimson for accents and a single focal element.", |
| 40 | + "Apply the light lavender background (#F4F5FC) for a consistent branded canvas.", |
| 41 | + "Use a clear, legible sans-serif font and navy (#14154C) for titles and key labels.", |
| 42 | + "Keep figure text concise and put detail in the page prose rather than the figure." |
| 43 | + ] |
| 44 | +} |
0 commit comments