mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-10 06:42:31 +02:00
fix(v2): tweak colors for announcement bar (#2505)
* fix(v2): tweak colors for announcement bar * black
This commit is contained in:
parent
0c1d593e00
commit
f51b56460e
2 changed files with 3 additions and 5 deletions
|
@ -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;
|
||||||
|
|
|
@ -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'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue