
SideTint – Color-Code Your Admin Menu
v1.0.0Runtime · 2026年11月20日 上架
Right-click any admin sidebar menu item to highlight it with a color, so you find the menus you use most faster. Saved per user.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 98
- 最近更新
- 2026年11月20日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+
贡献者
截图
SideTint lets you color admin menu items in the WordPress dashboard. Highlight the admin menu entries you use every day and organize your WordPress admin sidebar at a glance.
A busy admin sidebar is a wall of gray text. Color-code the items you use most and your eye finds them instantly, which saves a little time on every click.
Right-click a menu item, pick one of nine colors, and it is applied immediately. No settings screen, no page reload, no configuration.
How it works
- Right-click any top-level or submenu item to open a compact palette.
- Or hover an item and click the small dot that appears on its right.
- Pick a color, or choose Remove color to clear it.
- The palette closes on Escape or when you click elsewhere.
Built for real sites
- Works with core menus, WooCommerce, custom post types and any plugin menu. Nothing is hard-coded to a menu name.
- Colors are stored per user, so every account keeps its own sidebar.
- Colors survive navigation because they are rendered server side, not painted in by JavaScript after the page loads.
- Survives every admin color scheme, including Midnight, Ocean and Modern.
- Admin only. Not one byte is loaded on the front end.
Accessibility
- All nine colors were measured against WCAG 2.1 and pass AA (4.5:1) for their label text at rest and on hover. The lowest pair is 5.14:1.
- Every swatch has a text label, and the color currently in use is marked with a checkmark and
aria-pressed. - Keyboard users open the picker with the context menu key, or Shift+F10, on a focused menu link. Arrow keys move between swatches, Escape closes.
- The picker is a labelled dialog and returns focus where it came from.
Security
- Colors can only ever be one of the nine palette slugs. There is no free-text color field, so no CSS can be injected through the picker.
- Every save is nonce-checked and capability-checked, and a user can only write to their own preference.
- Stored values are re-validated on read, so a hand-edited database row cannot widen what reaches the stylesheet.
