sagadeck 1.9.0 → 1.10.0
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/README.md +7 -1
- package/SKILL.md +1 -1
- package/docs/ANDAMENTO.md +115 -0
- package/docs/REFERENCIA.md +48 -2
- package/package.json +4 -4
- package/src/ai/context.js +7 -2
- package/src/ai/deck-ai.js +3 -1
- package/src/api-client.js +42 -10
- package/src/code-highlight.js +19 -2
- package/src/code-language.js +13 -0
- package/src/runtime/api-core.js +122 -11
- package/src/runtime/api-ui.js +2 -1
- package/src/runtime/skins/aurora-dev.css +39 -0
- package/src/runtime/skins/terminal-pro.css +33 -0
- package/src/studio/ai-chat-route.js +26 -7
- package/src/studio/developer-starters.js +46 -0
- package/src/studio/library-routes.js +7 -0
- package/src/studio/public/about.js +68 -0
- package/src/studio/public/app.js +2 -1
- package/src/studio/public/chat.js +5 -1
- package/src/studio/public/developer-authoring.css +12 -0
- package/src/studio/public/developer-authoring.js +306 -0
- package/src/studio/public/generation-guide.js +42 -0
- package/src/studio/public/index.html +18 -0
- package/src/studio/public/library.css +36 -0
- package/src/studio/public/library.html +4 -1
- package/src/studio/public/library.js +115 -28
- package/src/studio/public/slide-form.js +9 -14
- package/src/studio/public/style.css +2 -0
- package/src/studio/public/ui-icons.js +1 -1
- package/src/studio/server.js +2 -2
- package/src/themes.js +48 -0
package/src/themes.js
CHANGED
|
@@ -25,6 +25,16 @@ const MUSGO_FACES = {
|
|
|
25
25
|
quote: { css: "font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; line-height: 1.14;", pptx: { face: "Georgia", italic: true } },
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
+
// Desenvolvimento: fontes já embutidas, com corpo de leitura e código sem ligaduras que mudem a pontuação.
|
|
29
|
+
const DEV_FACES = {
|
|
30
|
+
display: { css: "font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-weight: 700; letter-spacing: -0.045em; line-height: 1.02;", pptx: { face: "Segoe UI", bold: true } },
|
|
31
|
+
heading: { css: "font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1;", pptx: { face: "Segoe UI Semibold" } },
|
|
32
|
+
body: { css: "font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-weight: 400; line-height: 1.45;", pptx: { face: "Segoe UI" }, pptxBold: { face: "Segoe UI Semibold" } },
|
|
33
|
+
label: { css: `font-family: 'IBM Plex Mono', ${SYS_MONO}; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.25;`, pptx: { face: "Cascadia Mono" } },
|
|
34
|
+
mono: { css: `font-family: 'IBM Plex Mono', ${SYS_MONO}; font-weight: 400; font-variant-ligatures: none; line-height: 1.5;`, pptx: { face: "Cascadia Mono" }, pptxBold: { face: "Cascadia Mono SemiBold" } },
|
|
35
|
+
quote: { css: "font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-weight: 400; letter-spacing: -0.02em; line-height: 1.2;", pptx: { face: "Segoe UI" } },
|
|
36
|
+
};
|
|
37
|
+
|
|
28
38
|
export const THEMES = {
|
|
29
39
|
sinal: {
|
|
30
40
|
label: "Sinal — sinalização/segurança: DIN condensada, amarelo de aviso, pictogramas",
|
|
@@ -153,6 +163,44 @@ export const THEMES = {
|
|
|
153
163
|
radius: 6, deco: "grid",
|
|
154
164
|
},
|
|
155
165
|
|
|
166
|
+
"terminal-pro": {
|
|
167
|
+
label: "Terminal Pro — programação e APIs: grafite, verde menta, janelas de código e rede viva discreta",
|
|
168
|
+
dark: true,
|
|
169
|
+
colors: {
|
|
170
|
+
paper: "0B1118", ink: "EAF5F1", accent: "74E8B4", alert: "FF9C97",
|
|
171
|
+
muted: "A4B8B4", line: "2B4145", surface: "131E28", surfaceDark: "0D1720",
|
|
172
|
+
c1: "74E8B4", c2: "83CCF8", c3: "FFCB8A", c4: "CEB4FF", c5: "FF9C97",
|
|
173
|
+
},
|
|
174
|
+
tones: {
|
|
175
|
+
light: { bg: "paper", fg: "ink", muted: "muted", line: "line", surface: "surface", hi: "accent", em: "accent", onHi: "0B1118" },
|
|
176
|
+
dark: { bg: "070D13", fg: "ink", muted: "muted", line: "line", surface: "surfaceDark", hi: "accent", em: "accent", onHi: "0B1118" },
|
|
177
|
+
accent: { bg: "0D211D", fg: "ink", muted: "B2C8BF", line: "31534A", surface: "152F28", hi: "accent", em: "accent", onHi: "0B1118" },
|
|
178
|
+
alert: { bg: "27151B", fg: "FFF0EC", muted: "DDB9BD", line: "65404A", surface: "382029", hi: "alert", em: "alert", onHi: "0B1118" },
|
|
179
|
+
},
|
|
180
|
+
fontFaces: [],
|
|
181
|
+
faces: DEV_FACES,
|
|
182
|
+
radius: 12, deco: "none", coverAmbient: "rede",
|
|
183
|
+
},
|
|
184
|
+
|
|
185
|
+
"aurora-dev": {
|
|
186
|
+
label: "Aurora Dev — desenvolvimento criativo: azul noite, lilás e ciano, painéis luminosos e rede viva",
|
|
187
|
+
dark: true,
|
|
188
|
+
colors: {
|
|
189
|
+
paper: "101329", ink: "F1F2FF", accent: "C4ADFF", alert: "FFADCA",
|
|
190
|
+
muted: "B5BBD9", line: "394266", surface: "1B2240", surfaceDark: "151B35",
|
|
191
|
+
c1: "C4ADFF", c2: "83E7EF", c3: "FFADCA", c4: "A9C8FF", c5: "FFDCA2",
|
|
192
|
+
},
|
|
193
|
+
tones: {
|
|
194
|
+
light: { bg: "paper", fg: "ink", muted: "muted", line: "line", surface: "surface", hi: "accent", em: "83E7EF", onHi: "101329" },
|
|
195
|
+
dark: { bg: "090D20", fg: "ink", muted: "muted", line: "line", surface: "surfaceDark", hi: "accent", em: "83E7EF", onHi: "101329" },
|
|
196
|
+
accent: { bg: "211737", fg: "ink", muted: "CCC0E5", line: "594572", surface: "302349", hi: "accent", em: "83E7EF", onHi: "101329" },
|
|
197
|
+
alert: { bg: "301A32", fg: "FFF1F8", muted: "DEC0D4", line: "684C65", surface: "43273F", hi: "alert", em: "alert", onHi: "101329" },
|
|
198
|
+
},
|
|
199
|
+
fontFaces: [],
|
|
200
|
+
faces: DEV_FACES,
|
|
201
|
+
radius: 24, deco: "none", coverAmbient: "rede",
|
|
202
|
+
},
|
|
203
|
+
|
|
156
204
|
jornal: {
|
|
157
205
|
label: "Jornal — manchete: Franklin Gothic pesada, papel-jornal, azul-tinta",
|
|
158
206
|
colors: {
|