mirror of
https://github.com/fmhy/edit.git
synced 2025-10-13 00:01:09 +11:00
make background change on home page too
This commit is contained in:
parent
c342648f9f
commit
fbe6e79e2c
1 changed files with 4 additions and 0 deletions
|
@ -59,12 +59,16 @@ const updateThemeColor = (colorName: ColorNames) => {
|
||||||
--vp-c-bg: rgb(20, 20, 20);
|
--vp-c-bg: rgb(20, 20, 20);
|
||||||
--vp-c-bg-alt: rgb(18, 18, 18);
|
--vp-c-bg-alt: rgb(18, 18, 18);
|
||||||
--vp-c-bg-elv: rgba(18, 18, 18, 0.8);
|
--vp-c-bg-elv: rgba(18, 18, 18, 0.8);
|
||||||
|
--vp-home-hero-bg: rgb(20, 20, 20);
|
||||||
|
--vp-c-bg-soft: rgb(18, 18, 18);
|
||||||
` : ''
|
` : ''
|
||||||
|
|
||||||
const halloweenDarkBgOverride = colorName === 'halloween' ? `
|
const halloweenDarkBgOverride = colorName === 'halloween' ? `
|
||||||
--vp-c-bg: rgb(15, 15, 15);
|
--vp-c-bg: rgb(15, 15, 15);
|
||||||
--vp-c-bg-alt: rgb(12, 12, 12);
|
--vp-c-bg-alt: rgb(12, 12, 12);
|
||||||
--vp-c-bg-elv: rgba(12, 12, 12, 0.8);
|
--vp-c-bg-elv: rgba(12, 12, 12, 0.8);
|
||||||
|
--vp-home-hero-bg: rgb(15, 15, 15);
|
||||||
|
--vp-c-bg-soft: rgb(12, 12, 12);
|
||||||
` : ''
|
` : ''
|
||||||
|
|
||||||
css.value = `
|
css.value = `
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue