Skip to content

0.1.4: identity hue keys, styles-core.css, ratchet rules, endless-animation list - #9

Merged
uzayer merged 1 commit into
mainfrom
gaps-014
Nov 4, 2026
Merged

uzayer merged 1 commit into
mainfrom
gaps-014

Conversation

@uzayer

@uzayer uzayer commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Four gaps desktop hit while adopting 0.1.3, plus the release script.

Identity hues are theme keys. --color-hue-orange read syntax.number and --color-hue-pink read syntax.escape, so in most themes "orange" and "pink" chips came out cyan and teal. The other hues borrowed the ANSI slots, which have the same problem whenever a theme tunes its terminal. The new keys hue.red … hue.pink (in a new "Identity hues" group) derive from the palette hue of the same name, fall back to Atlas's palette, and a theme can override them. The Atlas dark and Mirage palettes had a salmon or orange pink; it is now a pink. The chips change in Atlas, Dracula, Mirage, Monokai, One Dark, Rosé Pine, Tokyo Night and Vesper. The new Tag / EveryTheme story shows all of them.

styles-core.css. This is styles.css without themes.css, for an app that applies themes itself. In the consumer fixture it builds to 133 KB, against 271 KB for styles.css. styles.css is unchanged, and a test keeps the two entries' imports in step.

Ratchet. runRatchet({ rules }) takes consumer rules: an id, a /g pattern, instead, and an optional scope. A scope can name directories or single files such as index.html. A rule with a built-in's id replaces that built-in. transition-all is now a default rule, exported as TRANSITION_ALL_RULE.

Endless animations. @tryatlas/design/animations exports INFINITE_ANIMATIONS:

  • CSS entries give a selector and a steps() count. Globe's ping and live dot and SessionPipeline's 3 s spinner gained data-slots so a selector can reach them.
  • JS loops (the marquee, the globe's turn, the dither field) read --infinite-animation-fps.

A test fails if an endless animation in src/ is missing from the list.

release.sh now also runs from a detached HEAD equal to <remote>/main.

…ransition-all, endless-animation list

- hue.red … hue.pink are theme keys derived from the palette hue of the same
  name; --color-hue-* reads them instead of syntax.number, syntax.escape and
  the ANSI slots. Atlas and Mirage palettes get a real pink.
- styles-core.css: styles.css without the built-in theme blocks.
- runRatchet takes consumer rules with an optional scope; transition-all is a
  default rule, exported as TRANSITION_ALL_RULE.
- @tryatlas/design/animations lists every endless animation; the JS loops
  honour --infinite-animation-fps.
- release.sh accepts a detached HEAD at <remote>/main.
@uzayer
uzayer merged commit 14d26aa into main Nov 4, 2026
1 check passed
@uzayer
uzayer deleted the gaps-014 branch November 4, 2026 10:49
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