create-agntcms-app 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/dist/index.mjs +297 -0
- package/dist/template/.claude/settings.json +6 -0
- package/dist/template/.claude/skills/.gitkeep +0 -0
- package/dist/template/.claude-plugin/channel/server.mjs +254 -0
- package/dist/template/.claude-plugin/channel/server.ts +369 -0
- package/dist/template/.claude-plugin/plugin.json +17 -0
- package/dist/template/.mcp.json +8 -0
- package/dist/template/BRAND.md +49 -0
- package/dist/template/CLAUDE.md +157 -0
- package/dist/template/agntcms/config.ts +49 -0
- package/dist/template/agntcms/sections/ArticleBody/component.tsx +32 -0
- package/dist/template/agntcms/sections/ArticleBody/index.ts +10 -0
- package/dist/template/agntcms/sections/ArticleBody/schema.ts +5 -0
- package/dist/template/agntcms/sections/ArticleHero/component.tsx +87 -0
- package/dist/template/agntcms/sections/ArticleHero/index.ts +10 -0
- package/dist/template/agntcms/sections/ArticleHero/schema.ts +12 -0
- package/dist/template/agntcms/sections/Banner/component.tsx +83 -0
- package/dist/template/agntcms/sections/Banner/index.ts +10 -0
- package/dist/template/agntcms/sections/Banner/schema.ts +9 -0
- package/dist/template/agntcms/sections/BlogIndex/component.tsx +173 -0
- package/dist/template/agntcms/sections/BlogIndex/index.ts +10 -0
- package/dist/template/agntcms/sections/BlogIndex/schema.ts +33 -0
- package/dist/template/agntcms/sections/BlogIndexHeader/component.tsx +44 -0
- package/dist/template/agntcms/sections/BlogIndexHeader/index.ts +10 -0
- package/dist/template/agntcms/sections/BlogIndexHeader/schema.ts +8 -0
- package/dist/template/agntcms/sections/BlogPostBody/component.tsx +50 -0
- package/dist/template/agntcms/sections/BlogPostBody/index.ts +10 -0
- package/dist/template/agntcms/sections/BlogPostBody/schema.ts +10 -0
- package/dist/template/agntcms/sections/BlogPostHero/component.tsx +88 -0
- package/dist/template/agntcms/sections/BlogPostHero/index.ts +10 -0
- package/dist/template/agntcms/sections/BlogPostHero/schema.ts +35 -0
- package/dist/template/agntcms/sections/CaseStudies/component.tsx +92 -0
- package/dist/template/agntcms/sections/CaseStudies/index.ts +10 -0
- package/dist/template/agntcms/sections/CaseStudies/schema.ts +17 -0
- package/dist/template/agntcms/sections/ContactForm/component.tsx +119 -0
- package/dist/template/agntcms/sections/ContactForm/index.ts +10 -0
- package/dist/template/agntcms/sections/ContactForm/schema.ts +15 -0
- package/dist/template/agntcms/sections/DocsArticle/component.tsx +266 -0
- package/dist/template/agntcms/sections/DocsArticle/index.ts +10 -0
- package/dist/template/agntcms/sections/DocsArticle/schema.ts +33 -0
- package/dist/template/agntcms/sections/FAQ/component.tsx +57 -0
- package/dist/template/agntcms/sections/FAQ/index.ts +10 -0
- package/dist/template/agntcms/sections/FAQ/schema.ts +11 -0
- package/dist/template/agntcms/sections/FeatureGrid/component.tsx +117 -0
- package/dist/template/agntcms/sections/FeatureGrid/index.ts +10 -0
- package/dist/template/agntcms/sections/FeatureGrid/schema.ts +21 -0
- package/dist/template/agntcms/sections/FeaturedArticles/component.tsx +99 -0
- package/dist/template/agntcms/sections/FeaturedArticles/index.ts +10 -0
- package/dist/template/agntcms/sections/FeaturedArticles/schema.ts +17 -0
- package/dist/template/agntcms/sections/GettingStarted/component.tsx +116 -0
- package/dist/template/agntcms/sections/GettingStarted/index.ts +10 -0
- package/dist/template/agntcms/sections/GettingStarted/schema.ts +11 -0
- package/dist/template/agntcms/sections/Hero/component.tsx +148 -0
- package/dist/template/agntcms/sections/Hero/index.ts +10 -0
- package/dist/template/agntcms/sections/Hero/schema.ts +16 -0
- package/dist/template/agntcms/sections/HowItWorks/component.tsx +57 -0
- package/dist/template/agntcms/sections/HowItWorks/index.ts +10 -0
- package/dist/template/agntcms/sections/HowItWorks/schema.ts +11 -0
- package/dist/template/agntcms/sections/ImageText/component.tsx +110 -0
- package/dist/template/agntcms/sections/ImageText/index.ts +10 -0
- package/dist/template/agntcms/sections/ImageText/schema.ts +14 -0
- package/dist/template/agntcms/sections/LogoStrip/component.tsx +37 -0
- package/dist/template/agntcms/sections/LogoStrip/index.ts +10 -0
- package/dist/template/agntcms/sections/LogoStrip/schema.ts +6 -0
- package/dist/template/agntcms/sections/Newsletter/component.tsx +48 -0
- package/dist/template/agntcms/sections/Newsletter/index.ts +10 -0
- package/dist/template/agntcms/sections/Newsletter/schema.ts +8 -0
- package/dist/template/agntcms/sections/OpenSource/component.tsx +99 -0
- package/dist/template/agntcms/sections/OpenSource/index.ts +10 -0
- package/dist/template/agntcms/sections/OpenSource/schema.ts +13 -0
- package/dist/template/agntcms/sections/PainAnswer/component.tsx +81 -0
- package/dist/template/agntcms/sections/PainAnswer/index.ts +10 -0
- package/dist/template/agntcms/sections/PainAnswer/schema.ts +15 -0
- package/dist/template/agntcms/sections/PricingPlans/component.tsx +100 -0
- package/dist/template/agntcms/sections/PricingPlans/index.ts +10 -0
- package/dist/template/agntcms/sections/PricingPlans/schema.ts +13 -0
- package/dist/template/agntcms/sections/Problem/component.tsx +49 -0
- package/dist/template/agntcms/sections/Problem/index.ts +10 -0
- package/dist/template/agntcms/sections/Problem/schema.ts +12 -0
- package/dist/template/agntcms/sections/SiteFooter/component.tsx +88 -0
- package/dist/template/agntcms/sections/SiteFooter/index.ts +10 -0
- package/dist/template/agntcms/sections/SiteFooter/schema.ts +13 -0
- package/dist/template/agntcms/sections/SiteHeader/component.tsx +99 -0
- package/dist/template/agntcms/sections/SiteHeader/index.ts +10 -0
- package/dist/template/agntcms/sections/SiteHeader/schema.ts +14 -0
- package/dist/template/agntcms/sections/SiteMeta/component.tsx +26 -0
- package/dist/template/agntcms/sections/SiteMeta/index.ts +13 -0
- package/dist/template/agntcms/sections/SiteMeta/schema.ts +18 -0
- package/dist/template/agntcms/sections/TabbedFeatures/component.tsx +120 -0
- package/dist/template/agntcms/sections/TabbedFeatures/index.ts +10 -0
- package/dist/template/agntcms/sections/TabbedFeatures/schema.ts +13 -0
- package/dist/template/agntcms/sections/TeamGrid/component.tsx +77 -0
- package/dist/template/agntcms/sections/TeamGrid/index.ts +10 -0
- package/dist/template/agntcms/sections/TeamGrid/schema.ts +14 -0
- package/dist/template/agntcms/sections/Testimonials/component.tsx +76 -0
- package/dist/template/agntcms/sections/Testimonials/index.ts +10 -0
- package/dist/template/agntcms/sections/Testimonials/schema.ts +12 -0
- package/dist/template/agntcms/sections/WhatIsBuilt/component.tsx +86 -0
- package/dist/template/agntcms/sections/WhatIsBuilt/index.ts +10 -0
- package/dist/template/agntcms/sections/WhatIsBuilt/schema.ts +20 -0
- package/dist/template/agntcms/site-meta.ts +81 -0
- package/dist/template/app/[[...slug]]/page.tsx +123 -0
- package/dist/template/app/admin/AdminPageClient.tsx +77 -0
- package/dist/template/app/admin/AdminPageDynamic.tsx +24 -0
- package/dist/template/app/admin/page.tsx +14 -0
- package/dist/template/app/api/agntcms/_shared.ts +80 -0
- package/dist/template/app/api/agntcms/assets/route.ts +11 -0
- package/dist/template/app/api/agntcms/assets/upload/route.ts +11 -0
- package/dist/template/app/api/agntcms/draft/discard/route.ts +12 -0
- package/dist/template/app/api/agntcms/draft/list/route.ts +11 -0
- package/dist/template/app/api/agntcms/draft/publish/route.ts +11 -0
- package/dist/template/app/api/agntcms/draft/reorder/route.ts +10 -0
- package/dist/template/app/api/agntcms/draft/save/route.ts +11 -0
- package/dist/template/app/api/agntcms/events/route.ts +12 -0
- package/dist/template/app/api/agntcms/forms/delete/route.ts +17 -0
- package/dist/template/app/api/agntcms/forms/list/route.ts +24 -0
- package/dist/template/app/api/agntcms/forms/read/route.ts +23 -0
- package/dist/template/app/api/agntcms/forms/submit/route.ts +17 -0
- package/dist/template/app/api/agntcms/global/delete/route.ts +13 -0
- package/dist/template/app/api/agntcms/global/history/route.ts +10 -0
- package/dist/template/app/api/agntcms/global/list/route.ts +14 -0
- package/dist/template/app/api/agntcms/global/read/route.ts +11 -0
- package/dist/template/app/api/agntcms/global/rollback/route.ts +10 -0
- package/dist/template/app/api/agntcms/global/save/route.ts +14 -0
- package/dist/template/app/api/agntcms/mcp/route.ts +12 -0
- package/dist/template/app/api/agntcms/page/delete/route.ts +10 -0
- package/dist/template/app/api/agntcms/page/duplicate/route.ts +11 -0
- package/dist/template/app/api/agntcms/page/history/route.ts +10 -0
- package/dist/template/app/api/agntcms/page/list/route.ts +10 -0
- package/dist/template/app/api/agntcms/page/read/route.ts +11 -0
- package/dist/template/app/api/agntcms/page/rename/route.ts +10 -0
- package/dist/template/app/api/agntcms/page/rollback/route.ts +10 -0
- package/dist/template/app/api/agntcms/page/unpublish/route.ts +11 -0
- package/dist/template/app/api/agntcms/preview/enter/route.ts +13 -0
- package/dist/template/app/api/agntcms/preview/exit/route.ts +10 -0
- package/dist/template/app/api/agntcms/preview/issue/route.ts +12 -0
- package/dist/template/app/api/agntcms/template/list/route.ts +15 -0
- package/dist/template/app/apple-icon.svg +9 -0
- package/dist/template/app/icon.svg +9 -0
- package/dist/template/app/layout.tsx +107 -0
- package/dist/template/app/not-found.tsx +75 -0
- package/dist/template/app/robots.ts +33 -0
- package/dist/template/app/sitemap.ts +49 -0
- package/dist/template/content/globals/site-footer.json +53 -0
- package/dist/template/content/globals/site-header.json +18 -0
- package/dist/template/content/globals/site-meta.json +13 -0
- package/dist/template/content/pages/404.json +34 -0
- package/dist/template/content/pages/about.json +307 -0
- package/dist/template/content/pages/article-editor.json +61 -0
- package/dist/template/content/pages/article-schemas.json +61 -0
- package/dist/template/content/pages/blog.json +162 -0
- package/dist/template/content/pages/contact.json +29 -0
- package/dist/template/content/pages/home.json +243 -0
- package/dist/template/content/pages/pricing.json +219 -0
- package/dist/template/content/pages/services.json +177 -0
- package/dist/template/fonts/Satoshi-Medium.woff2 +0 -0
- package/dist/template/fonts/Satoshi-Regular.woff2 +0 -0
- package/dist/template/next.config.ts +6 -0
- package/dist/template/package.json +36 -0
- package/dist/template/postcss.config.mjs +5 -0
- package/dist/template/public/assets/.gitkeep +0 -0
- package/dist/template/public/assets/0418d7ed21f57e7b9e0546725c92b8419daeaa355675d9070fab0c2013cf1524.jpg +0 -0
- package/dist/template/public/assets/0d0475f21aa96435a8ed3cdb2fddcc6278492e76ae842f569432454f4d33631a.jpg +0 -0
- package/dist/template/public/assets/27457a1adee2372030d9876b0d52c44d46be98843999935eaef2526b9b961f12.jpg +0 -0
- package/dist/template/public/assets/3855d91192f0c6120b01427b78ef84e52baa9f4b5a17d4271e41c1bfd95a5b0c.jpg +0 -0
- package/dist/template/public/assets/3b3b90c5084635b746be673ede92a328f002f5621a42c9a5cb89c5e2435652cb.jpg +0 -0
- package/dist/template/public/assets/3e76165a78fd3e7b8ed1e93dee50803ae11110c756c8c1c89229a2dec2bc0abf.jpg +0 -0
- package/dist/template/public/assets/4a3e28f85dc850c347ea0fd931696aa936a6bd45f193e7f1c9328b5896fb272c.jpg +0 -0
- package/dist/template/public/assets/579f67d5fd4c9106c6cdf2ef29f50df934ad0fc2b7849bac1e1cfb1e3f92303b.jpg +0 -0
- package/dist/template/public/assets/5b95209269661bb60fb250f1da682e05b9efa64dd42f350608b299e6bf1f2f35.jpg +0 -0
- package/dist/template/public/assets/5e04b46f8317ef95a7ddf85aedfe5c098a755f05056325d0251eccf95ce51172.jpg +0 -0
- package/dist/template/public/assets/6167a9164be2cf1183bdfdd4946bf9b908570e79e92a2380c25f0bb702422bbd.jpg +0 -0
- package/dist/template/public/assets/75e723ec316de28247924e5dfb73a4b266e10de605e749f150883d280ed8ed16.jpg +0 -0
- package/dist/template/public/assets/816a11e6a7245feaf51bbebf09d1bda3f125b334bc24fc3b8f47b5380a7b4294.jpg +0 -0
- package/dist/template/public/assets/81eba6f5654b8746a9b0cba1a9521a67f2b4afaaefc7c88d66dfab1461270d8f.jpg +0 -0
- package/dist/template/public/assets/82a2ce9e49361098f77a28755779dc5a7c026831cbd135175749c1304e21dacc.jpg +0 -0
- package/dist/template/public/assets/8d7b02ba277ba56bdafdbd47b01f7df6d993c714b4dc2305eb65a1307c09647d.jpg +0 -0
- package/dist/template/public/assets/b303185b471678e4d62f678a1549ee26022f4745407d08cae44ecb1c25352293.jpg +0 -0
- package/dist/template/public/assets/b69b49169c11546100d6dd5280073bc0d84cbbcc6d33fa01ecf6a5866fa42237.jpg +0 -0
- package/dist/template/public/assets/c4d2f0d1a310e457ac722a399693652e3c86c55b294243d5ffc679394e12f9d1.jpg +0 -0
- package/dist/template/public/assets/cae09f4729f8a348b67267c2f2a550be0f3bfa420689afe1a5cf8b7e2b146238.png +0 -0
- package/dist/template/public/assets/cb3acf58b57417a4b26474ba04c096af7103c4320ed2f4f3683f79d7670a055c.jpg +0 -0
- package/dist/template/public/assets/d5a0701b2d156284e0ce851cd2534ec632db34f91fbcbee3b8a7784d45ce78d2.jpg +0 -0
- package/dist/template/public/assets/d6ef1c3f48b0e488521794fb60701da1fd2c3a1621d6ac5f17ccfd4909d3be60.jpg +0 -0
- package/dist/template/public/assets/de249ff9be2539cf0d1ce092de3c57001839b6c3e14fcee3fc31a7b7673ae007.jpg +0 -0
- package/dist/template/public/assets/eac45438956be187b010e24b3289757aa00f227c190d49ee99fea510552dd2ba.jpg +0 -0
- package/dist/template/public/assets/f8b9200065b5436c6a88361839edc2b89be88d3037c84a80d3ee95c32891510b.jpg +0 -0
- package/dist/template/public/assets/placeholder.png +0 -0
- package/dist/template/public/brand/mark.svg +6 -0
- package/dist/template/public/brand/wordmark-light.svg +6 -0
- package/dist/template/public/brand/wordmark.svg +6 -0
- package/dist/template/styles/globals.css +69 -0
- package/dist/template/styles/theme.css +492 -0
- package/dist/template/styles/typography.css +469 -0
- package/dist/template/tsconfig.json +30 -0
- package/package.json +30 -0
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
.prose:not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
2
|
+
/* Brand-aligned token wiring. DS rules:
|
|
3
|
+
* body = text-primary (off-white #E8E6DC), not text-tertiary
|
|
4
|
+
* links = teal (interactive)
|
|
5
|
+
* code = teal on teal-dim surface (#0D2420)
|
|
6
|
+
* quote left-border = teal
|
|
7
|
+
*/
|
|
8
|
+
--tw-prose-body: var(--color-text-primary);
|
|
9
|
+
--tw-prose-headings: var(--color-text-primary);
|
|
10
|
+
--tw-prose-lead: var(--color-text-secondary);
|
|
11
|
+
--tw-prose-links: var(--color-text-brand-primary);
|
|
12
|
+
--tw-prose-bold: var(--color-text-primary);
|
|
13
|
+
--tw-prose-counters: var(--color-text-secondary);
|
|
14
|
+
--tw-prose-bullets: var(--color-text-secondary);
|
|
15
|
+
--tw-prose-hr: var(--color-border-secondary);
|
|
16
|
+
--tw-prose-quotes: var(--color-text-primary);
|
|
17
|
+
--tw-prose-quote-borders: var(--color-border-brand);
|
|
18
|
+
--tw-prose-captions: var(--color-text-tertiary);
|
|
19
|
+
--tw-prose-code: var(--color-text-brand-primary);
|
|
20
|
+
--tw-prose-pre-code: var(--color-text-brand-primary);
|
|
21
|
+
--tw-prose-pre-bg: var(--color-bg-brand-primary);
|
|
22
|
+
--tw-prose-th-borders: var(--color-border-primary);
|
|
23
|
+
--tw-prose-td-borders: var(--color-border-secondary);
|
|
24
|
+
|
|
25
|
+
/* Base */
|
|
26
|
+
color: var(--tw-prose-body);
|
|
27
|
+
font-family: var(--font-body);
|
|
28
|
+
font-size: var(--text-md);
|
|
29
|
+
line-height: var(--text-md--line-height);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.prose :not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
33
|
+
/* Text */
|
|
34
|
+
&:where(p) {
|
|
35
|
+
margin-top: calc(var(--spacing) * 4);
|
|
36
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:where([class~="lead"]) {
|
|
40
|
+
font-size: var(--text-md);
|
|
41
|
+
line-height: var(--text-md--line-height);
|
|
42
|
+
margin-top: 1.2em;
|
|
43
|
+
margin-bottom: 1.2em;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Lists */
|
|
47
|
+
&:where(ol) {
|
|
48
|
+
list-style-type: decimal;
|
|
49
|
+
|
|
50
|
+
margin-top: calc(var(--spacing) * 4);
|
|
51
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
52
|
+
padding-inline-start: calc(var(--spacing) * 5.75);
|
|
53
|
+
}
|
|
54
|
+
&:where(ul) {
|
|
55
|
+
list-style-type: disc;
|
|
56
|
+
|
|
57
|
+
margin-top: calc(var(--spacing) * 4);
|
|
58
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
59
|
+
padding-inline-start: calc(var(--spacing) * 5.75);
|
|
60
|
+
}
|
|
61
|
+
&:where(li) {
|
|
62
|
+
margin-top: calc(var(--spacing) * 2);
|
|
63
|
+
margin-bottom: calc(var(--spacing) * 2);
|
|
64
|
+
}
|
|
65
|
+
&:where(ol > li) {
|
|
66
|
+
padding-inline-start: 1px;
|
|
67
|
+
margin-top: 0;
|
|
68
|
+
margin-bottom: 0;
|
|
69
|
+
}
|
|
70
|
+
&:where(ul > li) {
|
|
71
|
+
padding-inline-start: 1px;
|
|
72
|
+
margin-top: 0;
|
|
73
|
+
margin-bottom: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* Horizontal rules */
|
|
77
|
+
&:where(hr) {
|
|
78
|
+
margin-top: calc(var(--spacing) * 8);
|
|
79
|
+
margin-bottom: calc(var(--spacing) * 8);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Quotes */
|
|
83
|
+
&:where(blockquote) {
|
|
84
|
+
color: var(--tw-prose-quotes);
|
|
85
|
+
|
|
86
|
+
border-left-width: 2px;
|
|
87
|
+
border-left-color: var(--tw-prose-quote-borders);
|
|
88
|
+
|
|
89
|
+
padding-inline-start: 0;
|
|
90
|
+
margin-top: calc(var(--spacing) * 10);
|
|
91
|
+
margin-bottom: calc(var(--spacing) * 10);
|
|
92
|
+
}
|
|
93
|
+
&:where(blockquote p) {
|
|
94
|
+
margin: 0;
|
|
95
|
+
font-weight: 500;
|
|
96
|
+
font-style: italic;
|
|
97
|
+
|
|
98
|
+
font-size: var(--text-xl);
|
|
99
|
+
line-height: var(--text-xl--line-height);
|
|
100
|
+
}
|
|
101
|
+
&:where(blockquote p:first-of-type::before) {
|
|
102
|
+
content: open-quote;
|
|
103
|
+
}
|
|
104
|
+
&:where(blockquote p:last-of-type::after) {
|
|
105
|
+
content: close-quote;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* Headings — Satoshi (display) with DS-mandated tracking.
|
|
109
|
+
* Tracking values are non-negotiable per BRAND.md. */
|
|
110
|
+
&:where(h1) {
|
|
111
|
+
color: var(--tw-prose-headings);
|
|
112
|
+
font-family: var(--font-display);
|
|
113
|
+
font-weight: 500;
|
|
114
|
+
letter-spacing: -0.04em;
|
|
115
|
+
|
|
116
|
+
font-size: var(--text-display-sm);
|
|
117
|
+
line-height: var(--text-display-sm--line-height);
|
|
118
|
+
margin-bottom: calc(var(--spacing) * 5);
|
|
119
|
+
margin-top: calc(var(--spacing) * 10);
|
|
120
|
+
}
|
|
121
|
+
&:where(h2) {
|
|
122
|
+
color: var(--tw-prose-headings);
|
|
123
|
+
font-family: var(--font-display);
|
|
124
|
+
font-weight: 500;
|
|
125
|
+
letter-spacing: -0.02em;
|
|
126
|
+
|
|
127
|
+
font-size: var(--text-display-xs);
|
|
128
|
+
line-height: var(--text-display-xs--line-height);
|
|
129
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
130
|
+
margin-top: calc(var(--spacing) * 8);
|
|
131
|
+
}
|
|
132
|
+
&:where(h3) {
|
|
133
|
+
color: var(--tw-prose-headings);
|
|
134
|
+
font-family: var(--font-display);
|
|
135
|
+
font-weight: 500;
|
|
136
|
+
letter-spacing: -0.01em;
|
|
137
|
+
|
|
138
|
+
font-size: var(--text-xl);
|
|
139
|
+
line-height: var(--text-xl--line-height);
|
|
140
|
+
margin-bottom: calc(var(--spacing) * 3);
|
|
141
|
+
margin-top: calc(var(--spacing) * 8);
|
|
142
|
+
}
|
|
143
|
+
&:where(h4) {
|
|
144
|
+
color: var(--tw-prose-headings);
|
|
145
|
+
font-family: var(--font-display);
|
|
146
|
+
font-weight: 500;
|
|
147
|
+
letter-spacing: -0.01em;
|
|
148
|
+
|
|
149
|
+
font-size: var(--text-lg);
|
|
150
|
+
line-height: var(--text-lg--line-height);
|
|
151
|
+
margin-bottom: calc(var(--spacing) * 2);
|
|
152
|
+
margin-top: calc(var(--spacing) * 5);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&:where(h2 + *) {
|
|
156
|
+
margin-top: 0;
|
|
157
|
+
}
|
|
158
|
+
&:where(h3 + *) {
|
|
159
|
+
margin-top: 0;
|
|
160
|
+
}
|
|
161
|
+
&:where(h4 + *) {
|
|
162
|
+
margin-top: 0;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&:where(h1 strong) {
|
|
166
|
+
font-weight: 900;
|
|
167
|
+
color: inherit;
|
|
168
|
+
}
|
|
169
|
+
&:where(h2 strong) {
|
|
170
|
+
font-weight: 800;
|
|
171
|
+
color: inherit;
|
|
172
|
+
}
|
|
173
|
+
&:where(h3 strong) {
|
|
174
|
+
font-weight: 700;
|
|
175
|
+
color: inherit;
|
|
176
|
+
}
|
|
177
|
+
&:where(h4 strong) {
|
|
178
|
+
font-weight: 700;
|
|
179
|
+
color: inherit;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/* Media */
|
|
183
|
+
|
|
184
|
+
&:where(img) {
|
|
185
|
+
border-radius: var(--radius-xl);
|
|
186
|
+
width: 100%;
|
|
187
|
+
object-fit: cover;
|
|
188
|
+
|
|
189
|
+
margin-top: calc(var(--spacing) * 8);
|
|
190
|
+
margin-bottom: calc(var(--spacing) * 8);
|
|
191
|
+
}
|
|
192
|
+
&:where(video) {
|
|
193
|
+
margin-top: calc(var(--spacing) * 8);
|
|
194
|
+
margin-bottom: calc(var(--spacing) * 8);
|
|
195
|
+
}
|
|
196
|
+
&:where(figure) {
|
|
197
|
+
margin-top: calc(var(--spacing) * 10);
|
|
198
|
+
margin-bottom: calc(var(--spacing) * 10);
|
|
199
|
+
}
|
|
200
|
+
&:where(figure > *) {
|
|
201
|
+
margin-top: 0;
|
|
202
|
+
margin-bottom: 0;
|
|
203
|
+
}
|
|
204
|
+
&:where(figure:has(> blockquote)) {
|
|
205
|
+
border-left-width: 2px;
|
|
206
|
+
border-left-color: var(--tw-prose-quote-borders);
|
|
207
|
+
padding-top: calc(var(--spacing) * 2);
|
|
208
|
+
padding-bottom: calc(var(--spacing) * 2);
|
|
209
|
+
|
|
210
|
+
padding-inline-start: calc(var(--spacing) * 4);
|
|
211
|
+
}
|
|
212
|
+
&:where(figure:has(> blockquote) blockquote) {
|
|
213
|
+
padding-inline-start: 0;
|
|
214
|
+
border: none;
|
|
215
|
+
}
|
|
216
|
+
&:where(img + figcaption) {
|
|
217
|
+
display: flex;
|
|
218
|
+
align-items: center;
|
|
219
|
+
gap: calc(var(--spacing) * 1.5);
|
|
220
|
+
}
|
|
221
|
+
&:where(figcaption) {
|
|
222
|
+
color: var(--tw-prose-captions);
|
|
223
|
+
|
|
224
|
+
font-size: var(--text-sm);
|
|
225
|
+
line-height: var(--text-sm--line-height);
|
|
226
|
+
margin-top: calc(var(--spacing) * 3);
|
|
227
|
+
}
|
|
228
|
+
&:where(cite) {
|
|
229
|
+
font-style: normal;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/* Inline elements */
|
|
233
|
+
&:where(a:not(h1 a, h2 a, h3 a, h4 a, h5 a, h6 a)) {
|
|
234
|
+
font-weight: 400;
|
|
235
|
+
text-decoration: underline;
|
|
236
|
+
text-underline-offset: 3px;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
&:where(a:focus-visible) {
|
|
240
|
+
border-radius: var(--radius-sm);
|
|
241
|
+
outline: 2px solid var(--color-focus-ring);
|
|
242
|
+
outline-offset: 2px;
|
|
243
|
+
}
|
|
244
|
+
&:where(:is(h1, h2, h3) a) {
|
|
245
|
+
color: var(--tw-prose-headings);
|
|
246
|
+
font-weight: inherit;
|
|
247
|
+
text-decoration: none;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/* Inline code element — DS: JetBrains Mono, teal text on teal-dim bg,
|
|
251
|
+
* weight 400, 4px radius, 2px×8px padding. No box-shadow. */
|
|
252
|
+
&:where(code:not(pre code)) {
|
|
253
|
+
font-family: var(--font-mono);
|
|
254
|
+
color: var(--tw-prose-code);
|
|
255
|
+
font-size: 0.8125rem; /* 13px per DS */
|
|
256
|
+
line-height: 1.25rem;
|
|
257
|
+
font-weight: 400;
|
|
258
|
+
border-radius: var(--radius-sm);
|
|
259
|
+
padding: 2px 8px;
|
|
260
|
+
background: var(--tw-prose-pre-bg);
|
|
261
|
+
|
|
262
|
+
&::before,
|
|
263
|
+
&::after {
|
|
264
|
+
content: "";
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.prose.prose-centered-quote :not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
270
|
+
&:where(blockquote) {
|
|
271
|
+
padding-inline-start: 0px !important;
|
|
272
|
+
border-left: none;
|
|
273
|
+
text-align: center;
|
|
274
|
+
}
|
|
275
|
+
&:where(figure:has(> blockquote)) {
|
|
276
|
+
border-left: none;
|
|
277
|
+
padding-inline-start: 0px !important;
|
|
278
|
+
padding-top: 0px !important;
|
|
279
|
+
padding-bottom: 0px !important;
|
|
280
|
+
text-align: center;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.prose.prose-minimal-quote :not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
285
|
+
&:where(blockquote) {
|
|
286
|
+
border-left: none;
|
|
287
|
+
padding-inline-start: 0px !important;
|
|
288
|
+
}
|
|
289
|
+
&:where(figure:has(> blockquote)) {
|
|
290
|
+
border-left: none;
|
|
291
|
+
padding-inline-start: 0px !important;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.prose.md\:prose-lg:not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
296
|
+
@media (width >= 48rem /* 768px */) {
|
|
297
|
+
/* Base */
|
|
298
|
+
font-size: var(--text-lg);
|
|
299
|
+
line-height: var(--text-lg--line-height);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.prose.md\:prose-lg :not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
304
|
+
@media (width >= 48rem /* 768px */) {
|
|
305
|
+
/* Text */
|
|
306
|
+
&:where(p) {
|
|
307
|
+
margin-top: calc(var(--spacing) * 4.5);
|
|
308
|
+
margin-bottom: calc(var(--spacing) * 4.5);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
&:where([class~="lead"]) {
|
|
312
|
+
font-size: var(--text-xl);
|
|
313
|
+
line-height: var(--text-xl--line-height);
|
|
314
|
+
margin-top: 1.09em;
|
|
315
|
+
margin-bottom: 1.09em;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/* Lists */
|
|
319
|
+
&:where(ol) {
|
|
320
|
+
margin-top: calc(var(--spacing) * 4.5);
|
|
321
|
+
margin-bottom: calc(var(--spacing) * 4.5);
|
|
322
|
+
padding-inline-start: calc(var(--spacing) * 6.5);
|
|
323
|
+
}
|
|
324
|
+
&:where(ul) {
|
|
325
|
+
margin-top: calc(var(--spacing) * 4.5);
|
|
326
|
+
margin-bottom: calc(var(--spacing) * 4.5);
|
|
327
|
+
padding-inline-start: calc(var(--spacing) * 6.5);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&:where(ol > li) {
|
|
331
|
+
padding-inline-start: 1px;
|
|
332
|
+
margin-top: 0;
|
|
333
|
+
margin-bottom: 0;
|
|
334
|
+
}
|
|
335
|
+
&:where(ul > li) {
|
|
336
|
+
padding-inline-start: 1px;
|
|
337
|
+
margin-top: 0;
|
|
338
|
+
margin-bottom: 0;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/* Horizontal rules */
|
|
342
|
+
&:where(hr) {
|
|
343
|
+
margin-top: calc(var(--spacing) * 8);
|
|
344
|
+
margin-bottom: calc(var(--spacing) * 8);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/* Quotes */
|
|
348
|
+
&:where(blockquote) {
|
|
349
|
+
padding-inline-start: 0;
|
|
350
|
+
margin-top: calc(var(--spacing) * 12);
|
|
351
|
+
margin-bottom: calc(var(--spacing) * 12);
|
|
352
|
+
}
|
|
353
|
+
&:where(blockquote p) {
|
|
354
|
+
margin: 0;
|
|
355
|
+
|
|
356
|
+
font-size: var(--text-display-xs);
|
|
357
|
+
line-height: var(--text-display-xs--line-height);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/* Headings — keep DS font + tracking on the larger md:prose-lg variant */
|
|
361
|
+
&:where(h1) {
|
|
362
|
+
font-family: var(--font-display);
|
|
363
|
+
letter-spacing: -0.04em;
|
|
364
|
+
font-size: var(--text-display-md);
|
|
365
|
+
line-height: var(--text-display-md--line-height);
|
|
366
|
+
margin-bottom: calc(var(--spacing) * 6);
|
|
367
|
+
margin-top: calc(var(--spacing) * 12);
|
|
368
|
+
}
|
|
369
|
+
&:where(h2) {
|
|
370
|
+
font-family: var(--font-display);
|
|
371
|
+
letter-spacing: -0.02em;
|
|
372
|
+
font-size: var(--text-display-sm);
|
|
373
|
+
line-height: var(--text-display-sm--line-height);
|
|
374
|
+
margin-bottom: calc(var(--spacing) * 5);
|
|
375
|
+
margin-top: calc(var(--spacing) * 10);
|
|
376
|
+
}
|
|
377
|
+
&:where(h3) {
|
|
378
|
+
font-family: var(--font-display);
|
|
379
|
+
letter-spacing: -0.01em;
|
|
380
|
+
font-size: var(--text-display-xs);
|
|
381
|
+
line-height: var(--text-display-xs--line-height);
|
|
382
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
383
|
+
margin-top: calc(var(--spacing) * 8);
|
|
384
|
+
}
|
|
385
|
+
&:where(h4) {
|
|
386
|
+
font-family: var(--font-display);
|
|
387
|
+
letter-spacing: -0.01em;
|
|
388
|
+
font-size: var(--text-xl);
|
|
389
|
+
line-height: var(--text-xl--line-height);
|
|
390
|
+
margin-bottom: calc(var(--spacing) * 3);
|
|
391
|
+
margin-top: calc(var(--spacing) * 8);
|
|
392
|
+
}
|
|
393
|
+
&:where(h2 + *) {
|
|
394
|
+
margin-top: 0;
|
|
395
|
+
}
|
|
396
|
+
&:where(h3 + *) {
|
|
397
|
+
margin-top: 0;
|
|
398
|
+
}
|
|
399
|
+
&:where(h4 + *) {
|
|
400
|
+
margin-top: 0;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
&:where(figure) {
|
|
404
|
+
margin-top: calc(var(--spacing) * 12);
|
|
405
|
+
margin-bottom: calc(var(--spacing) * 12);
|
|
406
|
+
}
|
|
407
|
+
&:where(figure > *) {
|
|
408
|
+
margin-top: 0;
|
|
409
|
+
margin-bottom: 0;
|
|
410
|
+
}
|
|
411
|
+
&:where(figure:has(> blockquote)) {
|
|
412
|
+
padding-inline-start: calc(var(--spacing) * 5);
|
|
413
|
+
}
|
|
414
|
+
&:where(figure > blockquote + figcaption) {
|
|
415
|
+
font-size: var(--text-md);
|
|
416
|
+
line-height: var(--text-md--line-height);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
&:where(figcaption) {
|
|
420
|
+
margin-top: calc(var(--spacing) * 4);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/* Inline elements */
|
|
424
|
+
&:where(a:not(h1 a, h2 a, h3 a, h4 a, h5 a, h6 a)) {
|
|
425
|
+
font-weight: 400;
|
|
426
|
+
text-decoration: underline;
|
|
427
|
+
text-underline-offset: 3px;
|
|
428
|
+
}
|
|
429
|
+
&:where(:is(h1, h2, h3) a) {
|
|
430
|
+
color: var(--tw-prose-headings);
|
|
431
|
+
font-weight: inherit;
|
|
432
|
+
text-decoration: none;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/* Inline code element — keep DS treatment in md:prose-lg too */
|
|
436
|
+
&:where(code:not(pre code)) {
|
|
437
|
+
font-family: var(--font-mono);
|
|
438
|
+
color: var(--tw-prose-code);
|
|
439
|
+
font-size: 0.8125rem;
|
|
440
|
+
line-height: 1.25rem;
|
|
441
|
+
font-weight: 400;
|
|
442
|
+
border-radius: var(--radius-sm);
|
|
443
|
+
padding: 2px 8px;
|
|
444
|
+
background: var(--tw-prose-pre-bg);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* Remove top margin from first element */
|
|
450
|
+
.prose > :first-child:not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
451
|
+
margin-top: 0;
|
|
452
|
+
}
|
|
453
|
+
.prose > :last-child:not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
454
|
+
margin-bottom: 0;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/* Manifesto / long-form essay typography. DS rules: Source Serif 4, 17px,
|
|
458
|
+
* line-height 1.75, max 68ch measure. Apply via `prose prose-essay`. */
|
|
459
|
+
.prose.prose-essay:not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
460
|
+
font-family: var(--font-essay);
|
|
461
|
+
font-size: 17px;
|
|
462
|
+
line-height: 1.75;
|
|
463
|
+
max-width: 68ch;
|
|
464
|
+
}
|
|
465
|
+
.prose.prose-essay :not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
466
|
+
&:where(p) {
|
|
467
|
+
font-family: var(--font-essay);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../tsconfig.base.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"jsx": "preserve",
|
|
5
|
+
"noEmit": true,
|
|
6
|
+
"allowJs": false,
|
|
7
|
+
"incremental": true,
|
|
8
|
+
"plugins": [
|
|
9
|
+
{
|
|
10
|
+
"name": "next"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"paths": {
|
|
14
|
+
"@/*": [
|
|
15
|
+
"./*"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"include": [
|
|
20
|
+
"**/*.ts",
|
|
21
|
+
"**/*.tsx",
|
|
22
|
+
"next-env.d.ts",
|
|
23
|
+
".next/types/**/*.ts"
|
|
24
|
+
],
|
|
25
|
+
"exclude": [
|
|
26
|
+
"node_modules",
|
|
27
|
+
".next",
|
|
28
|
+
"dist"
|
|
29
|
+
]
|
|
30
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-agntcms-app",
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "create-agntcms-app: scaffold a new agntcms project from the canonical template",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"private": false,
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"bin": {
|
|
12
|
+
"create-agntcms-app": "./dist/index.mjs"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"commander": "^12.1.0",
|
|
19
|
+
"@agntcms/skills": "0.2.1"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"tsup": "^8.3.5",
|
|
23
|
+
"typescript": "^5.7.2",
|
|
24
|
+
"vitest": "^2.1.8"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "tsup",
|
|
28
|
+
"typecheck": "tsc --noEmit"
|
|
29
|
+
}
|
|
30
|
+
}
|