Icon packs are the owner's pick: the theme choice carries it, Appearance offers it

- ThemeChoice gains an optional icons field (absent: follow the theme's pack; site: the site's
  own icons; else a pack id), validated natively as a slug (waybetter-host theme.rs, with a
  test) and kept by per-theme choices; variants is an override group natively too.
- Appearance: an Icons row (Follow the theme / the site's own icons / the site's packs) when the
  site lists packs; English words in the catalog.
- The chrome's glyphs follow the owner's pick as well as the theme's suggestion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
CRTkafa 2026-10-01 04:19:55 +07:00
parent e88339bda6
commit 8a0ab6d3a1
8 changed files with 50 additions and 12 deletions

View file

@ -7,6 +7,10 @@ export const PANEL_MESSAGES = {
'wb.appearance.accent': 'Accent',
'wb.appearance.accentColor': 'Accent color',
'wb.appearance.accentHint': 'Links, the active tab, focus rings and filled buttons.',
'wb.appearance.icons': 'Icons',
'wb.appearance.iconsHint': 'The icons of the site and of this window. A theme may suggest a pack; your pick wins.',
'wb.appearance.icons.theme': 'Follow the theme',
'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.',
'wb.appearance.appTheme': 'App theme · {name}',