Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

v0.3.3: light is white — glows re-graded to warm/cool white everywhere

nyblnet4aae5cf588a5
diff --git a/slides/index.html b/slides/index.html
index 2d301dcc..956359f3 100644
--- a/slides/index.html
+++ b/slides/index.html
@@ -57,7 +57,7 @@
<style>
#bento-splash{position:fixed;inset:0;z-index:9999;display:grid;place-content:center;justify-items:center;gap:26px;background:radial-gradient(130% 90% at 50% 38%,#25313f 0%,#161d26 58%,#0e1319 100%);pointer-events:none;transition:opacity .5s ease;animation:bsAuto .6s ease 9s both}
#bento-splash.done{opacity:0}
-.bs-mark{position:relative;width:104px;height:104px;border-radius:24px;background:#1c2635;box-shadow:0 26px 70px -16px rgba(226,80,45,.38),0 10px 34px rgba(0,0,0,.55);overflow:hidden;animation:bsIn .7s cubic-bezier(.22,1.4,.36,1) both,bsFloat 3.4s ease-in-out .9s infinite}
+.bs-mark{position:relative;width:104px;height:104px;border-radius:24px;background:#1c2635;box-shadow:0 26px 70px -16px rgba(255,238,214,.30),0 10px 34px rgba(0,0,0,.55);overflow:hidden;animation:bsIn .7s cubic-bezier(.22,1.4,.36,1) both,bsFloat 3.4s ease-in-out .9s infinite}
.bs-mark i{position:absolute;border-radius:9px;opacity:0;animation:bsTile .55s cubic-bezier(.25,1.5,.45,1) both}
.bs-b{left:12px;top:12px;width:24px;height:80px;background:#3d5a85;animation-delay:.18s}
.bs-a{right:12px;top:12px;width:50px;height:37px;background:#e2502d;animation-delay:.3s}
diff --git a/slides/package.json b/slides/package.json
index 0656800f..cf98591c 100644
--- a/slides/package.json
+++ b/slides/package.json
@@ -1,7 +1,7 @@
{
"name": "bento-slides",
"private": true,
- "version": "0.3.2",
+ "version": "0.3.3",
"type": "module",
"scripts": {
"dev": "vite",
diff --git a/slides/src/editor/panels.ts b/slides/src/editor/panels.ts
index 850917a1..96dff8a2 100644
--- a/slides/src/editor/panels.ts
+++ b/slides/src/editor/panels.ts
@@ -1122,5 +1122,5 @@ const SHADOW_PRESETS: Record<string, { x?: number; y?: number; blur: number; col
subtle: { y: 2, blur: 10, color: 'rgba(10,16,28,0.25)' },
soft: { y: 10, blur: 28, color: 'rgba(10,16,28,0.32)' },
elevated: { y: 24, blur: 56, color: 'rgba(8,12,22,0.45)' },
- glow: { blur: 40, color: 'rgba(226,80,45,0.45)' },
+ glow: { blur: 40, color: 'rgba(255,238,214,0.55)' },
}
diff --git a/slides/src/starterdeck.ts b/slides/src/starterdeck.ts
index 38dd75aa..1325ea46 100644
--- a/slides/src/starterdeck.ts
+++ b/slides/src/starterdeck.ts
@@ -255,7 +255,7 @@ const BOKEH_WARM =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80">' +
'<defs><filter id="bp-bk-w" x="-60%" y="-60%" width="220%" height="220%">' +
'<feGaussianBlur stdDeviation="7"/></filter></defs>' +
- '<circle cx="40" cy="40" r="21" fill="#F0653C" filter="url(#bp-bk-w)"/></svg>'
+ '<circle cx="40" cy="40" r="21" fill="#FFE3BD" filter="url(#bp-bk-w)"/></svg>'
const BOKEH_COOL =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80">' +
@@ -265,16 +265,16 @@ const BOKEH_COOL =
const AURORA_SHU =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600">' +
- '<defs><radialGradient id="bp-ga-am"><stop offset="0" stop-color="#E2502D" stop-opacity="0.20"/>' +
- '<stop offset="0.55" stop-color="#E2502D" stop-opacity="0.07"/>' +
- '<stop offset="1" stop-color="#E2502D" stop-opacity="0"/></radialGradient></defs>' +
+ '<defs><radialGradient id="bp-ga-am"><stop offset="0" stop-color="#FFEED6" stop-opacity="0.15"/>' +
+ '<stop offset="0.55" stop-color="#FFEED6" stop-opacity="0.05"/>' +
+ '<stop offset="1" stop-color="#FFEED6" stop-opacity="0"/></radialGradient></defs>' +
'<circle cx="300" cy="300" r="300" fill="url(#bp-ga-am)"/></svg>'
const AURORA_INDIGO =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600">' +
- '<defs><radialGradient id="bp-ga-bl"><stop offset="0" stop-color="#3D5A85" stop-opacity="0.18"/>' +
- '<stop offset="0.55" stop-color="#3D5A85" stop-opacity="0.06"/>' +
- '<stop offset="1" stop-color="#3D5A85" stop-opacity="0"/></radialGradient></defs>' +
+ '<defs><radialGradient id="bp-ga-bl"><stop offset="0" stop-color="#DDE7F5" stop-opacity="0.12"/>' +
+ '<stop offset="0.55" stop-color="#DDE7F5" stop-opacity="0.04"/>' +
+ '<stop offset="1" stop-color="#DDE7F5" stop-opacity="0"/></radialGradient></defs>' +
'<circle cx="300" cy="300" r="300" fill="url(#bp-ga-bl)"/></svg>'
const DOTS_PAPER =
@@ -727,7 +727,7 @@ export function starterDoc(): BentoDoc {
}),
shape('rect', {
id: 'sd-ch-btn', x: 964, y: 452, w: 220, h: 52, radius: 26, fill: SHU, fillGradient: GRAD_SHU,
- shadow: { y: 10, blur: 26, color: 'rgba(226,80,45,0.35)' }, link: scene.to,
+ shadow: { y: 10, blur: 26, color: 'rgba(0,0,0,0.4)' }, link: scene.to,
}),
text({
id: 'sd-ch-btnlabel', x: 964, y: 466, w: 220, h: 28, html: scene.chip, align: 'center',
@@ -878,7 +878,7 @@ export function starterDoc(): BentoDoc {
html: 'Press <b>Esc</b> — this deck is already your copy of the editor.',
fontSize: 17, fontWeight: 500, color: MIST, align: 'center',
}),
- shape('rect', { x: 562, y: 644, w: 156, h: 44, radius: 22, fill: SHU, fillGradient: GRAD_SHU, shadow: { y: 10, blur: 26, color: 'rgba(226,80,45,0.4)' } }),
+ shape('rect', { x: 562, y: 644, w: 156, h: 44, radius: 22, fill: SHU, fillGradient: GRAD_SHU, shadow: { y: 10, blur: 26, color: 'rgba(0,0,0,0.4)' } }),
text({
x: 562, y: 655, w: 156, h: 24, html: 'bento.page', fontSize: 16, fontWeight: 700,
color: INK, align: 'center',