Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GenericJam/mob
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: GenericJam/mob
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: docs-explicit-argb-colors
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 2 files changed
  • 2 contributors

Commits on Jul 5, 2026

  1. docs: make the 0xAARRGGBB color format explicit (vs CSS hex)

    Color props accept raw colors as 0xAARRGGBB integer literals (alpha first),
    which is easy to get wrong coming from web/CSS habits — coding assistants
    especially default to "#RRGGBB" strings and alpha-last. The theming guide only
    showed one opaque example without spelling out the format.
    
    Add an explicit "Raw colors are 0xAARRGGBB integers, not CSS hex strings"
    section: it's an integer literal not a string, alpha is the FIRST byte (not
    last like CSS #RRGGBBAA), always include the alpha byte (a 6-digit value reads
    as alpha 00 = transparent), and show that the alpha byte is what makes a
    translucent/frosted panel composable from primitives. Cross-link it from the
    components prop-value reference.
    
    Docs-only.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
    GenericJam and claude committed Jul 5, 2026
    Configuration menu
    Copy the full SHA
    0e0981e View commit details
    Browse the repository at this point in the history
Loading