0.9.1-alpha.35
Alpha@xaui/native@0.9.1-alpha.35
Patch Changes
-
806fa8d:
Skeletondrops itsvariantIt shipped with two — the neutral fill and that fill at half — sold as the two backgrounds a placeholder is drawn on. Measured against every surface, in both modes, the second is less visible than the first everywhere:
surface defaultthe old secondarythe page (light) 1.216 1.100 a defaultCard(light)1.269 1.119 a secondaryCard(light)1.075 1.036 the page (dark) 1.336 1.123 a defaultCard(dark)1.189 1.090 a secondaryCard(dark)1.000 1.000 So it was never the answer to "this block reads as a hole" — the full fill is the more visible of the two on the very surface that claim named. And on a
secondaryCardin dark mode both resolve to that surface's own#27272aand vanish, which is precisely the case the pair existed to cover:defaultandsurfaceSecondaryare the same colour there.A skeleton has to contrast with whatever sits under it, and a fixed token cannot know what that is — two frozen values were never going to cover three surfaces times two modes. The block paints
default, the neutral fill the rest of the library uses for asecondaryButton, andcoloris the way past it: honest about being a raw value rather than a name that promises a system.The recipe keeps a single-entry
variantTokensall the same, becauseresolveTintmaps the roles a variant declares and that mapping is what letscolorland on the block.