浏览代码

Note about rebuilding themes

Noah 7 年前
父节点
当前提交
b9ad0020b0
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      THEMES.md

+ 4 - 0
THEMES.md 查看文件

@@ -71,6 +71,10 @@ You can set both a `backgroundColor` and a `backgroundImage`, in which case the
71 71
 * `foregroundColor` - A convenience option for setting `waveColor` and `captionColor` to the same thing.
72 72
 * `maxDuration` - Maximum duration of an audiogram, in seconds (e.g. set this to `30` to enforce the 30-second limit for Twitter)
73 73
 
74
+### Making changes
75
+
76
+After you've edited `settings/themes.json`, you'll want to run either `npm run rebuild` or `npm start` to rebundle the new themes for the editor.
77
+
74 78
 ### A note about layout
75 79
 
76 80
 When designing your own themes, keep in mind that web browsers and social apps put a variety of overlays on videos when they're paused or playing, like a progress bar at the bottom or a fat play button in the middle. Try to space things out so that important parts of your design aren't obscured.