mirror of
https://github.com/picocss/pico.git
synced 2025-02-24 00:39:20 -05:00
feat: Helper text color with aria-invalid
This commit is contained in:
parent
f456cfbf33
commit
477992f869
@ -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…
x
Reference in New Issue
Block a user