From 0a11e6f7fae11e6caa699d42d84333efa7d95fce Mon Sep 17 00:00:00 2001 From: tpoisot Date: Tue, 17 Sep 2024 21:29:17 -0400 Subject: [PATCH 1/2] actually use the var for the julia colors --- template/src/.vitepress/theme/style.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/template/src/.vitepress/theme/style.css b/template/src/.vitepress/theme/style.css index 3105566..ad18e95 100644 --- a/template/src/.vitepress/theme/style.css +++ b/template/src/.vitepress/theme/style.css @@ -84,15 +84,15 @@ code { --vp-home-hero-name-color: transparent; --vp-home-hero-name-background: -webkit-linear-gradient( 120deg, - #9558B2 30%, - #CB3C33 + var(--julia-purple) 30%, + var(--julia-red) ); --vp-home-hero-image-background-image: linear-gradient( -45deg, - #9558B2 30%, - #389826 30%, - #CB3C33 + var(--julia-purple) 30%, + var(--julia-green) 30%, + var(--julia-red) ); --vp-home-hero-image-filter: blur(40px); } From 191cccb1e72448ed9ef6b2e2575a72d8a243706b Mon Sep 17 00:00:00 2001 From: tpoisot Date: Tue, 17 Sep 2024 21:30:13 -0400 Subject: [PATCH 2/2] (in the docs folder as well) --- docs/src/.vitepress/theme/style.css | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/src/.vitepress/theme/style.css b/docs/src/.vitepress/theme/style.css index 3105566..b9c834a 100644 --- a/docs/src/.vitepress/theme/style.css +++ b/docs/src/.vitepress/theme/style.css @@ -81,21 +81,21 @@ code { /* Component: Home */ :root { - --vp-home-hero-name-color: transparent; - --vp-home-hero-name-background: -webkit-linear-gradient( - 120deg, - #9558B2 30%, - #CB3C33 - ); - - --vp-home-hero-image-background-image: linear-gradient( - -45deg, - #9558B2 30%, - #389826 30%, - #CB3C33 - ); - --vp-home-hero-image-filter: blur(40px); -} + --vp-home-hero-name-color: transparent; + --vp-home-hero-name-background: -webkit-linear-gradient( + 120deg, + var(--julia-purple) 30%, + var(--julia-red) + ); + + --vp-home-hero-image-background-image: linear-gradient( + -45deg, + var(--julia-purple) 30%, + var(--julia-green) 30%, + var(--julia-red) + ); + --vp-home-hero-image-filter: blur(40px); + } @media (min-width: 640px) { :root {