@gramlot/gramlot 0.2.6 → 0.2.7

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": "@gramlot/gramlot",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Declarative HTML/SVG interfaces with live data binding, authored in JavaScript or Python.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -1,12 +1,12 @@
1
1
  # Gramlot Base theme
2
2
 
3
- `theme.css` is a standalone application stylesheet. Include it once on a page built with Gramlot Source. It has no JavaScript, server, or database dependency. Example pages and the runner can reference this file by URL; they do not need a copy.
3
+ `theme.css` is a standalone application stylesheet. Include it once on a page built with Gramlot Source. It has no JavaScript, server, or database dependency. Pages, including the example pages of `gramlot-examples`, reference this file by URL; they do not need a copy.
4
4
 
5
5
  ```html
6
6
  <link rel="stylesheet" href="/themes/gramlot-base/theme.css">
7
7
  ```
8
8
 
9
- The URL above is illustrative: the host must serve this file at that path. The theme styles semantic HTML, forms, tables, dialogs, details, code, focus states, and a few optional layout classes: `.example-page`, `.stack`, `.grid`, `.card`, `.muted`, and fluid SVG `.example-art`. Secondary button variants are `.button--secondary` and `.button--quiet`; status chips use `.status` with a semantic modifier. SVG icons can use `.gramlot-icon` (fill) or `.gramlot-icon--stroke` (stroke) and inherit `currentColor`. Supply an accessible name or mark decorative icons `aria-hidden="true"` in the application.
9
+ The adapters of `gramlot-py-server` and `gramlot-js-server` serve the themes packaged with the core at `/themes/…`, below the mount prefix, and `@gramlot/gramlot-serverless` copies or inlines them in its export. Another host must serve this file at that path. The theme styles semantic HTML, forms, tables, dialogs, details, code, focus states, and a few optional layout classes: `.example-page`, `.stack`, `.grid`, `.card`, `.muted`, and fluid SVG `.example-art`. Secondary button variants are `.button--secondary` and `.button--quiet`; status chips use `.status` with a semantic modifier. SVG icons can use `.gramlot-icon` (fill) or `.gramlot-icon--stroke` (stroke) and inherit `currentColor`. Supply an accessible name or mark decorative icons `aria-hidden="true"` in the application.
10
10
 
11
11
  ## Tokens and extension
12
12
 
@@ -27,4 +27,4 @@ Modern evergreen browsers are the intended target. Cascade layers, `clamp()`, CS
27
27
 
28
28
  Syntax highlighting uses `.hljs-*` token classes mapped to the same semantic colors in light and dark mode. Python and JavaScript detection belongs to the runtime; the theme only styles the resulting code spans.
29
29
 
30
- The base text size is 14px with compact headings and spacing. Runner navigation uses the approved navy navigation surface, blue selected item and yellow brand accent; these are the existing palette tokens, not new colors.
30
+ The base text size is 14px with compact headings and spacing. Navigation surfaces use the tokens `--gramlot-navigation` and `--gramlot-navigation-text`, the approved navy surface; a selected item uses the blue and the brand accent the yellow of the existing palette, not new colors.