You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jekyll blog at `https://blog.rubygems.org`. Auto-deploys to GitHub Pages on push to `master` (`.github/workflows/build.yml`). Ruby 3.4.7.
4
+
5
+
## Commands
6
+
7
+
```bash
8
+
bin/setup # bundle install
9
+
bundle exec jekyll serve # Dev server at http://127.0.0.1:4000 (auto-rebuilds)
10
+
bundle exec jekyll build # One-shot build into _site/
11
+
```
12
+
13
+
Tailwind v4 is compiled by the `jekyll-tailwindcss` plugin during the Jekyll build — no Node toolchain. Edit `_tailwind.css`; the plugin emits `_site/assets/css/styles.css`, which the layout links via `/assets/css/styles.css`. The empty `assets/css/styles.tailwindcss` source file is the marker that tells the plugin where to land the output — leave it as is.
14
+
15
+
## Layout
16
+
17
+
-`_posts/YYYY-MM-DD-slug.md` — ~470 posts back to 2004
-**Never edit `_site/assets/css/styles.css`** — that's compiled output, regenerated on every build. Edit `_tailwind.css`.
40
+
-**Use Tailwind tokens, not raw hex.** All colors and the font stack are defined as `@theme` tokens in `_tailwind.css` — reference `text-orange-700`, `bg-neutral-050`, etc. The token table is the source of truth; do not re-declare values in CLAUDE.md.
41
+
-**Don't override `prose` styles in markup.** Tweak them in the `.prose` layer of `_tailwind.css` so all posts stay consistent.
42
+
-**Light mode only** — no dark variants.
43
+
- The blog mirrors rubygems.org (the "hammy" template). Header, footer, nav, type, and color should match the main site so the blog reads as an extension of it.
44
+
45
+
## Design intent
46
+
47
+
Reliable, open, technical. Content-first: the orange brand color (`orange-500``#F74C27`) and Titillium Web wordmark are the only signature elements; everything else stays out of the way of the writing. References: GitHub Blog, Rust Blog, Go Blog. Anti-references: marketing-heavy or startup-y aesthetics, animation, dark patterns.
0 commit comments