mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 19:26:14 -04:00
feat: Helper text color with aria-invalid
This commit is contained in:
parent
f456cfbf33
commit
477992f869
1 changed files with 10 additions and 0 deletions
|
@ -370,6 +370,16 @@
|
|||
margin-bottom: var(#{$✨}spacing);
|
||||
color: var(#{$✨}muted-color);
|
||||
}
|
||||
&[aria-invalid="false"] {
|
||||
+ small {
|
||||
color: var(#{$✨}ins-color);
|
||||
}
|
||||
}
|
||||
&[aria-invalid="true"] {
|
||||
+ small {
|
||||
color: var(#{$✨}del-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Styles for Input inside a label
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue