canopy-colour-foundation

Apply Canopy colour tokens and WCAG contrast rules to Angular projects.

23|46|Updated Sep 7, 2020
One-click install
npx skills add https://github.com/Legal-and-General/canopy --skill canopy-colour-foundation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: canopy-colour-foundation
Source: https://github.com/Legal-and-General/canopy/tree/main/skills/best-practice/colour-foundation
Command: npx skills add https://github.com/Legal-and-General/canopy --skill canopy-colour-foundation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Establishes a cohesive, accessible colour system for Canopy by codifying palette rules, tokens, and usage guidelines to prevent inconsistencies and accessibility issues.

Core Features & Use Cases

  • Colour Principles: defines token-driven tokens and rules for consistent brand usage.
  • Colour Modes & Tonal Themes: prescribes blue as default mode with safe alternates and tones for hierarchy and readability.
  • Status & Accessibility: aligns status colours with icons and enforces WCAG-based contrast standards.

Quick Start

Import Canopy colour tokens into your project to begin using the foundation.

Frequently Asked Questions about canopy-colour-foundation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply accessible colour design tokens to an Angular project?

To apply accessible colour design tokens in an Angular project, import the Canopy colour foundation. This enforces WCAG contrast compliance and ensures consistent, token-driven brand colour usage across your UI components.

What is the default colour mode for the Canopy design system?

The default colour mode for the Canopy design system is blue. It prescribes safe alternate modes and tonal themes to establish visual hierarchy and readability while maintaining brand standards across your application.

How do I ensure my UI status colours meet WCAG contrast guidelines?

To ensure UI status colours meet WCAG contrast guidelines, use the Canopy colour foundation. It aligns status colours with icons and enforces WCAG-based contrast standards to prevent accessibility issues in your product.

Can I use this colour foundation for a branding migration in a component library?

Yes, you can use this colour foundation for branding migrations in component libraries. It codifies palette rules and token-driven usage guidelines to establish a cohesive, accessible colour system across product UIs.

Do I need Canopy design system tokens to enforce accessible colour usage?

Yes, you need Canopy design system tokens to enforce accessible colour usage. The foundation requires these tokens to define colour roles and tones properly while adhering to WCAG contrast guidelines.

Why does my colour palette fail WCAG contrast compliance during design migrations?

Your colour palette may fail WCAG contrast compliance during migrations due to uncodified colour rules. Using a token-driven foundation aligns status colours and enforces contrast standards to prevent inconsistencies.