-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Examples:
- https://github.com/Inbestigator/pokedex/blob/main/src/pages/pokemon.tsx
- https://gist.github.com/kkrypt0nn/a02506f3712ff2d1c8ca7c9e0aed7c06
- https://rebane2001.com/discord-colored-text-generator/
This may need to be a different file or export because I think it goes beyond basic formatting and may require a builder of some sort.
Potential setup 1:
coloredText()
.line("Text", [bgRed, textYellow]) // implies reset between lines
.line("Text 2", [textGreen, bgBlue])
Potential setup 2:
coloredText([
["text", bgblue, textYellow], //implies reset between lines
["text", textGreen, bgRed]
])
Potential setup 3:
// manual reset
coloredText()
.reset()
.bgBlue()
.textRed()
.text("text")
.reset()
.bgGreen()
.textYellow()
.text("text")
Metadata
Metadata
Assignees
Labels
No labels