Commit 105c737
feat(palette): MiOS unified color palette -- Hokusai + operator neutrals
Adds the canonical MiOS color palette as a user-defined SSOT in
mios.toml [colors] (defaults to the just-defined globals), applied
across every console / terminal / oh-my-posh / configurator surface.
Palette sources:
Operator neutrals: #1A407F deep-blue #E0E0E0 silver
#B7C9D7 pale blue-grey #948E8E warm grey
#734F39 brown
Hokusai "Great Wave": #3E7765 wave-green #E7DFD3 foam-cream
#F35C15 sunset-orange #DC271B coral-red
#282262 deep-indigo
Combined: 12 named tokens (bg, fg, accent, cursor, success,
warning, error, info, muted, subtle, earth, silver) + 16 ANSI
slot mappings (ansi_0_black through ansi_15_bright_white).
Files:
usr/share/mios/mios.toml [colors] block (vendor SSOT)
etc/profile.d/mios-colors.sh OSC-4 / OSC-10 / OSC-11 / OSC-12
emitter (every interactive shell
repaints to MiOS palette via xterm
escape sequences). Skipped on
TERM=linux (tty0 has its own
vconsole.conf palette) and on
non-interactive shells.
usr/share/mios/oh-my-posh/ Rich two-line prompt + right-aligned
mios.omp.json dev language rollup. MiOS-owned
segments (shell/path/git/exec/
status/os/time) recolored to MiOS
palette; language-version segments
(Node/Python/Go/Rust/.NET/kubectl/
AWS) keep brand colors so green-
Node / yellow-Python etc. stay
instantly recognizable.
usr/share/mios/configurator/ [colors] fieldset added with
index.html <input type="color"> pickers for
every named + ANSI slot. Defaults
populate from COLOR_DEFAULTS when no
existing mios.toml override has
loaded. Two preset buttons:
"Reset to MiOS defaults" and
"Pure Hokusai (no neutrals)".
emitToml section order updated to
place [colors] right after [desktop].
Operator workflow:
1. Open the configurator (Epiphany on MiOS-DEV via WSLg, or default
browser fallback).
2. Edit color pickers under the new "colors" fieldset.
3. Save -> writes mios.toml [colors] override at
~/Downloads/mios.toml (dev VM) or %APPDATA%\MiOS\mios.toml
(Windows fallback browser).
4. Next interactive shell -> /etc/profile.d/mios-colors.sh emits
the OSC sequences -> terminal repaints.
5. PowerShell on Windows host gets the same palette via the
Install-WindowsBranding-staged %APPDATA%\MiOS\mios.omp.json.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 649ef00 commit 105c737
4 files changed
Lines changed: 455 additions & 70 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
171 | 203 | | |
172 | 204 | | |
173 | 205 | | |
| |||
242 | 274 | | |
243 | 275 | | |
244 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
245 | 348 | | |
246 | 349 | | |
247 | 350 | | |
| |||
364 | 467 | | |
365 | 468 | | |
366 | 469 | | |
367 | | - | |
| 470 | + | |
| 471 | + | |
368 | 472 | | |
369 | 473 | | |
370 | 474 | | |
| |||
450 | 554 | | |
451 | 555 | | |
452 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
453 | 560 | | |
454 | 561 | | |
455 | 562 | | |
| |||
477 | 584 | | |
478 | 585 | | |
479 | 586 | | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
480 | 645 | | |
481 | 646 | | |
482 | 647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
241 | 293 | | |
242 | 294 | | |
243 | 295 | | |
| |||
0 commit comments