Design & Frontend ✓ Microsoft · Official vscode-themingcolor-tokenscss-variableswidget-stylingfocus-indicatorshigh-contrast

VS Code Theme and Accessibility Styling

Build consistent, focus-visible, high-contrast VS Code interfaces with theme tokens.

FollowSkills review · FSRS-2.0
Not recommended
51/ 100 5-point scale 2.6 / 5
Trust18 / 25 · 3.6/5

The skill provides guidance only for theming and accessibility styling, with no network, credential, destructive, or external side effects, so its scope is low privilege. It does not specify user confirmation, rollback, data-flow disclosure, or dependency-security handling, so it is not full marks.

Reliability7 / 20 · 1.8/5

The sections and examples are broadly coherent across color registration, CSS, widgets, focus, and high-contrast paths. However, there are no skill-specific tests, failure diagnostics, or edge-input validation, and the rule that borders must use variables is in tension with hardcoded 1px examples; static calibration limits this to 7.

Adaptability9 / 15 · 3.0/5

The name, description, and intended scenarios are clear for color registration, widget styling, focus indicators, and high-contrast themes. Non-fit boundaries, input/output contracts, negative triggers, Chinese-language support, and mainland-China environment fit are not documented, so points are deducted.

Convention8 / 15 · 2.7/5

The document has readable sections, tables, examples, and key-file references; repository context supplies MIT licensing and Microsoft maintenance/update provenance. The skill itself lacks versioning, changelog, dependency/install notes, FAQs, explicit limitations, and a clear maintenance path, and it depends on an unavailable ux-css-layout skill.

Effectiveness6 / 15 · 2.0/5

The color-registration, CSS-variable, widget-style, focus-trapping, and high-contrast examples are directly useful for the core task. They are not shown to compile or produce verified results, and some rules conflict with examples, so manual review remains necessary and the score stays below the static ceiling.

Verifiability3 / 10 · 1.5/5

Specific source files, color identifiers, and API names make parts of the guidance auditable. There is no skill-specific test suite, CI evidence, or third-party reproduction, and the supplied workflows do not directly cover this skill’s key paths, so evidence is limited.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e
Before you use it
  • The document prohibits hardcoded border widths, yet several examples still use 1px; verify the actual design-token and source conventions before implementation.
  • The skill depends on ux-css-layout and auto-injected instructions that were not supplied, so size, spacing, radius, and font guidance may not be independently actionable.
  • No skill-specific test evidence is provided for high-contrast behavior, focus trapping, or color registration; validate these paths across target components and supported themes.
See the full review method →

What it does & when to use it

This is the single Agent Skill defined by .github/skills/ux-theming/SKILL.md in the microsoft/vscode repository. It focuses on VS Code theme colors, CSS custom properties, widget styling, focus indicators, and high-contrast support. It guides developers toward the relevant TypeScript and CSS files, theme tokens, focus behavior, and high-contrast overrides. It is a good fit for changes to VS Code workbench or widget appearance where theme consistency and accessibility compliance matter.

Guides an agent through relevant source files including src/vs/platform/theme/common/colorUtils.ts, the color category files, src/vs/platform/theme/browser/defaultStyles.ts, and src/vs/workbench/browser/media/style.css; demonstrates registering light, dark, hcDark, and hcLight defaults with registerColor(); specifies use of --vscode-* custom properties and colorUtils.ts conversion helpers in CSS; describes default widget style objects and override factories for buttons, inputs, lists, menus, and other controls; and gives rules for focusBorder focus styling, modal focus cycling, high-contrast borders, and replacing hardcoded visual values.

  1. A VS Code frontend developer adds a workbench widget and needs registered background, foreground, and border colors across light, dark, and high-contrast themes.
  2. A maintainer updates button, input, list, menu, or find-widget styling and wants to preserve the existing default style and theme-token patterns.
  3. An accessibility engineer reviews a component that must use focusBorder, support programmatic focus indication, and retain visible borders in high-contrast mode.
  4. A code reviewer finds hardcoded colors, shadows, radii, or font values in CSS and needs them replaced with VS Code design tokens or CSS variables.

Pros & cons

Pros
  • Covers the main theming tasks: color registration, CSS variables, default widget styles, focus indicators, and high-contrast themes.
  • Provides concrete source paths, code examples, and token names for implementation in the VS Code codebase.
  • Requires all four theme defaults and explicitly discourages hardcoded colors, shadows, and borders.
  • The open-source repository uses the MIT license.
Limitations
  • Its scope is only ux-theming; it does not provide the capabilities of the repository's other 60 skills.
  • The source provides no standalone installation command, scripts, test suite, or automated validation steps.
  • The guidance is tied to VS Code internal source paths and theme tokens rather than being a general-purpose web design-system guide.
  • The source does not document runtime environments or platform validation beyond the repository context.

How to install

The Skill is located at https://github.com/microsoft/vscode in .github/skills/ux-theming/SKILL.md. The source does not provide a separate installation command; use requires making the directory containing this file available to an Agent Skills-compatible client. The repository as a whole is licensed under MIT.

How to use

In a workspace containing the VS Code source, invoke it with a request such as: "Register complete VS Code theme colors for this new widget, use the default widget styles, and check focus and high-contrast support." The agent should use the SKILL.md rules to inspect the listed source paths and apply --vscode-* variables, focusBorder, contrastBorder, and high-contrast selectors. The source does not specify a dedicated command, script, or automated validation workflow.

FAQ

Does this Skill require additional dependencies?
The source lists no Node.js, Python, Docker, MCP service, or other dedicated dependency, and provides no separate installation command. It does require access to a workspace where the VS Code source files can be inspected and modified.
Will it run tests or commit code automatically?
That cannot be concluded from the source. SKILL.md contains implementation and review guidance, but no scripts, test commands, or commit operations.
Which themes and accessibility requirements does it cover?
It explicitly covers light, dark, hcDark, and hcLight themes, and specifies focusBorder, contrastBorder, activeContrastBorder, and high-contrast selectors for focus and high-contrast behavior.
What is the main adoption limitation?
The main limitation is its dependence on VS Code's internal file paths and theme tokens. Its usefulness should be evaluated separately for tasks outside VS Code internal UI theming.

More skills from this repository

All from microsoft/vscode

Dev & Engineering ✓ Microsoft · Official

Tool Rename Compatibility Check

Protect existing prompts and tool configurations when built-in tools are renamed.

Dev & Engineering ✓ Microsoft · Official

Copilot Chat OpenTelemetry Instrumentation

A repository-specific guide for consistent OpenTelemetry instrumentation in Copilot Chat.

Dev & Engineering ✓ Microsoft · Official

VS Code Configuration Policy Maintainer

Standardize VS Code policy registration, export, and validation.

Design & Frontend ✓ Microsoft · Official

VS Code Design Philosophy

Turn vague UI discomfort into concrete fixes using shared values, principles, and design moves.

Dev & Engineering ✓ Microsoft · Official

Agent Host E2E Test Assistant

Maintain VS Code Agent Host end-to-end tests with strict replay fixtures.

Dev & Engineering ✓ Microsoft · Official

VS Code Integrated Browser Architecture

A practical architecture guide for safely changing VS Code's cross-process integrated browser.

Dev & Engineering ✓ Microsoft · Official

VS Code Agents Window Sessions

Safely implement and repair VS Code Agents window features.

Dev & Engineering ✓ Microsoft · Official

Commit Assistant

Creates repository-style commit messages and safely commits code changes.

Dev & Engineering ✓ Microsoft · Official

Agent Host Log Investigator

Trace session, transport, and host failures in Agent Host debug exports.

Dev & Engineering ✓ Microsoft · Official

VS Code Unit Test Runner

Run VS Code repository unit tests by file, test name, or compiled-output glob.

Dev & Engineering ✓ Microsoft · Official

VS Code Agent Customization Assistant

Create, repair, and troubleshoot VS Code Agent customization files and their loading behavior.

Dev & Engineering ✓ Microsoft · Official

Code OSS Launch & Debug

Launch a built-from-source VS Code with isolated profiles, Playwright control, and multi-process debugging ports.

Dev & Engineering ✓ Microsoft · Official

VS Code Accessibility Development Guide

A practical specification for accessible interactive features in VS Code.

Design & Frontend ✓ Microsoft · Official

VS Code CSS Layout Standards

Build reliable VS Code-style CSS layouts and text truncation behavior

Dev & Engineering ✓ Microsoft · Official

VS Code Chat Performance Lab

Benchmark chat rendering and detect memory growth across VS Code builds.

Dev & Engineering ✓ Microsoft · Official

Component Fixtures for Screenshot Testing

Create stable, theme-aware VS Code component fixtures for isolated screenshot testing.

Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Assistant

Run, filter, and debug VS Code end-to-end smoke tests.

Dev & Engineering ✓ Microsoft · Official

VS Code Crash Dump Symbolicator

Turn native VS Code crash dumps into readable backtraces with method names.

Dev & Engineering ✓ Microsoft · Official

Local VS Code Web Workbench

Validate VS Code workbench and Agents window changes in a local vscode.dev instance.

Dev & Engineering ✓ Microsoft · Official

Feedback Action

Reads current-session feedback and applies the requested code changes.

Related skills