What problem does it solve? Styling VS Code workbench widgets without hardcoded colors, broken focus indicators, or missing high-contrast support leads to inconsistent UI and failed code reviews. This Skill provides the exact patterns for registering theme colors, applying CSS variables, and meeting HC/focus compliance requirements. ## Core Features & Use Cases - Color Registration: Register colors with defaults for all four theme types (light, dark, hcDark, hcLight) using registerColor in colorUtils.ts. - Widget Style Patterns: Apply default widget style objects (defaultButtonStyles, defaultInputBoxStyles, etc.) and override specific colors via factory functions in defaultStyles.ts. - Focus & High-Contrast Compliance: Implement focus indicators with var(--vscode-focusBorder), focus trapping for modal dialogs, and HC-specific overrides using contrastBorder and .hc-black/.hc-light selectors. - Use Case: When adding a new custom widget to the workbench, use this Skill to register its background and border colors, wire CSS variables into its stylesheet, and ensure it renders correctly in high-contrast themes without hardcoded hex values. ## Quick Start Ask the AI to register a new theme color for a custom widget and style it with proper focus indicators and high-contrast support.