mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
chore(v2): fix a11y contrast color, shorter announcement
This commit is contained in:
parent
160f6f53e0
commit
163c455b6c
|
|
@ -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')}>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue