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.

marketing_page: Set body, solid-color hero color vars.

Karl Stolley1caa8f1f9e3e
diff --git a/web/styles/portico/marketing_page.css b/web/styles/portico/marketing_page.css
index 4225a80a0dd..fead26fd3cb 100644
--- a/web/styles/portico/marketing_page.css
+++ b/web/styles/portico/marketing_page.css
@@ -35,8 +35,8 @@ body {
line-height: normal;
max-width: 100vw;
- background-color: hsl(0deg 0% 100%) !important;
- color: hsl(0deg 0% 27%);
+ background-color: var(--color-background-marketing-page);
+ color: var(--color-text-marketing-page);
}
html {
@@ -2284,7 +2284,6 @@ button {
/* -- /for/open-source/ -- */
.portico-landing.why-page {
padding-top: 0;
- color: hsl(223deg 6% 25%);
}
.portico-landing.why-page .main {
@@ -2302,8 +2301,8 @@ button {
padding: 50px 50px 70px;
}
- background-color: hsl(153deg 32% 55%);
- color: hsl(0deg 0% 100%);
+ background-color: var(--color-background-solid-hero);
+ color: var(--color-text-hero);
}
.portico-landing.why-page .hero.small-hero {
diff --git a/web/styles/portico/portico_variables.css b/web/styles/portico/portico_variables.css
index 90a6fb6f513..9bc89a90725 100644
--- a/web/styles/portico/portico_variables.css
+++ b/web/styles/portico/portico_variables.css
@@ -1,6 +1,13 @@
:root {
--color-background-gradient-start: hsl(209deg 40% 50%);
--color-background-gradient-end: hsl(210deg 48% 69%);
+ /* This is the same color as set on `--color-table-background` in
+ comparison_table.css. */
+ --color-background-marketing-page: hsl(0deg 0% 100% / 80%);
+ /* This is a legacy color previously set on .why-page divs. */
+ --color-text-marketing-page: hsl(223deg 6% 25%);
+ --color-background-solid-hero: var(--color-background-gradient-start);
+ --color-text-hero: hsl(0deg 0% 100%);
--font-ss3: "Source Sans 3 VF", sans-serif;
--font-ops: "Open Sans Variable", sans-serif;
--color-background-box: hsl(210deg 44% 92%);