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
+2 -8
View File
@@ -1,7 +1,6 @@
import shutil
import unittest
from helpers import NOW, ROOT, SiteTestCase
from helpers import NOW, SiteTestCase
from site_engine.core.registry import load_site
from site_engine.core.render import Renderer
@@ -10,7 +9,7 @@ from site_engine.errors import Report
CORE_FRAGMENTS = {
"site_header", "site_footer", "hero", "page_header", "section", "columns", "richtext",
"image", "card_grid", "collection_list", "entry_header", "cta_banner", "form", "faq", "disclaimer",
"image", "card_grid", "collection_list", "entry_header", "cta_banner", "form", "faq", "disclaimer", "steps", "entry_card",
}
@@ -33,11 +32,6 @@ class BuiltinFragmentsTest(SiteTestCase):
self.assertTrue(reg.fragments[fid].style, fid)
def test_steps_support_more_than_three_items_and_escape_titles(self):
shutil.copytree(
ROOT / "examples/ai-studio/fragments/steps",
self.site / "fragments/steps",
dirs_exist_ok=True,
)
self.write("pages/process.md", """---
schema: 1
title: Процесс