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.

tippy: Make background color of tooltips close to black.

Aman Agrawal430d1a411ed1
diff --git a/static/styles/zulip.css b/static/styles/zulip.css
index d3f1cddc793..d92dc51e11a 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -85,6 +85,42 @@ pre {
*/
font-family: "Source Sans 3", sans-serif !important;
+ .tippy-box {
+ background-color: hsl(0, 0%, 12%);
+
+ &[data-placement^="top"] {
+ > .tippy-arrow {
+ &::before {
+ border-top-color: hsl(0, 0%, 12%);
+ }
+ }
+ }
+
+ &[data-placement^="bottom"] {
+ > .tippy-arrow {
+ &::before {
+ border-bottom-color: hsl(0, 0%, 12%);
+ }
+ }
+ }
+
+ &[data-placement^="left"] {
+ > .tippy-arrow {
+ &::before {
+ border-left-color: hsl(0, 0%, 12%);
+ }
+ }
+ }
+
+ &[data-placement^="right"] {
+ > .tippy-arrow {
+ &::before {
+ border-right-color: hsl(0, 0%, 12%);
+ }
+ }
+ }
+ }
+
.tippy-content {
font-size: 13px;
}