Theme doctor: advice on imported themes, never a block

themeDoctor(theme) names the lighter mechanism for what a theme's CSS does
(radius, bevel, hiding, literal colors, fonts), its performance costs (:has,
universal selectors, blur, size) and accessibility costs (outline removed,
unguarded motion, small post text, moved navigation), plus contrast fixes.
Theme import adds the count and the first hint to its message. Tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
CRTkafa 2026-10-01 04:56:33 +07:00
parent cd9917aad3
commit 7e7105b54c
5 changed files with 107 additions and 1 deletions

View file

@ -25,6 +25,7 @@ export const PANEL_MESSAGES = {
'wb.appearance.icons.remove': 'Remove {name}',
'wb.appearance.icons.removed': 'Removed the icon pack “{name}”.',
'wb.appearance.icons.imported': 'Imported icon packs',
'wb.appearance.doctorHints': '{count, plural, one {The theme doctor has a hint:} other {The theme doctor has # hints, the first:}} {hint}',
'wb.appearance.icons.site': 'The site\'s own icons',
'wb.appearance.accountTheme': 'Account theme · {name}',
'wb.appearance.accountsHint': 'Every pane of an account shows its theme unless the pane has its own.',