diff --git a/src/css/custom.css b/src/css/custom.css index 2bc6a4c..bfce8c2 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -15,6 +15,7 @@ --ifm-color-primary-lightest: #3cad6e; --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); + --site-primary-hue-saturation: 170 50%; } /* For readability concerns, you should choose a lighter palette in dark mode. */ @@ -28,3 +29,20 @@ --ifm-color-primary-lightest: #4fddbf; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); } + +div[class^='announcementBar_'] { + --site-announcement-bar-stripe-color1: hsl( + var(--site-primary-hue-saturation) 85% + ); + --site-announcement-bar-stripe-color2: hsl( + var(--site-primary-hue-saturation) 60% + ); + background: repeating-linear-gradient( + 50deg, + var(--site-announcement-bar-stripe-color1), + var(--site-announcement-bar-stripe-color1) 20px, + var(--site-announcement-bar-stripe-color2) 10px, + var(--site-announcement-bar-stripe-color2) 40px + ); + font-weight: bold; +} \ No newline at end of file