refactor: rename the theme brand and every identifier from AKSRT to Jio
Full-project rename. `git grep -i aksrt` is now empty apart from the
DBMigrator 3.3.0 changelog note that documents the rename itself.
Code identifiers
- PHP namespace AKSRT\ -> Jio\ (composer PSR-4 + 378 declarations)
- global constants AKSRT_* -> JIO_* (VERSION/DIR/URI, PAY_TYPE_*, CAPTCHA_*)
- procedural functions, hooks, options, meta keys, table names,
cookies, query vars, ajax actions and nonces: aksrt_ -> jio_
- text domain aksrt -> jio; Theme Name -> Jio
- JS globals: aksrtData/aksrtAdminData/... -> jioData/jioAdminData/...,
window.AKSRTCaptcha & friends -> window.JioCaptcha, Aksrt* -> Jio*
- Vue components Aks*.vue -> Jio*.vue (15 files renamed + imports)
- CSS classes/data-attrs/custom properties: aksrt- -> jio-
- REST namespace aksrt/v1 -> jio/v1 (incl. payment gateway callbacks)
Storage layer
- DB tables {prefix}aksrt_* -> {prefix}jio_*; SCHEMA_VERSION 3.2.0 -> 3.3.0
so dbDelta creates the new names on install
- widget id_base aksrt_widget_* -> jio_widget_*
- uninstall.php drop list rebuilt from the actual migrator tables
(dropped 3 stale entries, added the 17 missing ones)
Removed
- hardcoded https://api.aksrt.com/version.json default update endpoint;
get_endpoint() now reads the 「更新端点」 setting and do_check() no-ops
when it is empty
Files renamed: inc/helpers/aksrt-*.php -> jio-*.php (54),
assets/admin/src/components/form/Aks*.vue -> Jio*.vue (15).
Build artifacts regenerated: assets/css/build, assets/js/runtime,
assets/admin/build.
Verified: audit-psr4-paths errors=0, audit-admin-contracts errors=0
(warnings=56, unchanged baseline), 813/813 widget-system tests,
44/44 phpunit, php -l clean across all PHP.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
5b16bc6e15
commit
35bb96e82f
997 files changed
+28216
-28188
No files matched your search
+59
-59
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* AKSRT Design Tokens v7 — 1:1 legacy Alignment
|
||||
* Jio Design Tokens v7 — 1:1 legacy Alignment
|
||||
* ------------------------------------------------------------
|
||||
* 单一真理源(Single Source of Truth)
|
||||
* 所有颜色、字体、间距、动效都从此处读取,禁止在组件内硬编码。
|
||||
@@ -176,7 +176,7 @@
|
||||
--blur-bg: rgba(255, 255, 255, 0.80);
|
||||
--float-btn-bg: rgba(200, 200, 200, 0.40);
|
||||
|
||||
/* ===== AKSRT-to-AKSRT canonical aliases ===== */
|
||||
/* ===== Jio-to-Jio canonical aliases ===== */
|
||||
--font-heading: var(--font-ui);
|
||||
--radius-card: var(--radius);
|
||||
--radius-md: var(--radius);
|
||||
@@ -186,58 +186,58 @@
|
||||
--mini-radius: calc(var(--radius) / 1.4);
|
||||
|
||||
/* ===== Avatar size system — legacy --this-size 等价 ===== */
|
||||
--aksrt-avatar-size-xs: 24px;
|
||||
--aksrt-avatar-size-sm: 32px;
|
||||
--aksrt-avatar-size: 40px;
|
||||
--aksrt-avatar-size-lg: 56px;
|
||||
--aksrt-avatar-size-xl: 80px;
|
||||
--jio-avatar-size-xs: 24px;
|
||||
--jio-avatar-size-sm: 32px;
|
||||
--jio-avatar-size: 40px;
|
||||
--jio-avatar-size-lg: 56px;
|
||||
--jio-avatar-size-xl: 80px;
|
||||
|
||||
/* ===== Post card thumbnail scale ===== */
|
||||
--aksrt-card-thumb-scale: 56.25%; /* 16:9 */
|
||||
--jio-card-thumb-scale: 56.25%; /* 16:9 */
|
||||
|
||||
/* ===== Multi-color palette (for buttons / badges / gradients) ===== */
|
||||
--aksrt-rose: #f43f5e;
|
||||
--aksrt-rose-soft: rgba(244, 63, 94, 0.12);
|
||||
--aksrt-blue: #3b82f6;
|
||||
--aksrt-blue-soft: rgba(59, 130, 246, 0.12);
|
||||
--aksrt-green: #10b981;
|
||||
--aksrt-green-soft: rgba(16, 185, 129, 0.12);
|
||||
--aksrt-orange: #f97316;
|
||||
--aksrt-orange-soft:rgba(249, 115, 22, 0.12);
|
||||
--aksrt-purple: #8b5cf6;
|
||||
--aksrt-purple-soft:rgba(139, 92, 246, 0.12);
|
||||
--aksrt-cyan: #06b6d4;
|
||||
--aksrt-cyan-soft: rgba(6, 182, 212, 0.12);
|
||||
--aksrt-yellow: #eab308;
|
||||
--aksrt-yellow-soft:rgba(234, 179, 8, 0.12);
|
||||
--aksrt-red: #ef4444;
|
||||
--aksrt-red-soft: rgba(239, 68, 68, 0.12);
|
||||
--aksrt-teal: #14b8a6;
|
||||
--aksrt-teal-soft: rgba(20, 184, 166, 0.12);
|
||||
--aksrt-indigo: #6366f1;
|
||||
--aksrt-indigo-soft:rgba(99, 102, 241, 0.12);
|
||||
--aksrt-pink: #ec4899;
|
||||
--aksrt-pink-soft: rgba(236, 72, 153, 0.12);
|
||||
--jio-rose: #f43f5e;
|
||||
--jio-rose-soft: rgba(244, 63, 94, 0.12);
|
||||
--jio-blue: #3b82f6;
|
||||
--jio-blue-soft: rgba(59, 130, 246, 0.12);
|
||||
--jio-green: #10b981;
|
||||
--jio-green-soft: rgba(16, 185, 129, 0.12);
|
||||
--jio-orange: #f97316;
|
||||
--jio-orange-soft:rgba(249, 115, 22, 0.12);
|
||||
--jio-purple: #8b5cf6;
|
||||
--jio-purple-soft:rgba(139, 92, 246, 0.12);
|
||||
--jio-cyan: #06b6d4;
|
||||
--jio-cyan-soft: rgba(6, 182, 212, 0.12);
|
||||
--jio-yellow: #eab308;
|
||||
--jio-yellow-soft:rgba(234, 179, 8, 0.12);
|
||||
--jio-red: #ef4444;
|
||||
--jio-red-soft: rgba(239, 68, 68, 0.12);
|
||||
--jio-teal: #14b8a6;
|
||||
--jio-teal-soft: rgba(20, 184, 166, 0.12);
|
||||
--jio-indigo: #6366f1;
|
||||
--jio-indigo-soft:rgba(99, 102, 241, 0.12);
|
||||
--jio-pink: #ec4899;
|
||||
--jio-pink-soft: rgba(236, 72, 153, 0.12);
|
||||
|
||||
/* ===== VIP / special gradients ===== */
|
||||
--aksrt-vip-gold-1: #f6d365;
|
||||
--aksrt-vip-gold-2: #fda085;
|
||||
--aksrt-grad-sunset-1: #f093fb;
|
||||
--aksrt-grad-sunset-2: #f5576c;
|
||||
--aksrt-grad-ocean-1: #4facfe;
|
||||
--aksrt-grad-ocean-2: #00f2fe;
|
||||
--aksrt-grad-forest-1: #43e97b;
|
||||
--aksrt-grad-forest-2: #38f9d7;
|
||||
--aksrt-grad-night-1: #a18cd1;
|
||||
--aksrt-grad-night-2: #fbc2eb;
|
||||
--aksrt-grad-fire-1: #f83600;
|
||||
--aksrt-grad-fire-2: #f9d423;
|
||||
--jio-vip-gold-1: #f6d365;
|
||||
--jio-vip-gold-2: #fda085;
|
||||
--jio-grad-sunset-1: #f093fb;
|
||||
--jio-grad-sunset-2: #f5576c;
|
||||
--jio-grad-ocean-1: #4facfe;
|
||||
--jio-grad-ocean-2: #00f2fe;
|
||||
--jio-grad-forest-1: #43e97b;
|
||||
--jio-grad-forest-2: #38f9d7;
|
||||
--jio-grad-night-1: #a18cd1;
|
||||
--jio-grad-night-2: #fbc2eb;
|
||||
--jio-grad-fire-1: #f83600;
|
||||
--jio-grad-fire-2: #f9d423;
|
||||
|
||||
/* ===== Component sizing ===== */
|
||||
--aksrt-toggle-w: 44px;
|
||||
--aksrt-toggle-h: 24px;
|
||||
--aksrt-stepper-h: 36px;
|
||||
--aksrt-badge-h: 22px;
|
||||
--jio-toggle-w: 44px;
|
||||
--jio-toggle-h: 24px;
|
||||
--jio-stepper-h: 36px;
|
||||
--jio-badge-h: 22px;
|
||||
|
||||
/* ===== Legacy name bridge ===== */
|
||||
--text-1: var(--color-ink);
|
||||
@@ -369,17 +369,17 @@ body.dark-theme {
|
||||
--shadow-md: var(--shadow);
|
||||
|
||||
/* Multi-color palette — dark mode: same hue, softer tint backgrounds */
|
||||
--aksrt-rose-soft: rgba(244, 63, 94, 0.18);
|
||||
--aksrt-blue-soft: rgba(59, 130, 246, 0.18);
|
||||
--aksrt-green-soft: rgba(16, 185, 129, 0.18);
|
||||
--aksrt-orange-soft:rgba(249, 115, 22, 0.18);
|
||||
--aksrt-purple-soft:rgba(139, 92, 246, 0.18);
|
||||
--aksrt-cyan-soft: rgba(6, 182, 212, 0.18);
|
||||
--aksrt-yellow-soft:rgba(234, 179, 8, 0.18);
|
||||
--aksrt-red-soft: rgba(239, 68, 68, 0.18);
|
||||
--aksrt-teal-soft: rgba(20, 184, 166, 0.18);
|
||||
--aksrt-indigo-soft:rgba(99, 102, 241, 0.18);
|
||||
--aksrt-pink-soft: rgba(236, 72, 153, 0.18);
|
||||
--jio-rose-soft: rgba(244, 63, 94, 0.18);
|
||||
--jio-blue-soft: rgba(59, 130, 246, 0.18);
|
||||
--jio-green-soft: rgba(16, 185, 129, 0.18);
|
||||
--jio-orange-soft:rgba(249, 115, 22, 0.18);
|
||||
--jio-purple-soft:rgba(139, 92, 246, 0.18);
|
||||
--jio-cyan-soft: rgba(6, 182, 212, 0.18);
|
||||
--jio-yellow-soft:rgba(234, 179, 8, 0.18);
|
||||
--jio-red-soft: rgba(239, 68, 68, 0.18);
|
||||
--jio-teal-soft: rgba(20, 184, 166, 0.18);
|
||||
--jio-indigo-soft:rgba(99, 102, 241, 0.18);
|
||||
--jio-pink-soft: rgba(236, 72, 153, 0.18);
|
||||
}
|
||||
|
||||
/* Dark mode component refinements */
|
||||
@@ -406,11 +406,11 @@ body.dark-theme .n-dialog {
|
||||
|
||||
html.dark .post-card,
|
||||
html.dark .widget,
|
||||
html.dark .aksrt-theme-box,
|
||||
html.dark .jio-theme-box,
|
||||
html.dark .theme-box,
|
||||
body.dark-theme .post-card,
|
||||
body.dark-theme .widget,
|
||||
body.dark-theme .aksrt-theme-box,
|
||||
body.dark-theme .jio-theme-box,
|
||||
body.dark-theme .theme-box {
|
||||
border-color: transparent;
|
||||
}
|
||||
Reference in new issue
Block a user