create-ampless 1.0.0-beta.179 → 1.0.0-beta.181

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.
@@ -128,3 +128,35 @@ body {
128
128
  margin-top: 0;
129
129
  margin-bottom: 0;
130
130
  }
131
+
132
+ /* Default styling for first-party plugin hooks. publicHtmlForPost output
133
+ renders OUTSIDE .prose (sibling of the post body), so it inherits no
134
+ typography. Zero-specificity :where() so any theme tokens.css or site
135
+ CSS override always wins. */
136
+ :where(.ampless-reading-time) {
137
+ margin: 1.25rem 0; /* symmetric margin — works for either beforeContent or afterContent placement */
138
+ font-size: 0.8125rem;
139
+ color: var(--muted-foreground);
140
+ }
141
+ :where(.ampless-ai-actions) {
142
+ display: flex;
143
+ flex-wrap: wrap;
144
+ gap: 0.5rem;
145
+ margin: 1.5rem 0; /* symmetric margin — works for either beforeContent or afterContent placement */
146
+ font-size: 0.8125rem;
147
+ }
148
+ :where(.ampless-ai-actions a) {
149
+ color: var(--muted-foreground);
150
+ text-decoration: none;
151
+ border: 1px solid var(--border);
152
+ border-radius: 9999px; /* pill shape. Themes that want --radius instead can override in one line. */
153
+ padding: 0.25em 0.85em;
154
+ white-space: nowrap;
155
+ }
156
+ :where(.ampless-ai-actions a:hover) {
157
+ color: var(--foreground);
158
+ border-color: var(--foreground);
159
+ }
160
+ :where(.ampless-ai-actions .ampless-ai-actions-sep) {
161
+ display: none; /* separators are redundant once links are rendered as pills */
162
+ }
@@ -26,13 +26,13 @@
26
26
  "@tiptap/pm": "^3.23.6",
27
27
  "@tiptap/react": "^3.23.6",
28
28
  "@tiptap/starter-kit": "^3.23.6",
29
- "@ampless/plugin-ai-actions": "^0.1.0-beta.0",
29
+ "@ampless/plugin-ai-actions": "^0.1.0-beta.1",
30
30
  "@ampless/plugin-analytics-ga4": "^0.2.0-beta.42",
31
31
  "@ampless/plugin-cookie-consent": "^0.1.0-beta.33",
32
32
  "@ampless/plugin-gtm": "^0.2.0-beta.41",
33
33
  "@ampless/plugin-og-image": "^0.2.0-beta.58",
34
34
  "@ampless/plugin-plausible": "^0.2.0-beta.41",
35
- "@ampless/plugin-reading-time": "^0.1.0-beta.31",
35
+ "@ampless/plugin-reading-time": "^0.1.0-beta.32",
36
36
  "@ampless/plugin-rss": "^0.2.0-beta.58",
37
37
  "@ampless/plugin-schema-jsonld": "^0.1.1-beta.37",
38
38
  "@ampless/plugin-seo": "^0.2.0-beta.58",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ampless",
3
- "version": "1.0.0-beta.179",
3
+ "version": "1.0.0-beta.181",
4
4
  "description": "Create a new ampless project",
5
5
  "license": "MIT",
6
6
  "type": "module",