From 546cb501ea259880a8420a692c603d1e6ad905ca Mon Sep 17 00:00:00 2001 From: memdmp Date: Wed, 14 Jan 2026 01:34:59 +0100 Subject: feat: optimize output when no anim --- src/routes/anim-gen.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/routes/anim-gen.ts') diff --git a/src/routes/anim-gen.ts b/src/routes/anim-gen.ts index 67b1d6f..fcbb23d 100644 --- a/src/routes/anim-gen.ts +++ b/src/routes/anim-gen.ts @@ -475,9 +475,9 @@ ${ttyLines ...(v.kind === 'text' ? [ v.colour - ? `.ttytext-block.text-\\[\\${v.colour}\\]{color:${v.colour};}` + ? `.ttytext-block.t\\${v.colour}{color:${v.colour};}` : '', - v.bg ? `.ttytext-block.bg-\\[\\${v.bg}\\]{background:${v.bg};}` : '', + v.bg ? `.ttytext-block.b\\${v.bg}{background:${v.bg};}` : '', ] : []), ]) -- cgit v1.2.3