Add static-icon class for disabling icon color changes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@utility input-outlined-error {
|
||||
@apply text-danger-600 border-danger-600;
|
||||
svg[class~=iconify] path {
|
||||
svg[class~=iconify]:not(.static-icon) path {
|
||||
@apply stroke-danger-600;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
@utility input-outlined-disabled {
|
||||
@apply text-slate-300 border-slate-200;
|
||||
svg[class~=iconify] path {
|
||||
svg[class~=iconify]:not(.static-icon) path {
|
||||
@apply stroke-slate-300;
|
||||
}
|
||||
}
|
||||
@@ -28,7 +28,7 @@
|
||||
&:focus-within {
|
||||
@apply border-black text-black;
|
||||
|
||||
svg[class~=iconify] path {
|
||||
svg[class~=iconify]:not(.static-icon) path {
|
||||
@apply stroke-black;
|
||||
}
|
||||
}
|
||||
@@ -37,7 +37,7 @@
|
||||
@utility input-outlined {
|
||||
@apply text-slate-500 border-slate-200;
|
||||
|
||||
svg[class~=iconify] path {
|
||||
svg[class~=iconify]:not(.static-icon) path {
|
||||
@apply stroke-slate-500;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user