@press2ai/theme-specialist-glossy 0.4.0 → 0.4.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@press2ai/theme-specialist-glossy",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Classless, AI-first theme inspired by Stripe. 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/styles/glossy.css
CHANGED
|
@@ -110,6 +110,7 @@ form[role="search"]:focus-within { border-color: var(--violet); }
|
|
|
110
110
|
form[role="search"] input {
|
|
111
111
|
flex: 1; min-width: 0; border: none; background: transparent; color: var(--ink);
|
|
112
112
|
padding: 0 var(--g3); font-size: var(--t-sm); font-family: var(--font); outline: none;
|
|
113
|
+
-webkit-appearance: none; appearance: none;
|
|
113
114
|
}
|
|
114
115
|
form[role="search"] input::placeholder { color: var(--ink-3); }
|
|
115
116
|
form[role="search"] button {
|
package/src/templates/catalog.ts
CHANGED
|
@@ -13,7 +13,7 @@ export function catalogHero(p: CatalogHeroProps): string {
|
|
|
13
13
|
const badge = p.badge ? `<p><small>${esc(p.badge)}</small></p>` : '';
|
|
14
14
|
const subtitle = p.subtitle ? `<p>${esc(p.subtitle)}</p>` : '';
|
|
15
15
|
const search = p.searchAction !== undefined ? `<form role="search" action="${esc(p.searchAction ?? '/')}" method="get">
|
|
16
|
-
<input type="
|
|
16
|
+
<input type="search" name="q" placeholder="${esc(p.searchPlaceholder ?? 'Szukaj...')}" value="${esc(p.searchValue ?? '')}" />
|
|
17
17
|
<button type="submit">Szukaj</button>
|
|
18
18
|
</form>` : '';
|
|
19
19
|
return `<hgroup>
|