@cyber-dash-tech/revela 0.6.0 → 0.6.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.
@@ -171,8 +171,8 @@ Recommended reusable primitives:
171
171
  - Every slide uses `.slide-canvas` sized to `1920px x 1080px`, scaled by JS.
172
172
  - Every `<section class="slide">` must include `slide-qa="true"` or `slide-qa="false"`.
173
173
  - Use `slide-qa="true"` for dense content layouts and `slide-qa="false"` for structural or intentionally sparse layouts.
174
- - Default canvas padding: `10px` (minimal frame; the page nearly fills the canvas).
175
- - The paper page should usually sit inside the canvas with `padding: 56px 64px 64px`.
174
+ - `.slide-canvas` is the export surface and must keep `padding: 0`.
175
+ - Put safe-area spacing on `.page` or inner layout containers, not on `.slide-canvas`.
176
176
  - Target strong fill on content-heavy slides while preserving editorial whitespace.
177
177
 
178
178
  ### HTML Structure
@@ -240,7 +240,7 @@ body {
240
240
  transform-origin: center center;
241
241
  position: relative;
242
242
  overflow: hidden;
243
- padding: 10px;
243
+ padding: 0;
244
244
  }
245
245
 
246
246
  .page {
@@ -65,7 +65,7 @@
65
65
  transform-origin: center center;
66
66
  position: relative;
67
67
  overflow: hidden;
68
- padding: 10px;
68
+ padding: 0;
69
69
  }
70
70
 
71
71
  .page {
@@ -89,7 +89,7 @@ For photography, UI screenshots, webpages, and product surfaces, do not convert
89
89
 
90
90
  - The browser viewport is a neutral dark frame.
91
91
  - The slide page is a light neutral surface.
92
- - Default canvas padding is compact: `10px`, so preview and generated decks have a large usable page.
92
+ - `.slide-canvas` is the export surface and must keep `padding: 0`; put safe-area spacing on `.page` or inner layout containers.
93
93
  - Use page edge, rules, cards, panels, and quiet geometry as neutral structure. Avoid built-in industry-specific imagery.
94
94
 
95
95
  ### Grid System
@@ -132,7 +132,7 @@ Every generated presentation must use this exact HTML skeleton:
132
132
  html { scroll-snap-type: y mandatory; overflow-y: scroll; height: 100%; }
133
133
  body { background: var(--bg-frame); color: var(--text-primary); font-family: var(--font-body); -webkit-font-smoothing: antialiased; height: 100%; }
134
134
  .slide { min-height: 100dvh; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--bg-frame); }
135
- .slide-canvas { width: 1920px; height: 1080px; flex-shrink: 0; transform-origin: center center; position: relative; overflow: hidden; padding: 10px; }
135
+ .slide-canvas { width: 1920px; height: 1080px; flex-shrink: 0; transform-origin: center center; position: relative; overflow: hidden; padding: 0; }
136
136
  .page { position: relative; width: 100%; height: 100%; background: var(--bg-page); color: var(--text-primary); padding: 56px 64px 64px; box-shadow: 0 24px 80px var(--shadow-soft); display: flex; flex-direction: column; overflow: hidden; }
137
137
  .page.alt { background: var(--bg-page-alt); }
138
138
  .eyebrow, .caption, .meta-label { font-size: var(--font-size-meta); line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
@@ -35,7 +35,7 @@
35
35
  html { scroll-snap-type: y mandatory; overflow-y: scroll; height: 100%; }
36
36
  body { background: var(--bg-frame); color: var(--text-primary); font-family: var(--font-body); -webkit-font-smoothing: antialiased; height: 100%; }
37
37
  .slide { min-height: 100dvh; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--bg-frame); }
38
- .slide-canvas { width: 1920px; height: 1080px; flex-shrink: 0; transform-origin: center center; position: relative; overflow: hidden; padding: 10px; }
38
+ .slide-canvas { width: 1920px; height: 1080px; flex-shrink: 0; transform-origin: center center; position: relative; overflow: hidden; padding: 0; }
39
39
  .page { position: relative; width: 100%; height: 100%; background: var(--bg-page); color: var(--text-primary); padding: 56px 64px 64px; box-shadow: 0 24px 80px var(--shadow-soft); display: flex; flex-direction: column; overflow: hidden; }
40
40
  .page.alt { background: var(--bg-page-alt); }
41
41
  .eyebrow, .caption, .meta-label { font-size: var(--font-size-meta); line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
@@ -109,8 +109,8 @@ All sizes are fixed `px` for the 1920x1080 canvas. JS `transform: scale()` handl
109
109
  - Every slide uses `.slide-canvas` sized to `1920px x 1080px`, scaled by JS.
110
110
  - Every `<section class="slide">` must include `slide-qa="true"` or `slide-qa="false"`.
111
111
  - Use `slide-qa="true"` for dense content layouts and `slide-qa="false"` for structural or intentionally sparse layouts.
112
- - Default canvas padding: `72px 80px`.
113
- - The paper page should usually sit inside the canvas with `padding: 56px 64px 64px`.
112
+ - `.slide-canvas` is the export surface and must keep `padding: 0`.
113
+ - Put safe-area spacing on `.page` or inner layout containers, not on `.slide-canvas`.
114
114
  - Target strong fill on content-heavy slides while preserving editorial whitespace.
115
115
 
116
116
  ### HTML Structure
@@ -178,7 +178,7 @@ body {
178
178
  transform-origin: center center;
179
179
  position: relative;
180
180
  overflow: hidden;
181
- padding: 72px 80px;
181
+ padding: 0;
182
182
  }
183
183
 
184
184
  .page {
@@ -59,7 +59,7 @@
59
59
  transform-origin: center center;
60
60
  position: relative;
61
61
  overflow: hidden;
62
- padding: 72px 80px;
62
+ padding: 0;
63
63
  }
64
64
 
65
65
  .page {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyber-dash-tech/revela",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "OpenCode plugin that turns AI into an HTML slide deck generator",
5
5
  "type": "module",
6
6
  "main": "./index.ts",