Skip to content

Commit 6abca37

Browse files
authored
Merge pull request #50 from deccer/main
Fix background color of landing page
2 parents b46877a + e40fe33 commit 6abca37

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/css/custom.css

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
--ifm-color-primary-light: #9e47f2;
1414
--ifm-color-primary-lighter: #ab65f5;
1515
--ifm-color-primary-lightest: #c28cf8;
16+
--ifm-color-landing: #white;
1617
--ifm-code-font-size: 95%;
1718
--docusaurus-highlighted-code-line-bg: rgba(138, 43, 226, 0.1);
1819
}
@@ -25,6 +26,7 @@
2526
--ifm-color-primary-light: #c1a7e2;
2627
--ifm-color-primary-lighter: #d1b5eb;
2728
--ifm-color-primary-lightest: #e2c8f3;
29+
--ifm-color-landing: #1b1b1d;
2830
--docusaurus-highlighted-code-line-bg: rgba(177, 156, 217, 0.3);
2931
}
3032

src/pages/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import styles from './index.module.css';
1010
function HomepageHeader() {
1111
const { siteConfig } = useDocusaurusContext();
1212
return (
13-
<header className={clsx('hero hero--primary', styles.heroBanner)}>
13+
<header className={clsx('--landing', styles.heroBanner)}>
1414
<div className="container">
1515
<Heading as="h1" className="hero__title">
1616
{siteConfig.title}

0 commit comments

Comments
 (0)