- Issue created by @samalander
- 🇨🇦Canada samalander
I moved the required-indicator from markup to styles in the form-element and fieldset components of the issue branch so that the #states core API can modify it.
I used the Claro method as a model because it lets us use a Bootstrap variable for the indicator's color.
I had to add .css files to the components. The existing .scss files are ignored by the single directory components functionality when rendering the component in a starterkit-created theme. They also do not get preprocessed by npm when processing the child theme.
I had a discussion with doxigo → on Slack (in the #radix channel starting 2024-06-26) about that. There are multiple ways to go. I chose to just add the matching .css files as that was the simplest way to get it working for this issue.
Another issue should probably be created to find the best solution for the whole theme and apply it. (For example, the alert component has code in its .scss file that is currently not used.)
- Merge request !104Issue #3456054: Field-required indicators need to be pure CSS rather than markup → (Merged) created by samalander
Hey thanks a lot for the work. Can you check the MR again and fix the merge issues?
- Status changed to Needs work
4 months ago 11:55am 26 August 2024 Hey thanks a lot for the work. Can you check the MR again and fix the merge issues?
-
doxigo →
committed ac676876 on 6.0.x authored by
samalander →
Issue #3456054: Field-required indicators need to be pure CSS rather...
-
doxigo →
committed ac676876 on 6.0.x authored by
samalander →
- Status changed to Fixed
4 months ago 6:33am 27 August 2024 I went on and updated the MR, thanks a lot, will check this a bit further
Automatically closed - issue fixed for 2 weeks with no activity.