From 80ae62ad99d5f300f05d837e5e45e47ba4bc0602 Mon Sep 17 00:00:00 2001 From: Brendan O'Leary Date: Fri, 9 Sep 2022 13:19:45 -0400 Subject: [PATCH] Fix theme.css location in docs starter project (#4697) * Fix theme.css location in docs starter project * Also fix in diff display Co-authored-by: Brendan O'Leary --- examples/docs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/docs/README.md b/examples/docs/README.md index 8bf8e6ca5d..b88fb0808d 100644 --- a/examples/docs/README.md +++ b/examples/docs/README.md @@ -47,14 +47,14 @@ Welcome! Check out [our documentation](https://docs.astro.build) or jump into ou ### CSS styling -The theme's look and feel is controlled by a few key variables that you can customize yourself. You'll find them in the `public/theme.css` CSS file. +The theme's look and feel is controlled by a few key variables that you can customize yourself. You'll find them in the `src/styles/theme.css` CSS file. If you've never worked with CSS variables before, give [MDN's guide on CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) a quick read. This theme uses a "cool blue" accent color by default. To customize this for your project, change the `--theme-accent` variable to whatever color you'd like: ```diff -/* public/theme.css */ +/* src/styles/theme.css */ :root { color-scheme: light; - --theme-accent: hsla(var(--color-blue), 1);