diff --git a/.prettierrc.toml b/.prettierrc.toml index 8ca108d..5d819e0 100644 --- a/.prettierrc.toml +++ b/.prettierrc.toml @@ -1,2 +1,3 @@ lineWidth = 70 proseWrap = "always" +semi = false diff --git a/README.md b/README.md index 5cb1301..7049783 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Hakyll-powered blog +# gradient ascent This repository hosts the source code for my blog, powered by [hakyll](https://jaspervdj.be/hakyll/). diff --git a/package.json b/package.json index dfb63a5..94fedb9 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "postcss -o src/build/css/bundle.css src/css/*.css", - "watch": "postcss -o src/build/css/bundle.css src/css/*.css --watch" + "build": "rollup -c", + "watch": "rollup -c -w" }, "keywords": [], "author": "", diff --git a/src/css/default.css b/src/css/default.css index 4664c50..20c3942 100644 --- a/src/css/default.css +++ b/src/css/default.css @@ -7,16 +7,16 @@ @layer base { body { - @apply bg-gray-950 text-gray-100 font-serif; + @apply dark:bg-background-dark bg-background-light dark:text-primary-dark text-primary-light font-serif; } } @layer utilities { .external-link { - @apply text-violet-600 pl-1 pr-4 rounded-sm hover:bg-violet-950 transition-colors duration-300 relative; + @apply dark:text-violet-600 text-indigo-600 hover:bg-indigo-200 pr-3 rounded-sm dark:hover:bg-violet-950 transition-colors duration-300 relative; } .external-link::after { - @apply absolute top-1 right-2 w-2 h-2 border-2 border-violet-600 rounded-full translate-x-1/2 -translate-y-1/2; + @apply absolute top-1 right-2 w-2 h-2 border-2 border-indigo-600 dark:border-violet-600 rounded-full translate-x-1/2 -translate-y-1/2; content: ""; } .small-caps { diff --git a/src/index.html b/src/index.html index 2f55bce..a7400a5 100644 --- a/src/index.html +++ b/src/index.html @@ -3,27 +3,29 @@ desc: "a blog about computers, math, hacks, games, and life" image: "./images/robert-pearce-UwHN0jU_YqQ-unsplash-800w.jpg" lang: "en" stylesheet: "default" -title: "gradient ascent" +title: "blog | youwen wu" ---

Latest

-
+