Shadow

From Legal-and-General/canopy · View interactive version

Shadow is an AI agent skill from the GitHub repository Legal-and-General/canopy. Removal notice for the Canopy Shadow directive. Trigger whenever lgShadow, LgShadowDirective, hasHoverState, or related imports appear in an Angular project using Canopy.

How to use this skill

Skill file

Canopy Shadow Directive — REMOVED

LgShadowDirective was removed from Canopy's public API in v30 as part of brand modernisation.

Any code that still references it will fail at compile time.


What to Remove

Remove the following imports:

// Remove:
import { LgShadowDirective } from '@legal-and-general/canopy';

Remove any lgShadow directive attributes from your templates:

<!-- Remove: -->
<div [lgShadow]="true"></div>
<div [lgShadow]="true" [hasHoverState]="true"></div>

Don't

  1. Don't use lgShadow in new feature work.
  2. Don't add LgShadowDirective to any new standalone component's imports array.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.