registering-fonts-colors

Community

Configure fonts and colors for VS extensions.

Authormadskristensen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Fonts and Colors customization lets VS extension developers expose and manage font and color categories that users can tune on the Tools > Options > Environment > Fonts and Colors page, ensuring extensions display items consistently across themes.

Core Features & Use Cases

  • Define a font and color category by deriving from a base category type (e.g., BaseFontAndColorCategory<T>).
  • Register a fonts-and-colors provider and expose color definitions that users can customize.
  • Read user-selected fonts and colors at runtime via the VS fonts and colors APIs, enabling theme-aware styling of extension UI.
  • Use case: a syntax-highlighting extension exposes per-item colors and fonts that align with the active Visual Studio theme.

Quick Start

Create a font and color category class, register it with your extension’s package, and read the configured fonts and colors at runtime.

Dependency Matrix

Required Modules

None required

Components

Standard package

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: registering-fonts-colors
Download link: https://github.com/madskristensen/vs-agent-plugins/archive/main.zip#registering-fonts-colors

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.