Skip to content

Commit

Permalink
chore(v2): fix a11y contrast color, shorter announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
endiliey committed Nov 24, 2019
1 parent 160f6f5 commit 163c455
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
11 changes: 0 additions & 11 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,6 @@ function Home() {
</div>
</div>
<div className={classnames(styles.announcement, styles.announcementDark)}>
<div className={styles.announcementInner}>
We're working on{' '}
<a href="https://github.com/facebook/docusaurus/issues/789">
Docusaurus 2
</a>
, contribute to its roadmap by suggesting features or{' '}
<Link to={useBaseUrl('/feedback')}>giving feedback</Link>!
</div>
</div>
<div
className={classnames(styles.announcement, styles.announcementPrimary)}>
<div className={styles.announcementInner}>
Coming from v1? Check out our{' '}
<Link to={useBaseUrl('/docs/migrating-from-v1-to-v2')}>
Expand Down
9 changes: 0 additions & 9 deletions website/src/pages/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@
color: #fff;
}

.announcementPrimary {
background-color: var(--ifm-color-primary);
color: #20232a;
}

.announcementPrimary a {
color: #fff;
}

.announcementInner {
margin: 0 auto;
max-width: 768px;
Expand Down

0 comments on commit 163c455

Please sign in to comment.