diff --git a/docs/themes.md b/docs/themes.md index 646819463..07009f762 100644 --- a/docs/themes.md +++ b/docs/themes.md @@ -2,23 +2,27 @@ There is a handful of themes available, both official and community-made. Copy [Vue](//vuejs.org) and [buble](//buble.surge.sh) website custom theme and [@liril-net](https://github.com/liril-net) contribution to the theme of the black style. + ```html - - - - + + + + ``` + !> Compressed files are available in `/lib/themes/`. + ```html - - - - + + + + ``` + If you have any ideas or would like to develop a new theme, you are welcome to submit a [pull request](https://github.com/docsifyjs/docsify/pulls). @@ -47,10 +51,10 @@ If you have any ideas or would like to develop a new theme, you are welcome to s var themes = Docsify.dom.findAll('[rel="stylesheet"]'); preview.onclick = function (e) { - var title = e.target.getAttribute('data-theme') + var title = e.target.getAttribute('data-theme'); themes.forEach(function (theme) { - theme.disabled = theme.title !== title + theme.disabled = theme.title !== title; }); };