Main/WordPress Fullstack/Blueprints/Gutenberg & FSE/Designing a Responsive Theme Design System in theme.json v3
Back to «Gutenberg & FSE» cardsТрудозатраты~7 рабочих часов
Фриланс вилка~$315 – $525 (€280 – €490)
Оценка веб-студии~$665 – $1,120 (€630 – €1050)
ТЗ заказчика (исходный бриф):
We need a unified, bulletproof design system for our corporate multisite network. Every site must share identical typography scales, brand color tokens, and consistent block padding, controlled strictly from theme.json without messy custom CSS.
Ключевые требования:
- •theme.json specification version 3 with strict JSON schema validation
- •Fluid typography system (settings.typography.fluid) with calculated min/max viewport limits
- •Semantic color palette tokens (base, contrast, primary, secondary, neutral, error)
- •Standardized spacing scale (settings.spacing.spacingSizes) replacing arbitrary margins
- •Block-level default styling (core/button, core/heading, core/group, core/table)
Ограничения проекта:
- •WordPress 6.6+ / 6.7+ compatibility
- •Zero !important overrides in CSS — rely entirely on CSS custom properties generated by theme.json
- •Strict color contrast ratio compliance (WCAG AAA for text, AA for UI components)
Критерии приёмки (KPI):
- Theme CSS bundle size reduced by 70% compared to legacy SCSS themes
- 100% color contrast score on automated accessibility audits
- Global styles cleanly editable via Site Editor Styles panel
Пошаговое практическое руководство по ТЗ
Подробный разбор архитектуры, код реализации и советы эксперта по каждому этапу: