diff options
feat: optimize output when no anim
Diffstat (limited to 'src/routes/anim-gen.ts')
| -rw-r--r-- | src/routes/anim-gen.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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};}` : '', ] : []), ]) |