From f403c4e112e4f502002d0726a71cf99879914cca Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Sat, 17 Feb 2024 11:12:07 +0100 Subject: [PATCH] Improvements to Terminal Themes page --- docs/manual/player/themes.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/manual/player/themes.md b/docs/manual/player/themes.md index 5cf5f25..e7dbea7 100644 --- a/docs/manual/player/themes.md +++ b/docs/manual/player/themes.md @@ -15,20 +15,20 @@ AsciinemaPlayer.create('/demo.cast', document.getElementById('demo'), { name | added in version | based on -----|------------------|------- -`asciinema` | 2.0 | -`dracula` | 3.6 | https://draculatheme.com -`monokai` | 2.0 | https://github.com/chriskempson/base16 -`nord` | 3.3 | https://github.com/arcticicestudio/nord -`solarized-dark` | 2.0 | https://ethanschoonover.com/solarized/ -`solarized-light` | 2.0 | https://ethanschoonover.com/solarized/ -`tango` | 2.0 | https://en.wikipedia.org/wiki/Tango_Desktop_Project +`asciinema` | 2.0 | +`dracula` | 3.6 | [draculatheme.com](https://draculatheme.com) +`monokai` | 2.0 | [github.com/chriskempson/base16](https://github.com/chriskempson/base16) +`nord` | 3.3 | [github.com/arcticicestudio/nord](https://github.com/arcticicestudio/nord) +`solarized-dark` | 2.0 | [ethanschoonover.com/solarized/](https://ethanschoonover.com/solarized/) +`solarized-light` | 2.0 | [ethanschoonover.com/solarized/](https://ethanschoonover.com/solarized/) +`tango` | 2.0 | [en.wikipedia.org/wiki/Tango_Desktop_Project](https://en.wikipedia.org/wiki/Tango_Desktop_Project) ## Custom themes To use a custom theme, first define a CSS class named -`asciinema-player-theme-`, e.g. `asciinema-player-theme-foobar`. Then, -set the [`theme` option](options.md#theme) to the name of the theme, e.g. -`theme: 'foobar'`. +`asciinema-player-theme-`, e.g. `asciinema-player-theme-foobar`. Then, set +the [`theme` option](options.md#theme) to the name of the theme, e.g. `theme: +'foobar'`. asciinema player themes use [custom CSS properties](https://developer.mozilla.org/en-US/docs/Web/CSS/--*), aka CSS