Reduce css bundle size, switch to cyan colour theme (#4)
All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m8s

Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2025-02-20 16:34:27 +10:30
parent 639be72f4b
commit 1e57e36dea
10 changed files with 580 additions and 39 deletions

View File

@@ -1,6 +1,3 @@
mkdir -p build/@picocss/pico/css/
cp -r *.png *.xml *.svg *.css *.webmanifest *.ico robots.txt _headers functions contact build
# https://github.com/cloudflare/workers-sdk/issues/3615
sed 's/node_modules\///' index.html > build/index.html
sed 's/node_modules\///' contact/index.html > build/contact/index.html
cp node_modules/@picocss/pico/css/pico.min.css build/@picocss/pico/css/
mkdir -p build/
cp -r *.png *.xml *.html *.svg *.webmanifest *.ico robots.txt _headers functions contact build
npx sass --quiet --style=compressed --no-source-map site.scss build/site.css