[Glitch] Allow displaying field status (error, warning, info) under form fields
Port 890b2673fc to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
3afb58ad18
commit
8ec882df0c
30 files changed
+330
-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