8000 refactor(free): drop the ak- prefix from classes and Sass helpers by paullaros · Pull Request #159 · adminkit/adminkit · GitHub
[go: up one dir, main page]

Skip to content

refactor(free): drop the ak- prefix from classes and Sass helpers - #159

Merged
paullaros merged 2 commits into
mainfrom
chore/drop-ak-prefix
Oct 31, 2026
Merged

paullaros merged 2 commits into
mainfrom
chore/drop-ak-prefix

Conversation

@paullaros
Copy link
Copy Markdown
Contributor

Only CSS custom properties keep a prefix now: --ak-*, like Bootstrap's --bs-*. Classes, Sass variables and functions are unprefixed, like the rest of the kit. AGENTS.md states this as one rule.

4.0.0 name (v4 alias) New name
.ak-reveal, .ak-reveal-cards, .ak-revealed, .ak-revealing .reveal, .reveal-cards, .revealed, .revealing
.ak-skeleton .skeleton
.ak-light-only, .ak-dark-only .light-only, .dark-only
ak-readable(), ak-text-on() readable(), text-on()
$ak-transition-duration-*, $ak-transition-easing-* $transition-duration-*, $transition-easing-*
  • Layouts, partials, JS and SCSS use the new names.
  • The old names still work in v4: alias selectors in the CSS, wrapper functions and variables in Sass, and reveal.js/skeleton.js also pick up .ak-reveal, .ak-reveal-cards and .ak-skeleton. Every alias is marked v4 alias, remove in v5.
  • --ak-* custom properties are unchanged.
  • Changelog: added under Unreleased.

Checked on the production build (vite preview, headless Chromium): every card and the footer reveal on scroll on /, /upgrade-to-pro.html and /pages-sign-in.html. Old-name markup injected into each page still works: .ak-reveal and .ak-reveal-cards hide, then reveal. .ak-skeleton is positioned and is removed by adminkit.ready(). .ak-dark-only and .ak-light-only swap with data-bs-theme. No page errors, no readable(/text-on( left in the compiled CSS. npm run lint and npm run build pass.

Related PRs: adminkit-pro, adminkit-website, adminkit-hq (same rename).

🤖 Generated with Claude Code

Only CSS custom properties keep the prefix (--ak-*, like Bootstrap's
--bs-*). The markup and sources now use .reveal, .reveal-cards,
.revealed, .revealing, .skeleton, .light-only, .dark-only, readable(),
text-on() and $transition-duration|easing-*.

The 4.0.0 names keep working as v4 aliases, marked "remove in v5", in
the CSS, the Sass functions and variables, and reveal.js/skeleton.js.

AGENTS.md states the rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel
vercel Bot commented Oct 31, 2026 •
Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
adminkit-demo-basic Ready Ready Preview Oct 31, 2026 8:59pm UTC

Request Review

This was referenced Oct 31, 2026
@paullaros
paullaros merged commit db54e3d into main Oct 31, 2026
5 checks passed
@paullaros
paullaros deleted the chore/drop-ak-prefix branch November 2, 2026 13:01

This branch was successfully deployed

1 active deployment
Preview — d1ed54f4 Deployed Oct 31, 2026 by vercel[bot]
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

0