mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-11 23:02:53 +01:00
feat: option to control whether site visitors can change the theme color (#28)
* chore: rebase onto main branch * fix: rename the option --------- Co-authored-by: saicaca <zephyird@gmail.com>
This commit is contained in:
@@ -49,7 +49,7 @@ const myFade = {
|
||||
|
||||
// defines global css variables
|
||||
// why doing this in Layout instead of GlobalStyles: https://github.com/withastro/astro/issues/6728#issuecomment-1502203757
|
||||
const configHue = siteConfig.themeHue;
|
||||
const configHue = siteConfig.themeColor.hue;
|
||||
if (!banner || typeof banner !== 'string' || banner.trim() === '') {
|
||||
banner = siteConfig.banner.src;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user