Move it
Frontmatter
Revision
1
Type
feature
Status
done
Assignee
nobody
Estimate
none
Parent
The palette
Labels
item-81

No timestamps and no authors. Git holds both, and the log on the overview is where they are read from.

Attachments (0)

None yet.

Paste a screenshot anywhere on this card with ctrl+v. Up to 10 MB, because everybody who reads this plan clones every byte of it and git keeps a file after it is deleted.

Body

scripts/check.sh refuses a fractional colour triple outside src/UI/Theme.lua and src/Unit/Color.lua: a table constructor of three or four numbers with a fraction in it, and the same shape passed to SetColorTexture, SetTextColor or SetVertexColor. A fraction, not any triple, because SetVertexColor(1, 1, 1) is a reset and SetColorTexture(0, 0, 0, 0.55) is a shadow.

Whatever item 80 leaves is allow-listed by file with a one-line reason each, in the shape the eight rules above it use, and the length of that list is a ceiling in scripts/ratchet.lua. A file that clears its last literal comes off the list in the same commit. Error, not warning: a colour typed at a call site is invisible until two windows are open side by side.

Comments (0)

Nothing said yet.

Tab choose Enter go Esc close