Open schaertim opened 1 month ago
@gfellerph add more information
Tokens: post-validation-valid-fg post-validation-invalid-fg
Variant 1:
<p class="validation invalid icon">Error</p>
Variant 2: [type="checkbox"] ~ .validation { // Show icon }
Resolution:
post.validation.error #B200000
post.validation.success #107800
post.validation.font-size 14px
post.validation.text.padding.block.text 6px
post.validation.text.padding.inline.text 2px
post.validation.list.gap.inline 8/6/4px
post.validation.list.padding.block.text 1px
post.validation.list.icon.size 24/22/20px
post.validation.list.icon.padding 0/1/2px
Added this one to the pattern discussion as its connected to the other issue I got
Let's concentrate on the components needed for PPNL:
Tokenised and implemented in some examples. Link for Input Link for Group
It was decided that validation should be implemented separately and reused in all components requiring it. A dedicated token set has to be provided first.
Design
https://www.figma.com/design/JIT5AdGYqv6bDRpfBPV8XR/Foundations-%26-Components-Next-Level?node-id=577-14513&t=uKEtTo9BEaPpKSV5-1
Requirements
aria-describedby
(by the user)