fix(v2): tweak colors for announcement bar (#2505)

* fix(v2): tweak colors for announcement bar

* black
This commit is contained in:
Yangshun Tay 2020-04-02 14:41:49 +08:00 committed by GitHub
parent 0c1d593e00
commit f51b56460e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View file

@ -8,8 +8,8 @@
.announcementBar { .announcementBar {
position: relative; position: relative;
width: 100%; width: 100%;
background-color: #fff; background-color: var(--ifm-color-primary);
color: #000; color: var(--ifm-color-black);
} }
.announcementBarClose { .announcementBarClose {
@ -17,7 +17,7 @@
right: 0; right: 0;
top: 0; top: 0;
width: 55px; width: 55px;
font-size: 25px; font-size: 1.25rem;
padding: 0; padding: 0;
border: none; border: none;
cursor: pointer; cursor: pointer;

View file

@ -63,8 +63,6 @@ module.exports = {
id: 'supportus', id: 'supportus',
content: content:
'⭐️ If you like Docusaurus, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/facebook/docusaurus">GitHub</a>! ⭐️', '⭐️ If you like Docusaurus, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/facebook/docusaurus">GitHub</a>! ⭐️',
backgroundColor: '#f2f3f5',
textColor: '#091E42',
}, },
prism: { prism: {
theme: require('prism-react-renderer/themes/github'), theme: require('prism-react-renderer/themes/github'),