Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

sidebars: Update typography for sidebar titles.

Karl Stolley14695dd26ab0
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 70bb5ed112e..859edaa1031 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -328,6 +328,10 @@
--message-box-markdown-aligned-vertical-space: 5px;
}
+ /* Shared sidebar typography and effects values. */
+ --font-weight-sidebar-heading: 600;
+ --letter-spacing-sidebar-heading: 0.0469em;
+
/*
Message box elements and values.
*/
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 677ae89a0ef..c101fcb1183 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -12,8 +12,8 @@
.left-sidebar-title {
color: var(--color-text-sidebar-heading);
font-size: inherit;
- font-weight: normal;
- display: inline;
+ font-weight: var(--font-weight-sidebar-heading);
+ letter-spacing: var(--letter-spacing-sidebar-heading);
/* Override heading margin from Bootstrap. */
margin: 0;
/* Show an ellipsis on a heading when
diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.css
index 640ec8bb1fb..8dd437a132f 100644
--- a/web/styles/right_sidebar.css
+++ b/web/styles/right_sidebar.css
@@ -15,8 +15,8 @@ $user_status_emoji_width: 24px;
.right-sidebar-title {
color: var(--color-text-sidebar-heading);
font-size: inherit;
- font-weight: normal;
- display: inline;
+ font-weight: var(--font-weight-sidebar-heading);
+ letter-spacing: var(--letter-spacing-sidebar-heading);
}
#buddy_list_wrapper {