summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
authorEdoardo Odorico2017-12-28 19:21:52 +0100
committerEdoardo Odorico2018-01-05 00:15:13 +0100
commit6fc2c39eda766cffc7ef5c9e1d3d3cbce8ab7590 (patch)
tree0824f15f9db94cb80d39c2c7a0295205b94d160b /public/views
parenta8fa88831705625e053c7d493a4b2f83b7b2a4a8 (diff)
:sparkles: Implemented dark theme.
Signed-off-by: Edoardo Odorico <edoubuntu@gmail.com>
Diffstat (limited to 'public/views')
-rw-r--r--public/views/hackmd/header.ejs5
1 files changed, 5 insertions, 0 deletions
diff --git a/public/views/hackmd/header.ejs b/public/views/hackmd/header.ejs
index 80df2c77..b87f21fa 100644
--- a/public/views/hackmd/header.ejs
+++ b/public/views/hackmd/header.ejs
@@ -96,6 +96,11 @@
<input type="radio" name="mode" autocomplete="off"><i class="fa fa-pencil"></i>
</label>
</div>
+ <div class="btn-group" data-toggle="buttons">
+ <label class="btn ui-night" title="<%= __('Night Theme') %>">
+ <input type="checkbox" name="night"><i class="fa fa-moon-o"></i>
+ </label>
+ </div>
<span class="btn btn-link btn-file ui-help" title="<%= __('Help') %>" data-toggle="modal" data-target=".help-modal">
<i class="fa fa-question-circle"></i>
</span>