vuejs / vitepress

Vite & Vue powered static site generator.
https://vitepress.dev
MIT License
11.48k stars 1.86k forks source link

Set like "images2" #3681

Closed wuchenchina closed 1 month ago

wuchenchina commented 1 month ago

Is your feature request related to a problem? Please describe.

image (The Home Page)

image (The Download Page)

but, the style:

  --vp-home-hero-image-background-image: linear-gradient(
    -45deg,
    #186068 50%,
    #00e5ff 50%
  );

Conflict with the "Download" page (i.e. Download does not require this style, but the home page does)

Describe the solution you'd like

Add image2? It means defining some content as images, and the content can be changed through style.css

Describe alternatives you've considered

Add the following code to "/download/index. md":

<style moudle>
:root {
    --vp-home-hero-image-background-image: none;
}
</style>

But it was found that this string of code may affect home (whether it is