Allow displaying field status (error, warning, info) under form fields (#38175)
This commit is contained in:
1 parent
fdbc3c8a16
commit
890b2673fc
31 files changed
+331
-52
No files matched your search
@@ -0,0 +1,29 @@
|
||||
.wrapper {
|
||||
display: flex;
|
||||
align-items: start;
|
||||
gap: 4px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
|
||||
&[data-variant='success'] {
|
||||
color: var(--color-text-success);
|
||||
}
|
||||
|
||||
&[data-variant='warning'] {
|
||||
color: var(--color-text-warning);
|
||||
}
|
||||
|
||||
&[data-variant='error'] {
|
||||
color: var(--color-text-error);
|
||||
}
|
||||
|
||||
&[data-variant='info'] {
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
Reference in new issue
Block a user