summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-15 12:15:24 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-15 12:15:24 +0100
commit83526634d3d06e34130cb49d0c617066f00f1219 (patch)
tree0e2780b56a53b4cab035bfeac060d4cbddd8701e
parent14a65b12e91543ad018af203f5e8d4c40137822a (diff)
downloadthemes-83526634d3d06e34130cb49d0c617066f00f1219.tar.gz
themes-83526634d3d06e34130cb49d0c617066f00f1219.tar.bz2
themes-83526634d3d06e34130cb49d0c617066f00f1219.zip
Register password-show icons in browser; document tango/tango5 copy rule
Add password-show-on and password-show-off to icon_browser.php. Add note to CLAUDE.md that icons used in templates must exist in tango/ (not just tango5/) and must be registered in icon_browser.php. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rw-r--r--CLAUDE.md7
-rwxr-xr-xicon_browser.php2
2 files changed, 9 insertions, 0 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index 5881ae0..760a808 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -70,6 +70,13 @@ Column visibility is controlled by feature flags in `kernel_config` checked in `
The old hardcoded `display_mode != 'edit'` guard in `html.tpl` has been removed — columns now always
follow these flags. All flags off = columns show on all pages including edit pages.
+## Icon sets (tango vs tango5)
+`util/iconsets/tango/` is the default iconset; `tango5/` is a richer superset. The `{biticon}`
+plugin searches the active style first, then falls back to `tango` — it does NOT fall back to
+`tango5`. Any icon used in a template that only exists in `tango5/scalable/` must be copied to
+`tango/scalable/` too, otherwise it silently goes missing on sites using the tango default.
+After copying, add the icon name and purpose to `$iconUsage` in `themes/icon_browser.php`.
+
## Site-specific theme overrides (/etc/webstack/domains)
Each vhosted site has its theme overrides at `/etc/webstack/domains/{site}/themes/{site}/`.
These are symlinked into `bitweaver5/config/themes/{site}` — e.g.:
diff --git a/icon_browser.php b/icon_browser.php
index 0de5f36..808145d 100755
--- a/icon_browser.php
+++ b/icon_browser.php
@@ -80,6 +80,8 @@ $iconUsage = [
"lock" => "Lock / key / permissions",
"emblem-readonly" => "Hidden / read-only",
"emblem-unreadable" => "Visible / show",
+ "password-show-on" => "Show password (toggle reveal)",
+ "password-show-off" => "Hide password (toggle conceal)",
// Users and contacts
"user-desktop" => "User",
"user-home" => "User home",