Active Admin Claude Theme
A warm, editorial Active Admin 4 theme inspired by Claude/Anthropic aesthetics — cream canvas, coral accents, serif headlines, native dark mode, and mobile-ready chrome.
Community theme. Not affiliated with or endorsed by Anthropic.
Requires Active Admin 4.0.0.beta22+ (Tailwind CSS v4).
AI & Agent-Readable Summary
- What is it? A Rails Engine gem that themes Active Admin 4 via Tailwind v4
@themetoken remaps, CSS variables, and minimal view overrides. - Stack: Active Admin 4 beta, Tailwind v4 CLI, cssbundling-rails, importmap-rails, Rails 7.2+ / 8.x.
- Design source: DESIGN.md (adapted from getdesign.md / Claude DESIGN.md).
- Install: Gemfile →
rails g activeadmin_claude_theme:install→ rebuild CSS. - Keywords:
active admin theme,activeadmin 4,tailwind admin,claude theme,rails admin dark mode.
Features
- Warm Claude-inspired palette (
#faf9f5canvas,#cc785ccoral accent) - Tailwind v4
@themeremaps for AA4's gray/blue/indigo chrome - Semantic
--claude-*CSS variables (light +.dark) - Branded header + navigation active indicator
- Preserves AA4 dark-mode toggle, mobile drawer, and Flowbite hooks
- Install generator for host apps
Screenshots
| Login | Dashboard |
|---|---|
![]() |
![]() |
| Admin Users | Dark Mode |
|---|---|
![]() |
![]() |
Installation
1. Prerequisites
Your Rails app must already use Active Admin 4 with Tailwind v4 assets:
# Gemfile
gem "activeadmin", "4.0.0.beta22"
gem "cssbundling-rails"
gem "importmap-rails"
bundle install
rails generate active_admin:install
rails generate active_admin:assets
npm install @activeadmin/activeadmin@4.0.0-beta22
See Active Admin UPGRADING.md for full AA4 setup.
2. Add the theme gem
# Gemfile
gem "activeadmin-claude-theme"
bundle install
rails generate activeadmin_claude_theme:install
3. Rebuild CSS
The install generator moves the Tailwind source to app/assets/tailwind/active_admin.css so Propshaft only serves the compiled file from app/assets/builds/active_admin.css.
npm run build:css
# or: bin/rails css:build
Restart the Rails server after rebuilding.
Troubleshooting
active_admin.css not present in the asset pipeline
Active Admin 4 builds CSS with Tailwind CLI. The source file must live outside Propshaft's served paths:
app/assets/tailwind/active_admin.css # Tailwind source (NOT served)
app/assets/builds/active_admin.css # compiled output (served as "active_admin")
Run rails generate activeadmin_claude_theme:install — it moves the source to app/assets/tailwind/ and updates your package.json build script. Then:
npm run build:css
Restart the Rails server.
Do not use legacy SCSS imports
AA4 does not use @import "active_admin/base". Remove old Sprockets manifest entries such as active_admin/base.css or activeadmin_claude_theme/index.css.
Customization
Override semantic tokens in your host CSS after the theme import:
:root {
--claude-primary: #d4845f;
--claude-canvas: #fff8f0;
}
.dark {
--claude-canvas: #121110;
}
| Token | Default (light) | Role |
|---|---|---|
--claude-primary |
#cc785c |
Accent / CTA |
--claude-canvas |
#faf9f5 |
Page background |
--claude-ink |
#141413 |
Headings |
--claude-body |
#3d3d3a |
Body text |
--claude-hairline |
#e6dfd8 |
Borders |
--claude-surface-card |
#efe9de |
Panels |
Full token list: DESIGN.md
Development
git clone https://github.com/paladini/activeadmin-claude-theme.git
cd activeadmin-claude-theme
bundle install
cd test/dummy
npm install
npm run build:css
ruby bin/rails db:setup db:seed
ruby bin/rails server
Login: admin@example.com / password
Run tests from gem root:
cd test/dummy && ruby bin/rails db:test:prepare
cd ../..
ruby -Itest test/activeadmin_claude_theme_test.rb test/integration/theme_integration_test.rb
See CONTRIBUTING.md.
License
MIT — see LICENSE.



