@marigold/theme-rui@5.5.1
Patch Changes
-
cd9dd4d: fix(DSTSUP-266): render the required-field asterisk via a
ui-required-indicatorutilityThe required indicator (the red
*after a label) was defined inline asafter:content-["*"]. That quoted arbitrary value does not survive JS compilation into an extractable class name (content-["*"]becomescontent-[\"*\"]), so consumers that regenerate Tailwind by scanning the compiled theme packages (the Marigold starter, StackBlitz,@reservix/core) never generated a rule for it and the asterisk was invisible. It kept working in Storybook and the docs because those read the source or the pre-built CSS.The indicator is now a named
ui-required-indicatorutility with its value defined in CSS (ui.css). The class name is quote-free, so it survives compilation and renders regardless of how a consumer builds its styles. -
Updated dependencies [76fca24]
- @marigold/components@17.9.1
- @marigold/system@17.9.1