settings: Add a development-only setting for less dense mode.

This should make it easier for us to iterate on a less-dense Zulip.

We create two classes on body, less_dense_mode and more_dense_mode, so
that it's easy as we refactor to separate the two concepts from things
like colors that are independent.
This commit is contained in:
Tim Abbott
2018-05-24 11:53:26 -07:00
parent dc54260cce
commit 6967b6519d
10 changed files with 55 additions and 3 deletions

View File

@@ -84,9 +84,10 @@ function setup_settings_label() {
realm_name_in_notifications: i18n.t("Include organization name in subject of missed message emails"),
// display settings
night_mode: i18n.t("Night mode"),
dense_mode: i18n.t("Dense mode"),
high_contrast_mode: i18n.t("High contrast mode"),
left_side_userlist: i18n.t("User list on left sidebar in narrow windows"),
night_mode: i18n.t("Night mode"),
twenty_four_hour_time: i18n.t("24-hour time (17:00 instead of 5:00 PM)"),
translate_emoticons: i18n.t("Translate emoticons (convert <code>:)</code> to 😃 in messages)"),
};