aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/theme-coloring-guide.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-19 00:40:30 -0500
committerCraig Jennings <c@cjennings.net>2026-06-19 00:40:30 -0500
commit2d1a39bfa92c3ae28b0906e909f9b7b68069d13f (patch)
tree00284d26a69ec994728959cd238fd78485044978 /scripts/theme-studio/theme-coloring-guide.org
parentf185aa6eec256e59ea4c226638876135555203ff (diff)
downloaddotemacs-2d1a39bfa92c3ae28b0906e909f9b7b68069d13f.tar.gz
dotemacs-2d1a39bfa92c3ae28b0906e909f9b7b68069d13f.zip
refactor(theme-studio): polish the expander (underline inside, dynamic colspan, nd flag)
Three cleanups to the per-row expander from 3B-2. The underline control moves from the in-row style cell into the expander, next to overline. The row keeps weight, slant, and strike inline, so the style cell drops from three wrapped rows to two and the table reads flatter. mkExpander no longer hardcodes each table's colspan. tableColCount reads the column count from the table's header, so a detail row spans correctly even if a column is added later. A collapsed expander now flags itself when it hides an attribute that differs from the face's default, so a non-default value is never invisible. overflowNonDefault (app-core.js, unit-tested) compares the expander's attributes against the default. The toggle re-checks after every edit and gets the gold marker when any differ. faceBoxNonDefaults drops underline from the in-row style box in the same move, since underline is now the expander's concern. The #expandtest gate covers the underline control in its new home, its wavy write, and the flag appearing then clearing. Full suite green: Python 59, Node 201, ERT 41, plus the browser hash gates.
Diffstat (limited to 'scripts/theme-studio/theme-coloring-guide.org')
0 files changed, 0 insertions, 0 deletions