themes icon indicating copy to clipboard operation
themes copied to clipboard

Suggestion: Also showcase `top` on Webiste

Open potatoqualitee opened this issue 2 years ago • 3 comments

Cyprus - run uses the most amount of colors in my theme

image

but top looks magical

image

potatoqualitee avatar Aug 20 '22 08:08 potatoqualitee

Aha, yeah it does. Sadly I did all those code examples manually, so it might be pretty hard to do the one in your example. I made using some weird xml-sort of syntax, see here: https://github.com/atomcorp/themes/blob/master/app/src/components/ConsoleTest/codeblocks.ts. Maybe that was dumb.

In short if you want to provide a new one, feel free 😁

atomcorp avatar Aug 23 '22 17:08 atomcorp

haha i like. if i get some time, i sure will!

potatoqualitee avatar Aug 23 '22 18:08 potatoqualitee

It might seem like overkill but what if we start using something like xterm.js for the terminal preview? We can simply take examples from actual terminals and port them to render in xterm.js running in the browser. Bonus, we can use color schemes directly in xterm.js as they use the same JSON format.

Edit: I just saw the project TODO. xterm.js renders text and cursor in two canvas layers as well.

griimick avatar Oct 30 '22 11:10 griimick