Skip to content

feat: add WHITE variable and 3-colour cmds() scheme across all platforms#18

Merged
zaccesss merged 1 commit into
mainfrom
feat/v1.0.6-colour-scheme
Jun 5, 2026
Merged

feat: add WHITE variable and 3-colour cmds() scheme across all platforms#18
zaccesss merged 1 commit into
mainfrom
feat/v1.0.6-colour-scheme

Conversation

@zaccesss

@zaccesss zaccesss commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • WHITE colour variable added to mac/topics/02-colours.zsh and linux/topics/02-colours.sh
  • cmds() rewritten on macOS, Linux and Windows with a consistent 3-colour scheme: MAGENTA (bold) for section headers, CYAN for command names, WHITE for descriptions and parenthetical lines. Legend updated on all three platforms.
  • Welcome banner order fixed on macOS and Linux: 🚀 Welcome → ✅ profile loaded → 💻 hostname → 📅 date
  • Coloured output added to gi(), mirror-add and setup-hooks on macOS and Linux (CYAN = progress, GREEN = success, RED = errors)
  • dns-flush on Windows now uses colour-coded output
  • documentation.md: colour variables table added to Loader mechanics; cmds(), gi, mirror-add, setup-hooks entries updated; CAD and Swift platform notes clarified
  • All three platform guides and guides/mirroring.md updated to document the new colour scheme
  • journal/002-colours-and-accessibility.md updated to reflect MAGENTA/CYAN/WHITE scheme

Test plan

  • Source mac/topics/02-colours.zsh and run cmds — confirm MAGENTA headers, CYAN commands, WHITE descriptions
  • Source linux/topics/02-colours.sh and run cmds — same colour check
  • Confirm legend line shows all three colours on both platforms
  • Reload mac zshrc — confirm banner order: Welcome → loaded → hostname → date

- WHITE colour variable added to mac/topics/02-colours.zsh and
  linux/topics/02-colours.sh (\033[0;37m)
- cmds() rewritten on macOS, Linux and Windows with a consistent
  3-colour scheme: MAGENTA (bold) for section headers, CYAN for
  command names, WHITE for descriptions and parenthetical lines.
  Legend line updated on all three platforms to show all three colours.
- Welcome banner order fixed on macOS and Linux: Welcome -> profile
  loaded -> hostname -> date (date always last in YELLOW)
- Coloured output added to gi(), mirror-add and setup-hooks on
  macOS and Linux (CYAN progress, GREEN success, RED errors)
- dns-flush on Windows now uses colour-coded output
- documentation.md: colour variables table added, cmds() and mirroring
  command entries updated, CAD and Swift platform notes clarified
- guides updated (mac, linux, windows, mirroring): WHITE variable and
  3-colour cmds() scheme documented
- journal/002-colours-and-accessibility.md: colour table and cmds()
  description updated to reflect MAGENTA/CYAN/WHITE scheme
@zaccesss zaccesss enabled auto-merge (squash) June 5, 2026 05:34
@zaccesss zaccesss merged commit 15e5959 into main Jun 5, 2026
3 checks passed
@zaccesss zaccesss deleted the feat/v1.0.6-colour-scheme branch June 5, 2026 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant