From 5cee89c5de3e1ff9c097b7853ae79b657d7e92a2 Mon Sep 17 00:00:00 2001 From: Igor Fedoronchuk Date: Tue, 6 Oct 2026 17:19:44 +0200 Subject: [PATCH] Release 3.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Minor, not major: the variable contract only grows. Six status tag colours join it, every default that moved is reachable through one of them, and nothing that worked against 3.0.0 stops working. What moved since 3.0.0: #57 the theme switch no longer breaks the utility nav onto two lines #56 status tag labels are white on darker fills, clearing 4.5:1 where the old pairing ran 2.35 to 3.78; column headings take the body text colour and line up with their own columns; the sort marker is drawn by the theme in currentColor instead of ActiveAdmin's grey sprite Upgrading gains a 3.1.0 section for the two colour changes, and the 3.0.0 one is corrected — it said two things had changed and then listed three. Both artefacts checked: the gem carries the stylesheet and the switch script, and npm run prepublishOnly + npm pack puts src/active_admin_theme.scss and src/theme_toggle.js in the tarball. The npm install snippet moves to ^3.1.0. --- README.md | 17 ++++++++++++++--- lib/active_admin_theme/version.rb | 2 +- package.json | 2 +- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 564068c..edbd682 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Or add manually to `package.json`: ``` "dependencies": { - "@activeadmin-plugins/active_admin_theme": "^3.0.0" + "@activeadmin-plugins/active_admin_theme": "^3.1.0" } ``` and execute: @@ -176,8 +176,19 @@ applies it in the others. ### Upgrading -Two things changed shape in this release and are worth knowing if you already -set variables: +#### 3.1.0 + +* Status tag fills are darker, so the label can be white and still clear 4.5:1 — + it was black on mid-tone fills before. Each fill is a variable now + (`$skinStatusTagOkColor` and the four beside it), and + `$skinStatusTagTextColor: #000000;` restores the old label with the fills + you choose. +* Index-table column headings take `$skinTextColor` rather than a muted grey, + so a heading reads as strongly as the column under it. + +#### 3.0.0 + +Three things changed shape and are worth knowing if you already set variables: * Dropdown panels — the title-bar menu, the batch-actions menu and the table-tools menus — now follow the surface palette (`$skinSurfaceColor` and diff --git a/lib/active_admin_theme/version.rb b/lib/active_admin_theme/version.rb index b26db68..c459189 100644 --- a/lib/active_admin_theme/version.rb +++ b/lib/active_admin_theme/version.rb @@ -1,3 +1,3 @@ module ActiveAdminTheme - VERSION = "3.0.0" + VERSION = "3.1.0" end diff --git a/package.json b/package.json index 55a0eb5..01a42bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@activeadmin-plugins/active_admin_theme", - "version": "3.0.0", + "version": "3.1.0", "description": "Flat design for ActiveAdmin", "main": "src/active_admin_theme.scss", "author": "Igor Fedoronchuk ",