Add Site Studio themes and Theme Manager

Support categorized fragments, theme presets, block widths, and server-backed theme editing with onboarding and preview.

Include Site Studio, design sources, specification and verification reports; remove the legacy studio-site example.
This commit is contained in:
2026-11-13 14:04:49 +03:00
parent 231490bb7c
commit 0d171915d7
408 changed files with 11812 additions and 550 deletions
@@ -0,0 +1,13 @@
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
id: entry_card
name: Карточка записи
category: data
version: 1
fields:
- key: heading
type: text
required: false
- key: entry
type: ref
required: true
slots: {}
@@ -0,0 +1,4 @@
name: Карточка записи
props:
heading: ''
entry: ''
@@ -0,0 +1 @@
<section class="section" id="{{ block.anchor or block.id }}"><div class="container"><h2>{{ props.heading or 'Рекомендуем' }}</h2>{% set item = entry_by_ref(props.entry) %}{% if item %}<a class="card standalone" href="{{ site_link(item.url) }}"><small>{{ item.collection|upper }}</small><strong>{{ item.title }}</strong><p>{{ item.summary }}</p></a>{% endif %}</div></section>