@press2ai/theme-specialist-glossy 0.11.7 → 0.11.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@press2ai/theme-specialist-glossy",
3
- "version": "0.11.7",
3
+ "version": "0.11.9",
4
4
  "description": "Classless, AI-first glossy theme. Framework-agnostic templates (Hono, Astro, raw HTML). Semantic HTML, Schema.org microdata, JSON-LD — built for LLM crawlers.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/ai.ts CHANGED
@@ -59,7 +59,7 @@ export function getAiManifest(opts: {
59
59
 
60
60
  powered_by: {
61
61
  name: '@press2ai/theme-specialist-glossy',
62
- version: '0.11.7',
62
+ version: '0.11.9',
63
63
  homepage: 'https://github.com/press2ai/theme-specialist-glossy',
64
64
  },
65
65
 
@@ -41,7 +41,6 @@ main {
41
41
  }
42
42
  main:not(:has(> section, > article, > div, > nav)) {
43
43
  padding-top: var(--g5); padding-bottom: var(--g5);
44
- max-width: var(--measure); margin-inline: auto;
45
44
  }
46
45
  main > * + * { margin-top: var(--g5); }
47
46
  @media (max-width: 640px) {
@@ -1,11 +1,11 @@
1
- export const css = `label { display: block; font-size: var(--t-sm); color: var(--ink-2); font-weight: 500; margin-bottom: var(--g1); }
2
- input[type="text"] {
1
+ export const css = `form:not([role="search"]) label { display: block; font-size: var(--t-sm); color: var(--ink-2); font-weight: 500; margin-bottom: var(--g1); }
2
+ form:not([role="search"]) input[type="text"] {
3
3
  display: block; width: 100%; margin-top: var(--g1); height: 44px;
4
4
  padding: 0 var(--g3); background: var(--white); border: 1px solid var(--line);
5
5
  border-radius: var(--r); color: var(--ink); font-size: var(--t-sm); font-family: var(--font);
6
6
  transition: border-color var(--ease);
7
7
  }
8
- input[type="text"]:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-glow); }
8
+ form:not([role="search"]) input[type="text"]:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-glow); }
9
9
  form:not([role="search"]) button[type="submit"] {
10
10
  margin-top: var(--g3); height: 44px; padding: 0 var(--g4);
11
11
  border: none; border-radius: var(--pill); background: var(--violet); color: var(--white);
@@ -64,7 +64,6 @@ main {
64
64
  }
65
65
  main:not(:has(> section, > article, > div, > nav)) {
66
66
  padding-top: var(--g5); padding-bottom: var(--g5);
67
- max-width: var(--measure); margin-inline: auto;
68
67
  }
69
68
  main > * + * { margin-top: var(--g5); }
70
69
 
@@ -203,7 +202,7 @@ section:has(> ol) {
203
202
  background: var(--white);
204
203
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
205
204
  }
206
- section:has(> ol) > * { max-width: var(--container); margin-inline: auto; }
205
+ section:has(> ol) > * { max-width: var(--container); }
207
206
  section:has(> ol) > h2 { text-align: center; margin-bottom: var(--g4); }
208
207
  section > ol {
209
208
  list-style: none; padding: 0; display: grid;
@@ -304,14 +303,14 @@ main > nav a {
304
303
  main > nav a:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-1px); }
305
304
 
306
305
  /* Forms */
307
- label { display: block; font-size: var(--t-sm); color: var(--ink-2); font-weight: 500; margin-bottom: var(--g1); }
308
- input[type="text"] {
306
+ form:not([role="search"]) label { display: block; font-size: var(--t-sm); color: var(--ink-2); font-weight: 500; margin-bottom: var(--g1); }
307
+ form:not([role="search"]) input[type="text"] {
309
308
  display: block; width: 100%; margin-top: var(--g1); height: 44px;
310
309
  padding: 0 var(--g3); background: var(--white); border: 1px solid var(--line);
311
310
  border-radius: var(--r); color: var(--ink); font-size: var(--t-sm); font-family: var(--font);
312
311
  transition: border-color var(--ease);
313
312
  }
314
- input[type="text"]:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-glow); }
313
+ form:not([role="search"]) input[type="text"]:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-glow); }
315
314
  form:not([role="search"]) button[type="submit"] {
316
315
  margin-top: var(--g3); height: 44px; padding: 0 var(--g4);
317
316
  border: none; border-radius: var(--pill); background: var(--violet); color: var(--white);
@@ -4,7 +4,7 @@ export const css = `section:has(> ol) {
4
4
  background: var(--white);
5
5
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
6
6
  }
7
- section:has(> ol) > * { max-width: var(--container); margin-inline: auto; }
7
+ section:has(> ol) > * { max-width: var(--container); }
8
8
  section:has(> ol) > h2 { text-align: center; margin-bottom: var(--g4); }
9
9
  section > ol {
10
10
  list-style: none; padding: 0; display: grid;
@@ -12,7 +12,7 @@ export interface LayoutProps {
12
12
  footerContent?: string;
13
13
  }
14
14
 
15
- const THEME_VERSION = '0.11.7';
15
+ const THEME_VERSION = '0.11.9';
16
16
 
17
17
  export function layout(props: LayoutProps, body: string): string {
18
18
  const {