Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
popovers: Remove "light-border" Tippyjs theme usage.
Sayam Samal3070c78cc514
diff --git a/web/src/bundles/app.ts b/web/src/bundles/app.tsindex 11bacdfd1b5..1628fb31d57 100644--- a/web/src/bundles/app.ts+++ b/web/src/bundles/app.ts@@ -17,7 +17,6 @@ import "tippy.js/dist/tippy.css";// Adds color inheritance to the borders when using the default CSS Arrow.// https://atomiks.github.io/tippyjs/v6/themes/#arrow-borderimport "tippy.js/dist/border.css";-import "tippy.js/themes/light-border.css";import "katex/dist/katex.css";import "flatpickr/dist/flatpickr.css";import "flatpickr/dist/plugins/confirmDate/confirmDate.css";diff --git a/web/src/popover_menus.ts b/web/src/popover_menus.tsindex 849cd298e7c..1732df02f47 100644--- a/web/src/popover_menus.ts+++ b/web/src/popover_menus.ts@@ -196,10 +196,6 @@ export const default_popover_props: Partial<tippy.Props> = {trigger: "click",interactive: true,hideOnClick: true,- /* The light-border TippyJS theme is a bit of a misnomer; it- is a popover styling similar to Bootstrap. We've also customized- its CSS to support Zulip's dark theme. */- theme: "light-border",// The maxWidth has been set to "none" to avoid the default value of 300px.maxWidth: "none",touch: true,diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.cssindex 613b9fdfd5a..98c2fad6209 100644--- a/web/styles/dark_theme.css+++ b/web/styles/dark_theme.css@@ -27,17 +27,6 @@}}- /* Extend the 'light-border' TippyJS theme, which is intended for- popovers/menus that should use default background colors, to use- our dark theme colors in Zulip's dark theme.- */- .tippy-box[data-theme~="light-border"] {- .tippy-content a,- p {- color: hsl(236deg 33% 90%);- }- }-.dropdown-list-delete {/* hsl(7deg 100% 74%) corresponds to var(--red-250) */color: color-mix(