mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
chore(FE-91): make warning step icon glow
This commit is contained in:
@@ -24,7 +24,14 @@ const StepItem = ({ children, icon, className, color }: StepItemProps) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<li className={cn(stepItemBaseClassName, className)}>
|
<li className={cn(stepItemBaseClassName, className)}>
|
||||||
<span className='step-icon'>{icon}</span>
|
<span
|
||||||
|
className={cn('step-icon', {
|
||||||
|
'transition-shadow shadow-[0_0_10px_2px_var(--color-warning)] hover:shadow-[0_0_15px_5px_var(--color-warning)]':
|
||||||
|
color === 'warning',
|
||||||
|
})}
|
||||||
|
>
|
||||||
|
{icon}
|
||||||
|
</span>
|
||||||
|
|
||||||
<div>{children}</div>
|
<div>{children}</div>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user