Skip to content

Release 3.1.0 - #58

Merged
Fivell merged 1 commit into
activeadmin-plugins:masterfrom
yeti-switch:release-3.1.0
Oct 6, 2026
Merged

Fivell merged 1 commit into
activeadmin-plugins:masterfrom
yeti-switch:release-3.1.0

Conversation

@Fivell

@Fivell Fivell commented Oct 6, 2026

Copy link
Copy Markdown
Member

Version bump for what landed since 3.0.0.

Why minor

The variable contract only grows. Six status tag colours join it, every default that moved is reachable through one of them, and nothing written against 3.0.0 stops working. Appearance does change, so Upgrading gains a 3.1.0 section.

What is in it

#57 the theme switch no longer breaks the utility navigation onto two lines — display: flex on the list item fought ActiveAdmin's li { display: inline }
#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 rather than ActiveAdmin's fixed grey sprite

rake css also grew three guards along the way: the README variables table is compared against the declarations in both directions, the status tag label contrast is computed from the shipped palette, and a block-level item in the utility nav fails the build.

Checked

contains
gem app/assets/stylesheets/wigu/active_admin_theme.scss and app/assets/javascripts/wigu/theme_toggle.js
npm npm run prepublishOnly && npm pack → src/active_admin_theme.scss, src/theme_toggle.js

The npm install snippet in the README moves to ^3.1.0.

Also

The 3.0.0 Upgrading section said two things had changed and then listed three. Corrected.

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:

  activeadmin-plugins#57  the theme switch no longer breaks the utility nav onto two lines
  activeadmin-plugins#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.
@Fivell
Fivell merged commit 654a4c1 into activeadmin-plugins:master Oct 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant