浏览代码

Document theme variable exposition in README theming section

quilicicf 5 年之前
父节点
当前提交
e40fb3275d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      README.md

+ 1 - 0
README.md

@@ -1201,6 +1201,7 @@ Each theme is available as a separate stylesheet. To change theme you will need
 
 If you want to add a theme of your own see the instructions here: [/css/theme/README.md](https://github.com/hakimel/reveal.js/blob/master/css/theme/README.md).
 
+All theme variables are exposed as CSS custom properties in the pseudo-class `:root`. See [the list of exposed variables](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/exposer.scss).
 
 ## Speaker Notes