<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-ruby-and-clojure-style-guides-get-a-facelift-8geyopols" -->

---
title: The Ruby and Clojure Style Guides Get a Facelift | daily.dev
description: You can restyle Asciidoctor output with a custom stylesheet and docinfo attributes, with no new site generator needed. Bozhidar Batsov used this to refresh the...
canonical: https://daily.dev/posts/the-ruby-and-clojure-style-guides-get-a-facelift-8geyopols
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Ruby and Clojure Style Guides Get a Facelift | daily.dev
og:description: You can restyle Asciidoctor output with a custom stylesheet and docinfo attributes, with no new site generator needed. Bozhidar Batsov used this to refresh the...
og:url: https://daily.dev/posts/the-ruby-and-clojure-style-guides-get-a-facelift-8geyopols
og:image: https://api.daily.dev/og/posts/8GeyOpols.png
og:image:alt: The Ruby and Clojure Style Guides Get a Facelift
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Ruby and Clojure Style Guides Get a Facelift

**[Meta Redux](https://daily.dev/sources/metaredux)** · 6 min read · 0 upvotes · 0 comments

## Summary

You can restyle Asciidoctor output with a custom stylesheet and docinfo attributes, with no new site generator needed. Bozhidar Batsov used this to refresh the Ruby and Clojure style guides, which had used Asciidoctor's default look since 2019. The new theme adds dark mode that follows system settings and a table of contents that no longer fills the top of small screens. Each guide sets one accent colour and CSS derives the rest. The shared theme lives in its own repository with a GitHub Action, and the Ruby guides moved from CircleCI to GitHub Actions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://metaredux.com/posts/2026/11/28/the-ruby-and-clojure-style-guides-get-a-facelift.html>

## Questions this post answers

### How can I give my Asciidoctor HTML output a custom look without switching to Antora or another static site generator?

Replace Asciidoctor's default stylesheet with your own and inject HTML through docinfo attributes. The command adds stylesdir, stylesheet, docinfo=shared and docinfodir options, and the output stays a single self-contained HTML file. The AsciiDoc source needs no changes. A single-document guide can be restyled this way without Antora or another generator.

_Developers maintaining AsciiDoc documentation follow tooling tips like this on daily.dev._

### How can I make one CSS theme work in light and dark mode from a single accent colour?

Define one brand colour and derive the rest with CSS light-dark() and color-mix(). Links become a darker shade of the accent on light backgrounds and a lighter shade on dark ones, so they stay readable in both modes. This approach previously needed a CSS preprocessor but now works in plain modern CSS.

_Front-end developers keeping up with modern CSS techniques find them on daily.dev._

## Similar posts on daily.dev

- [Ruby Deserves Beautiful Documentation](https://daily.dev/posts/ruby-deserves-beautiful-documentation-x8ytgnn9g) · RUBYLAND · 14 upvotes · 0 comments
- [Emacs loves AsciiDoc](https://daily.dev/posts/emacs-loves-asciidoc-ytvwsf1j7) · Bozhidar Batsov · 0 upvotes · 0 comments
- [RSS Club: CSS-Tricks Redesign Preview](https://daily.dev/posts/rss-club-css-tricks-redesign-preview-dsc4snmo5) · CSS-Tricks · 0 upvotes · 2 comments
- [Still blogging](https://daily.dev/posts/still-blogging-dvlzgt3or) · Pascal’s scribbles · 2 upvotes · 1 comments

---

Tags: [#css](https://daily.dev/tags/css), [#ruby](https://daily.dev/tags/ruby), [#github-actions](https://daily.dev/tags/github-actions), [#clojure](https://daily.dev/tags/clojure)

[View this post on daily.dev](https://daily.dev/posts/the-ruby-and-clojure-style-guides-get-a-facelift-8geyopols)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Ruby and Clojure Style Guides Get a Facelift","url":"https://daily.dev/posts/the-ruby-and-clojure-style-guides-get-a-facelift-8geyopols","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-ruby-and-clojure-style-guides-get-a-facelift-8geyopols"},"datePublished":"2026-11-28T13:17:32.336Z","dateModified":"2026-11-28T13:17:50.984Z","description":"You can restyle Asciidoctor output with a custom stylesheet and docinfo attributes, with no new site generator needed. Bozhidar Batsov used this to refresh the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/dedf722536cd790a73f152e04476db6b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/dedf722536cd790a73f152e04476db6b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Meta Redux","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Meta Redux","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/553e6ad4c072454a986660a28a241343","url":"https://daily.dev/sources/metaredux"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-ruby-and-clojure-style-guides-get-a-facelift-8geyopols","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"css,ruby,github-actions,clojure","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Meta Redux","item":"https://daily.dev/sources/metaredux"},{"@type":"ListItem","position":3,"name":"The Ruby and Clojure Style Guides Get a Facelift"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/the-ruby-and-clojure-style-guides-get-a-facelift-8geyopols#faq","mainEntity":[{"@type":"Question","name":"How can I give my Asciidoctor HTML output a custom look without switching to Antora or another static site generator?","acceptedAnswer":{"@type":"Answer","text":"Replace Asciidoctor's default stylesheet with your own and inject HTML through docinfo attributes. The command adds stylesdir, stylesheet, docinfo=shared and docinfodir options, and the output stays a single self-contained HTML file. The AsciiDoc source needs no changes. A single-document guide can be restyled this way without Antora or another generator. Developers maintaining AsciiDoc documentation follow tooling tips like this on daily.dev."}},{"@type":"Question","name":"How can I make one CSS theme work in light and dark mode from a single accent colour?","acceptedAnswer":{"@type":"Answer","text":"Define one brand colour and derive the rest with CSS light-dark() and color-mix(). Links become a darker shade of the accent on light backgrounds and a lighter shade on dark ones, so they stay readable in both modes. This approach previously needed a CSS preprocessor but now works in plain modern CSS. Front-end developers keeping up with modern CSS techniques find them on daily.dev."}}]}
```

