Skip to content

Allow users to change the theme #16

Answered by chuanqisun
benthecoder asked this question in Ideas
Discussion options

You must be logged in to vote

Good news, with #21, light theme (and any base16 theme) is now possible. See Demo | Source. You can try other themes with this tool: https://terminal.sexy/

The default template exposes all theme variables in the :root {} css declaration. The example shows how you can change the parameters. For advanced theming, you can write additional css in that file. Let me know if this works for you @benthecoder, @spitlo.

Technical note: I chose to inline custom snippet into the final output because GitHub host has a 10 minute cache on linked file. I don't want to deal with cache invalidation at this point.

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@onnyyonn
Comment options

@chuanqisun
Comment options

@onnyyonn
Comment options

@chuanqisun
Comment options

@onnyyonn
Comment options

Answer selected by chuanqisun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #5 on May 04, 2021 05:07.