announcement bar

This commit is contained in:
Alex 2024-10-01 17:39:09 +07:00
parent 38688c01bf
commit 0015266f19
No known key found for this signature in database
GPG Key ID: 53CD082B3A5E1082
2 changed files with 7 additions and 2 deletions

View File

@ -78,8 +78,6 @@ const config = {
announcementBar: { announcementBar: {
id: 'site_announcement_immich', id: 'site_announcement_immich',
content: `⚠️ The project is under <strong>very active</strong> development. Expect bugs and changes. Do not use it as <strong>the only way</strong> to store your photos and videos!`, content: `⚠️ The project is under <strong>very active</strong> development. Expect bugs and changes. Do not use it as <strong>the only way</strong> to store your photos and videos!`,
backgroundColor: '#593f00',
textColor: '#ffefc9',
isCloseable: false, isCloseable: false,
}, },
docs: { docs: {

View File

@ -43,8 +43,15 @@ img {
--ifm-color-primary-lightest: #ffffff; --ifm-color-primary-lightest: #ffffff;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
--ifm-background-color: #070a14; --ifm-background-color: #070a14;
div[class^='announcementBar_'] {
background-color: #f9fafe;
color: black;
}
} }
div[class^='announcementBar_'] { div[class^='announcementBar_'] {
min-height: 2rem; min-height: 2rem;
background-color: #2b3336;
color: white;
} }