Skip to content

Commit 3c8578d

Browse files
htlin222claude
andcommitted
fix: steps/agenda desc text used sub1_color (near-invisible on slide)
The Steps minter's description and one Agenda template's item color bound to sub1_color (#E7EAE7) — a near-white background tint — so the inserted text was almost invisible and didn't match the dialog preview's #666. Use a readable mid-gray (#666666) matching the preview. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JBHyvN2grYj27kTTRPYmBK
1 parent becf1d8 commit 3c8578d

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/util/agenda_minter.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ function buildAgendaTemplates_() {
135135
const accent =
136136
(typeof accent_color !== "undefined" && accent_color) || "#f29424";
137137
const text = (typeof text_color !== "undefined" && text_color) || "#000000";
138-
const sub1 = (typeof sub1_color !== "undefined" && sub1_color) || "#666666";
138+
// Readable mid-gray for subdued item text. NOT sub1_color — that's a
139+
// near-white background tint (#E7EAE7) and would be almost invisible.
140+
const sub1 = "#666666";
139141
return [
140142
{
141143
id: "numbered",

src/util/steps_minter.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ function buildStepsTemplates_() {
2727
(typeof accent_color !== "undefined" && accent_color) || "#f29424";
2828
const text =
2929
(typeof text_color !== "undefined" && text_color) || "#000000";
30-
const sub =
31-
(typeof sub1_color !== "undefined" && sub1_color) || "#666666";
30+
// Description text must be a readable mid-gray (matches the dialog preview's
31+
// #666). Do NOT use sub1_color — that's a near-white background tint
32+
// (#E7EAE7) and renders almost invisible on a white slide.
33+
const sub = "#666666";
3234
return [
3335
{
3436
id: "main",

0 commit comments

Comments
 (0)