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.

portico: Load portico_variables.css on all portico pages.

Aman Agrawalbb7ced98a16f
diff --git a/web/src/bundles/marketing_page_bundle.ts b/web/src/bundles/marketing_page_bundle.ts
index 020ee85a6a5..396d9c8c78d 100644
--- a/web/src/bundles/marketing_page_bundle.ts
+++ b/web/src/bundles/marketing_page_bundle.ts
@@ -1,6 +1,7 @@
import "./common.ts";
import "../portico/header.ts";
import "../portico/google-analytics.ts";
+import "../../styles/portico/portico_variables.css";
// These are select stylesheets loaded in legacy areas
// by the legacy_portico_styles_bundle.css file
import "../../styles/portico/markdown.css";
diff --git a/web/styles/portico/legacy_portico_styles_bundle.css b/web/styles/portico/legacy_portico_styles_bundle.css
index 5d13a9e5df0..58ed52baab8 100644
--- a/web/styles/portico/legacy_portico_styles_bundle.css
+++ b/web/styles/portico/legacy_portico_styles_bundle.css
@@ -1,4 +1,5 @@
@import url("../components.css");
+@import url("portico_variables.css");
@import url("legacy_portico.css");
@import url("portico_modals.css");
@import url("portico_signin.css");
diff --git a/web/webpack.assets.json b/web/webpack.assets.json
index e5ff3627f65..f58927469c2 100644
--- a/web/webpack.assets.json
+++ b/web/webpack.assets.json
@@ -49,7 +49,6 @@
"marketing-page": [
"./src/bundles/marketing_page_bundle.ts",
"./src/portico/legacy_landing_page.ts",
- "./styles/portico/portico_variables.css",
"./styles/portico/marketing_page.css",
"./styles/portico/pricing_plans.css",
"./styles/portico/comparison_table.css"