Skip to content

Commit cd66fd0

Browse files
committed
Revert "Added wave patterns, adjusted primary color, minor UI tweaks (#4)"
This reverts commit a3a130b.
1 parent a3a130b commit cd66fd0

File tree

8 files changed

+3
-54
lines changed

8 files changed

+3
-54
lines changed

site/docusaurus.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ const config: Config = {
8383
],
8484
},
8585
footer: {
86+
style: 'dark',
8687
links: [
8788
{
8889
title: 'Docs',

site/src/css/custom.css

+1-10
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
/* You can override the default Infima variables here. */
88
:root {
9-
--ifm-background-color: #f1f6f8;
10-
11-
--ifm-color-primary: #3c647c;
9+
--ifm-color-primary: #2e8555;
1210
--ifm-color-primary-dark: #29784c;
1311
--ifm-color-primary-darker: #277148;
1412
--ifm-color-primary-darkest: #205d3b;
@@ -17,13 +15,6 @@
1715
--ifm-color-primary-lightest: #3cad6e;
1816
--ifm-code-font-size: 95%;
1917
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
20-
21-
--ifm-footer-background-color: #3c647c;
22-
--ifm-footer-title-color: #fff;
23-
--ifm-footer-link-color: #ffffffaa;
24-
--ifm-footer-color: #ffffffaa;
25-
26-
--ifm-footer-link-hover-color: #ffffffdd;
2718
}
2819

2920
/* For readability concerns, you should choose a lighter palette in dark mode. */

site/src/pages/index.module.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
.heroBanner {
7-
background: var(--ifm-color-primary);
7+
background: #4391B2;
88
padding: 4rem 0;
99
text-align: center;
1010
position: relative;

site/src/pages/index.tsx

-18
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,12 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
44
import Layout from '@theme/Layout';
55
import HomepageFeatures from '@site/src/components/HomepageFeatures';
66
import Heading from '@theme/Heading';
7-
import { useColorMode } from '@docusaurus/theme-common';
8-
97

108
import styles from './index.module.css';
119

12-
import HeaderBorderTop from '@site/static/img/hero-border-top.svg';
13-
import HeaderBorderBottom from '@site/static/img/hero-border-bottom.svg';
14-
15-
import HeaderBorderTopDark from '@site/static/img/hero-border-top.svg';
16-
import HeaderBorderBottomDark from '@site/static/img/hero-border-bottom.svg';
17-
1810
function HomepageHeader() {
1911
const { siteConfig } = useDocusaurusContext();
20-
const { isDarkTheme } = useColorMode();
21-
2212
return (
23-
<>
24-
<div style={{width: "100%", display: "flex"}}>
25-
{isDarkTheme ? <HeaderBorderTopDark style={{height: "auto", width: "inherit", marginBottom: "-1px"}} /> : <HeaderBorderTop style={{height: "auto", width: "inherit", marginBottom: "-1px"}}/>}
26-
</div>
2713
<header className={clsx('hero hero--primary', styles.heroBanner)}>
2814
<div className="container">
2915
<Heading as="h1" className="hero__title">
@@ -39,10 +25,6 @@ function HomepageHeader() {
3925
</div>
4026
</div>
4127
</header>
42-
<div style={{width: "100%", display: "flex"}}>
43-
{isDarkTheme ? <HeaderBorderBottomDark style={{height: "auto", width: "inherit", marginTop: "-1px"}} /> : <HeaderBorderBottom style={{height: "auto", width: "inherit", marginTop: "-1px"}}/>}
44-
</div>
45-
</>
4628
);
4729
}
4830

site/src/theme/Footer/index.tsx

-22
This file was deleted.

site/static/img/hero-border-bottom.svg

-1
This file was deleted.

site/static/img/hero-border-top.svg

-1
This file was deleted.

site/static/img/prefooter.svg

-1
This file was deleted.

0 commit comments

Comments
 (0)